Michael Billerbeck
2005-Dec-05 15:21 UTC
[Samba] net getlocalsid and net getlocalsid <domain>
Hi, does the output of the two commands really mean that the server FILESERVER is not in the domain?: # net getlocalsid SID for domain FILESERVER is: S-1-5-21-4161338278-3756552359-245403906 # net getlocalsid <domainname> SID for domain <domainname> is: S-1-5-21-2018781741-1218349122-1862352094 Is there another method to check if a server is in a domain? Can I use 'net rpc testjoin' to see if the join to the above domain is valid? Thanks.
Gerald (Jerry) Carter
2005-Dec-14 13:19 UTC
[Samba] net getlocalsid and net getlocalsid <domain>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 5 Dec 2005, Michael Billerbeck wrote:> does the output of the two commands really mean that the server FILESERVER > is not in the domain?: > > # net getlocalsid > SID for domain FILESERVER is: S-1-5-21-4161338278-3756552359-245403906 > # net getlocalsid <domainname> > SID for domain <domainname> is: S-1-5-21-2018781741-1218349122-1862352094The local machine SID is always different than the domain SID on members servers.> Is there another method to check if a server is in a domain? Can I use > 'net rpc testjoin' to see if the join to the above domain is valid?Yes, you can use with 'net rpc testjoin' or wbinfo -t. cheers, jerry ====================================================================Alleviating the pain of Windows(tm) ------- http://www.samba.org Centeris ----------- http://www.centeris.com "There's an anonymous coward in all of us." --anonymous -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFDoBufIR7qMdg1EfYRAlqFAJ91NS8XpHPNESCwYRqFAokjIzAPWwCg3AQh 0c8Ohovh+Gcg+qLPD5+06ow=xgOo -----END PGP SIGNATURE-----