Fix bug in previous global_sam_sid() commit. I broke the 'read from
authorAndrew Bartlett <abartlet@samba.org>
Wed, 25 Feb 2004 23:12:29 +0000 (23:12 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 25 Feb 2004 23:12:29 +0000 (23:12 +0000)
commit9e2a098a0abed616d2db4fba2847083b7e118f3f
tree0d7ce193f5bdf9ca73c39fe5c4d8bcf9d7b3b50f
parent56bd63b1cde5e1bde8f88b0c6a06f1131f1dac13
Fix bug in previous global_sam_sid() commit.  I broke the 'read from
MACHINE.SID' file functionality.

Also, before we print out the results of 'net getlocalsid' and 'net
getdomainsid', ensure we have tried to read that file, or have
generated one.

Andrew Bartlett
(This used to be commit 191b43159e7358541be9a3deac8c447885145442)
source3/passdb/machine_sid.c
source3/utils/net.c