couldn't find wps
Steve Langasek
vorlon at netexpress.net
Sat Jan 8 22:42:05 GMT 2000
On Sun, 9 Jan 2000, Richard Meglino wrote:
> Jan 8 11:46:31 bucka PAM_pwdb[18444]: authentication failure; (uid=0) ->
> smbuser for samba service
> However, I am using the correct password for smbuser and I have executed
> successfully the command:
> cat /etc/passwd | mksmbpasswd.sh > /etc/passwd
> is there another password file that should exsist?
Um. I hope the above commandline was miscopied. If not, you've just
overwritten your system password file with Samba-specific password data.
You'll need to recover your original /etc/passwd file, or your system will
likely be completely unusable after you log out.
The mksmbpasswd.sh script is for making an *SMB* password file, which is a
separate file on the system (with a location configurable via the 'smb passwd
file' directive in smb.conf).
Also, making the smbpasswd file isn't enough to let you use encrypted
passwords; you also have to populate the file with actual encrypted passwords.
The smbpasswd command should help you with this.
-Steve Langasek
postmodern programmer
More information about the samba-technical
mailing list