On Wed, 5 Mar 2003, Frank Liu wrote:

> samba-2.2.7a and user security.
>
> [EMAIL PROTECTED] private]# grep fliu /etc/passwd
> fliu:x:504:14::/export/home/fliu:/bin/bash
> [EMAIL PROTECTED] private]# grep fliu /usr/local/samba/private/users.map
> fliu = liuf
> [EMAIL PROTECTED] private]# grep users.map /usr/local/samba/lib/smb.conf
>         username map = /usr/local/samba/private/users.map
> [EMAIL PROTECTED] 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?

Yes, of course!

I'll bet that:
        smbpasswd -a fliu
will work just fine. And after you have done this, the user 'liuf' will be
able to access the system from Windows jsut fine also.

smbpasswd is adding the user from /etc/passwd. users.map will only
translate from Windows-land to Unix-land.

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to