s3:is_trusted_domain: shortcut if domain name == global_sam_name
commitb9ec2da1d16401a5abb30d826784fc35c2d27852
authorMichael Adam <obnox@samba.org>
Sat, 14 Nov 2009 00:21:42 +0000 (14 01:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 15 Feb 2010 13:46:54 +0000 (15 14:46 +0100)
tree4a0b3c05fbdfa18a0bb1f76bc73ea65aa4091885
parent07019c30adff0c17e6169aed474fc2978d5392d3
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
(cherry picked from commit dc3a90cf21813526854c12db126d08ebf32f8ae5)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit c48405ed0ab0e3c3a0c1472e3bf874a4a64c0261)
source3/auth/auth_util.c