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?

Thanks,
        Kyle

On Tue, Feb 26, 2008 at 12:45 PM, Adam Williams
<[EMAIL PROTECTED]> 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
 >



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to