[PATCH] Remove 'local sid' fetch from 'net getdomainsid' when we are DC

Andrew Bartlett abartlet at samba.org
Thu Nov 10 02:20:12 MST 2011

A number of users of Samba4 have been running 'net getdomainsid' to
verify their Samba3 -> Samba4 upgrade.

Along with changes to interpret the samba4 'server role' parameter, I
need this change.  It ensures we only look for the domain SID when we
already know we are a DC.

However, this changes the UI, and I just want to double-check that it is
OK before submitting it to autobuild.  There is an alternative (running
'net getlocalsid mydomain'), but our users seem to run 'net


Andrew Bartlett
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-net-Do-not-look-for-a-local-SID-when-we-are-a-DC.patch
Type: text/x-patch
Size: 1492 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20111110/62dfda0d/attachment.bin>

More information about the samba-technical mailing list