[Samba] Forcing RIDs to desired value
Radek Svoboda
svoboda at neovision.cz
Fri Sep 3 17:45:19 GMT 2004
On Fri, 3 Sep 2004, Matthias Spork wrote:
> Radek Svoboda schrieb:
>
>> I found that after moving my samba server to different hardware (and
>> diferent Linux installation), domain logons cannot find their Windows
>> profiles and created new ones. This is caused by the different RID of
>> the users. It seems these are calculated as 2*UID + 1000. And my UID's
>> on new server do not match those on the old one. How to force SAMBA to
>> provide different RIDs for the users? I do not want to run LDAP for
>> our 20 stations and 20 users here.
>>
> Why don't you use your old samba-databases from /var/lib/samba ?
>
> matze
Actually I did. But this copies only SID of the server (stored in
secrets.tdb), not the RIDs. It seems that samba calculates them by the
fixed algorithm as 2*UID+1000. And because I must have different UIDs on
the new system, the profile mapping in Windows does not work.
Best regards
Radek Svoboda
svoboda at neovision.cz
More information about the samba
mailing list