s3:is_trusted_domain: shortcut if domain name is NULL or empty
commit85d8565e8c5a290698d0f0599f851dc0bee50245
authorMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 00:12:22 +0000 (14 01:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 11 Feb 2010 11:02:46 +0000 (11 12:02 +0100)
tree90d7cb435dc8624cda8e23e1baef861b21d03125
parent91e40dfde99b08158b809590c44c22b503403157
s3:is_trusted_domain: shortcut if domain name is NULL or empty

This saves some roundtrips to LDAP in an ldapsm setup.

Michael
(cherry picked from commit 0aa5a60d3033fddd652eb4ea89abdf97db912df3)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/auth/auth_util.c