[Samba] Re: Change user IDs on Samba PDC

simo idra at samba.org
Tue Mar 6 13:46:10 GMT 2007


On Tue, 2007-03-06 at 09:18 +0100, Marco De Vitis wrote:
> On 06/03/2007 0:35, simo wrote:
> 
> >>> HOWTO (Desktop Profile Management Chapter) about this?
>  >>
> >> No, as far as I can tell this situation is not covered there; it talks 
> >> about migrating profiles from a NT PDC, which is somehow different, and 
> >> I'm missing the pieces to link it all together.
> > 
> > You are missing the fact it is the same thing :-)
> 
> Hi Simo! :)
> 
> Well... maybe it is the same thing conceptually, but surely it is not 
> from a practical point of view, e.g. "On your NT4 domain controller, 
> right-click on My Computer, then select Properties, then the tab labeled 
> User Profiles" hardly suits a Samba PDC ;).
> 
> Moreover, my main purpose is not the migration of profiles from a server 
> to a second one: I just want to "fix" UIDs on a server. I don't even 
> know if some kind of migration will be needed for this, that's why I'm 
> asking.

Ahh, then you should have no problems, we don't save uids/gids in
tdbsam, just the username.
Unfortunately we do save the gid in the group mapping database, so you
must be carefull with mapped groups, but at most you will have to delete
and redo the mapping.

> > Why can't you just keep your original tdbsam/ldap database  of users,
> > alogn with your PDC name and the secrets.tdb file ?
> 
> Can I?
> Are you saying I can change the Linux UIDs, and Samba will continue 
> working without a hitch with the same configuration and user database as 
> before?

Better to do it wtih samba stopped imo.

> This would wipe out all of my doubts, but I don't expect it to be SO 
> easy... is it?

Why not? :-)

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba mailing list