[Samba] username change

TAKAHASHI Motonobu monyo at monyo.com
Wed Feb 9 07:59:45 MST 2011


2011/2/9 Jochen Eggemann <Jochen.Eggemann at 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 <monyo at samba.gr.jp>


More information about the samba mailing list