[Samba] Change user IDs on Samba PDC

Felipe Augusto van de Wiel felipe at paranacidade.org.br
Mon Mar 5 13:23:40 GMT 2007

Hash: SHA1

On 03/04/2007 08:42 PM, Marco De Vitis wrote:
> Hi,
> I've got a Samba 3.0.24 Debian server which I'm currently moving to a
> new hardware. It uses tdbsam as password backend.
> So, while looking at configuration files, I was thinking: is there a way
> I could change the Unix UIDs for some users, without breaking anything?

	That's a little bit of a "hard guess". Windows can be an
wild environment, and profiles can be even wilder. :-)

> The problem is that, since migrating from a different Linux distribution
> a long time ago, I still have some UIDs and GIDs which do not follow the
> related Debian policy
> (http://www.debian.org/doc/debian-policy/ch-opersys.html), i.e. they are
> well below 1000 (from 500 and up for UIDs, but as low as 200 for GIDs).
> I would be happy if I could simply change the user IDs (or delete and
> create the Linux users again), fix file ownerships where needed, and
> then run Samba with no other change.
> On the other hand, if this is really impossible, I suppose I can live
> with it...
> Any info? Thanks.

	AFAICT, when you change the uid you will need to change the
sambaSID and that would break the profile. You can definetely migrate
the profiles (but sorry, I can't give you much info, since I never
migrate user profiles).

> PS: actually, I suppose I could simple delete both Linux and Samba users
> and create them again, as long as I know their passwords or inform the
> "human" users that they have to enter a new password... but what happens
> to their roaming profiles? Are they completely lost? Can't I reuse them
> by just changing file ownerships?

	There is a great chance that with new sid the workstation
will create a new profile, isn't anything in the Samba Official
HOWTO (Desktop Profile Management Chapter) about this?

	Kind regards,

- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/           Phone: (+55 41 3350 3300)
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba mailing list