[Samba] smbpasswd

Frank Liu fliu at mail.vipstage.com
Wed Mar 5 22:20:37 GMT 2003


samba-2.2.7a and user security.

[root at napalm private]# grep fliu /etc/passwd
fliu:x:504:14::/export/home/fliu:/bin/bash
[root at napalm private]# grep fliu /usr/local/samba/private/users.map
fliu = liuf
[root at napalm private]# grep users.map /usr/local/samba/lib/smb.conf
        username map = /usr/local/samba/private/users.map
[root at napalm private]# /usr/local/samba/bin/smbpasswd -a liuf
New SMB password:
Retype new SMB password:
User liuf does not exist in system password file (usually /etc/passwd). Cannot
add account without a valid local system user.
Failed to modify password entry for user liuf

any ideas why the error?

Frank



More information about the samba mailing list