s3:is_trusted_domain: shortcut if domain name is NULL or empty
authorMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 00:12:22 +0000 (01:12 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:56 +0000 (11:40 +0100)
commita44a8d6315b1ff5eec5879289e311841c4413f6e
tree8972918bdc22743d00a01db7c90b6af358d9950e
parent346b50625d04cf91dccace8cef2c7621a7442138
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)
source3/auth/auth_util.c