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
