s3:is_trusted_domain: shortcut if domain name == global_sam_name
authorMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 00:21:42 +0000 (01:21 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 07:49:00 +0000 (08:49 +0100)
commitdc3a90cf21813526854c12db126d08ebf32f8ae5
tree88351b8b14a35d7da7895e39b96febf57ceedb67
parent0aa5a60d3033fddd652eb4ea89abdf97db912df3
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