[Samba] Adding a machine account to Samba PCD + LDAP?
awilliam at mdah.state.ms.us
Fri Feb 29 20:31:07 GMT 2008
yes it needs to follow the (uid * 2) + 1000 format. yes I know mine is
wrong, its a test lab system, I don't care.
Kyle Schmitt wrote:
> 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?
> 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:
>> 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