[Samba] Adding a machine account to Samba PCD + LDAP?

Adam Williams awilliam at mdah.state.ms.us
Tue Feb 26 18:45:04 GMT 2008


figure out your sid (net getdomainsid)

then take the posix UID of the user, multiply it by 2, then add 1000.

for example, the RID in my test lab for user with UID 503 is:

S-1-5-21-2139886109-2393431639-217723040-2006


Kyle Schmitt wrote:
> Sadique,
>            Thanks.  That got me where I need I think.  Now, to pester
> further, how does one determine a users sid if one were to manually
> generate an ldif to add samba users to ldap?
>
> In the meanwhile I'm digging through the docs, but to little avail.
>
> Thanks,
>          Kyle
>   



More information about the samba mailing list