[Samba] Re: Upgrade from 2.2.8 to 3; users lack SIDs

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 &...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-08-2004
Igor Belyi
 
Posts: n/a
Default [Samba] Re: Upgrade from 2.2.8 to 3; users lack SIDs

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0