Migrating Domain from TNG to 2.2.2: A cautionary tale
Jeremy Allison
jra at samba.org
Thu Nov 29 11:02:04 GMT 2001
On Thu, Nov 29, 2001 at 05:13:39PM +0000, Tom Crummey wrote:
> Hello,
>
> We recently undertook to migrate our domain from samba-TNG to samba-2.2.2.
> However, it did not go smoothly. One of the main reasons is that even
> if you start 2.2.2 with the domain SID from the TNG installation, you
> find that the users' RIDs are different. This is because samba-TNG
> calculates the RID from the unix UID using the formula UID*4 + 1000
> where as 2.2.2 uses UID*2 +1000.
>
> At this point you have two choices:
>
> 1) Re-implement your domain
> 2) modify the samba-2.2.2 source code to make it calculate the RIDs in
> the same way as samba-TNG.
>
> Eventually we decided option 2 was the better for now as we have 700
> users and 150 Win2k systems.
>
> It really would have been nice if the two samba camps could have
> co-ordinated on this, unless there are other reasons for the difference
> that I don't know about.
That Samba code hasn't changed since I wrote it several
year ago. I didn't know the TNG branch had changed that
calculation, sorry.
Jeremy.
More information about the samba
mailing list