LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   smbpasswd (http://www.linuxquestions.org/questions/linux-networking-3/smbpasswd-111552/)

whaase 11-02-2003 02:27 PM

smbpasswd
 
I've been trying to convert users to have a samba password by doing the following:

smbpasswd USER

then I get this

New SMB password:
Retype new SMB password:
Failed to find entry for user USERX.
Failed to modify password entry for user USERX

What am I not doing right?

Walter

david_ross 11-02-2003 03:18 PM

smbadduser is a wrapper script that makes it easier:
smbadduser unixid:ntid

Mathieu 11-02-2003 03:29 PM

Or you can use the following syntax in order to add a new user and set the password.
Code:

smbpasswd -a username

whaase 11-02-2003 03:48 PM

Got it, thank you.

Walter


All times are GMT -5. The time now is 03:42 PM.