[Samba] Adding a machine account to Samba PCD + LDAP?
Kyle Schmitt
kyleaschmitt at gmail.com
Thu Feb 28 15:53:22 GMT 2008
Adam, thanks a ton for that. To further my curiosity, do you know if
that last set of numbers (the 2006 calculated to 1000+(503*2) ) just
needs to be unique, or if it needs to follow that pattern?
Thanks,
Kyle
On Tue, Feb 26, 2008 at 12:45 PM, Adam Williams
<awilliam at mdah.state.ms.us> wrote:
> 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