s3-net Do not look for a local SID when we are a DC
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Nov 2011 08:57:05 +0000 (19:57 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Nov 2011 23:34:09 +0000 (00:34 +0100)
commit87bbe1be5f79107cb96227510588f222b7061c92
tree411ebbf1cd1289dd64f8ae9ea53f9c9eb2fe24d0
parentcd23028ed05feaace335fb96247cfe344a776c71
s3-net Do not look for a local SID when we are a DC

If we are actually a DC, then the only SID we have is the domain SID,
and looking for it under the local name fails if we are a Samba4 AD DC.

Andrew Bartlett
source3/utils/net.c