s3:is_trusted_domain: shortcut if domain name == global_sam_name
commit2e3d9abeafebffa6ff1c7b3de80525cd5f6deb49
authorMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 00:21:42 +0000 (14 01:21 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 00:28:57 +0000 (14 01:28 +0100)
treeeb307840a6290e98ff1eb38d662445b46ac70541
parent144c23893ec580eed1a38b2fd577b4bd4ebf491d
s3:is_trusted_domain: shortcut if domain name == global_sam_name

A domain can't have a trust with itself.
This saves some roundtrips to the ldap server for ldapsam.

Michael
source3/auth/auth_util.c