smbpasswd
Carey F. Cox
carey at tabasco.lamar.edu
Fri Apr 30 20:12:08 GMT 1999
I am trying to incorporate encrypted passwords into our server. I
haven't enabled encryption as yet, because I wanted to check to ensure
the users could change their passwords via smbpasswd. However, I keep
getting the following error message when I try to change the password
on the server...
$ smbpasswd -D 3
Old SMB password:
New SMB password:
Retype new SMB password:
Connecting to 127.0.0.1 at port 139
machine 127.0.0.1 rejected the password change: Error was : The specified password is invalid.
Failed to change password for user
I have the following set in my smb.conf...
update encrypted = Yes
smb passwd file = /path-to-smbpasswd/smbpasswd
passwd program = /usr/bin/passwd %u
passwd chat = *current*password* %o\n *ew*password* %n\n *ew*password* %n\n *success*
passwd chat debug = Yes
password level = 1
unix password sync = Yes
I am basing the passwd chat on the dialog from a regular passwd session...
$ passwd
Changing password for user
(current) UNIX password:
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully
I also tried changing the user's password as root, which gave all indication
that it was successful, but did not change the password.
I am doing anything wrong?
Carey
======================================================================
<> Carey F. Cox, PhD | PHONE: (409) 880-8770 <>
<> Assistant Professor | FAX: (409) 880-8121 <>
<> Dept. of Mech. Eng. | EMAIL: carey at tabasco.lamar.edu <>
<> Lamar University | WEB: N/A <>
======================================================================
More information about the samba
mailing list