s3:is_trusted_domain: shortcut if domain name is NULL or empty
commit07019c30adff0c17e6169aed474fc2978d5392d3
authorMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 00:12:22 +0000 (14 01:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Feb 2010 13:46:54 +0000 (15 14:46 +0100)
treecce4692ee8c73466371a325f6fd9430c4c7137ee
parent17ef5e9d21eb0873e9b4ac8c05429efc1f0bf957
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>
(cherry picked from commit 85d8565e8c5a290698d0f0599f851dc0bee50245)
source3/auth/auth_util.c