[Samba] NT4 Migration -> Samba 3.0.2a + LDAP

Andrew Bartlett abartlet at samba.org
Sat Feb 14 12:17:36 GMT 2004

On Sat, 2004-02-14 at 20:18, Pirkka Luukkonen wrote:
> Hi!
> How can I maintain users old NT RIDs while migrating to Samba PDC when they
> start from 1000. The RID to UID conversion algorithm is RID = 2 * UID + 1000
> so the user with RID of 1000 would be root (0 * 2 + 1000 = 1000) on Unix.
> Maintaining the old RIDs is essential for migrating on-the-fly, because
> re-adding hundreds of computers to domain and losing local user profiles is
> not an option.

Samba will first try to match names to SIDs via getpwnam().  

If you are concerned by the algorithmic assignment of SIDs conflicting
with the NT4 sids, then you might want to use 'algorithmic rid base =
<large number>' to 'push' the algorithmic RIDs higher.

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040214/e703a7e2/attachment.bin

More information about the samba mailing list