LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   smbpasswd is pissing me off. Need help (https://www.linuxquestions.org/questions/linux-networking-3/smbpasswd-is-pissing-me-off-need-help-22956/)

JoeLinux 06-08-2002 10:46 PM

smbpasswd is pissing me off. Need help
 
Arg. In smb.cfg, I have my encrypted passwords file at /opt/samba/lib/smbpasswds. I go to /opt/samba/bin/smbpasswd, type in "Jimmy" as the user, give it a new password twice, and attempt to make an encrypted samba user. But it says the passdb database cannot be found, so it fails to edit my smbpasswds file. Therefore nobody can login to my Samba share. I need help on this! My friend needs his data back!!

RWallett 06-08-2002 11:04 PM

smbpasswd
 
Have you added the user yet? When you first create a user password with smbuser, you need to use the -a option like so:

smbpasswd -a Jimmy

Then, enter the password twice, etc. like you have described and it should work.

:Pengy:

JoeLinux 06-09-2002 12:04 AM

Thanks! I'll try that tomorrow!


All times are GMT -5. The time now is 04:10 PM.