[Samba] what is the SID of the domain administrator?
Tomasz Chmielewski
mangoo at wpkg.org
Wed Nov 16 15:42:43 GMT 2005
Paul Gienger schrieb:
>>Does the domain administrator SID always end with -1000?
>
> It should never be 1000
>
> Please review
> http://support.microsoft.com/default.aspx?scid=kb;en-us;243330
Well, for me it's -1000 for two different Samba domains. Coincidence?
>>How can I get the SID number for any given user?
>
> You could divine the SID if you know the UID and the RID calculation,
> presuming that samba has generated all of your user SIDs. Otherwise, if
> you're using LDAP you could either look in the LDAP object or use
> smbldap-usershow. If not, you can use pdbedit -L -v <username> which should
> give you all of the windows related info.
smbldap-usershow was what I was looking for! :)
--
Tomek
http://wpkg.org
WPKG - software deployment and upgrades with Samba
More information about the samba
mailing list