This is a discussion on [Samba] Re: Upgrade from 2.2.8 to 3; users lack SIDs within the Samba forums, part of the Networking and Network Related category; Chris St. Pierre wrote: > Is there any way to algorithmically convert a unix uid to an sid? I'd &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Chris St. Pierre wrote:
> Is there any way to algorithmically convert a unix uid to an sid? I'd > like to just run a script through all of my users to grab the uid, > convert to an rid, prepend my system sid, and write it to the sambaSID > attribute. User's RID = Base RID + 2 * UID Group's RID = Base RID + 2 * GID + 1 By default 'Base RID' is 1000, but can be defined in sambaDomain entry as sambaAlgorithmicRidBase field or in smb.conf as "algorithmic rid base" parameter. Hope it helps, Igor -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba |