[Samba] Change user IDs on Samba PDC
Marco De Vitis
starless at spin.it
Sun Mar 4 23:42:57 GMT 2007
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?
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.
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?
--
Ciao,
Marco.
More information about the samba
mailing list