[Samba] Resetting a users real name?

Dag Sverre Seljebotn dagss at student.matnat.uio.no
Thu Nov 10 10:53:27 GMT 2005

I notice that when adding a user with "smbpasswd -a", the GECOS field
in /etc/passwd is used as the real name for a user. This later shows up
in the start menu on Windows XP domain members.

However, it seems like Samba stores the real name somewhere else, as
changes to /etc/passwd isn't reflected. To change the real name, it
seems like it is necesarry to delete and recreate the user.

Is there a more elegant way to handle this? It seems like an obvious
question, but I've searched for some time now (and probably read the
smbpasswd man-page for half an hour...) without finding an answer...

System: Debian sid with /etc/passwd, Debian's build of Samba 3.0.

// Dag Sverre

More information about the samba mailing list