-----BEGIN PGP SIGNED MESSAGE-----
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@paranacidade.org.br>
Coordenadoria de Tecnologia da Informa??o (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF7BncCj65ZxU4gPQRAiBDAJ0UMRw3s7DCNqy83NJebaJ/Vy52UwCfSJz4
WPGYzD9Ofx9MiZulWk90gHg=5DQG
-----END PGP SIGNATURE-----