[Samba] username change

2011-02-09 Thread Jochen Eggemann

Hi,

I need to change the unix username on a samba server. How can I change 
the samba username stored in passwd.tdb
It is important not to loose the domain integration. The name of the 
corresponding profile on the windows machine need not change.


When the user information was stored in smbpasswd, I could simply rename 
the user in the file. How do I do that in passwd.tdb?


opensuse 11.3
samba-3.5.6
passdb.tdb

Thanks, Jochen

--
IT-Management
Nordwestdeutsche Forstliche Versuchsanstalt

Grätzelstr. 2
37079 Göttingen
Tel: 0551 69 40 11 64
Fax: 0551 69 40 11 60


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] username change

2011-02-09 Thread TAKAHASHI Motonobu
2011/2/9 Jochen Eggemann jochen.eggem...@nw-fva.de:
 I need to change the unix username on a samba server. How can I change the
 samba username stored in passwd.tdb

Set rename username script = usermod -l '%unew' '%uold'
And net user rename will help you?

Perhaps directly modifying passwd.tdb with tdbtool will be done what you want,
but I have not examined.

---
TAKAHASHI Motonobu mo...@samba.gr.jp
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba