[Samba] LDAP, uidNumber, SID

Beast beast at i6x.org
Thu Aug 4 12:09:24 GMT 2005


Martin Renner wrote:
> Hi.
> 
> I am upgrading a Samba 2.2 PDC (using smbpasswd as its user backend) to
> Samba 3.0 with LDAP.
> 
> The current user uids and machine account uids are quite messed up. As
> the LDAP database stores the uid *and* the SID of each user and machine
> account, I would like to know if it would be possible to renumber the
> uids (uidNumber of samba.schema). The SID would remain unchanged (by
> using the formula "oldUid * 2 + 1000").
> 
> Is this possible without losing account information or machine trusts?

Yes. SID and unix uid is used for different purpose.


-- 

--beast



More information about the samba mailing list