unix password sync

David Krovich dkrovich at wvu.edu
Wed Jul 7 17:55:08 GMT 1999


	I'm having some problems with the unix password sync option.
I'm running Samba 2.0.4b on Solaris 2.5.1

	Here are the relavent lines from my smb.conf:

---
unix password sync = true

passwd program = /bin/nispasswd %u

# when run as root, nispasswd doesn't prompt you for the old password
passwd chat = *pass* %n\n  *pass* %n\n *changed*

passwd chat debug = True
---

	Here is what happens when I try to change my password:

---
Old SMB password:
New SMB password:
Retype new SMB password:
machine 127.0.0.1 rejected the password change: Error was : The specified password is invalid.
Failed to change password for dkrovich
---

	And here is output from the log:
---
[1999/07/07 13:48:38, 0] smbd/chgpasswd.c:check_oem_password(698)
  check_oem_password: incorrect password length (-409412817).
---

	Any ideas?    If I take the unix password sync option out of smb.conf 
smbpasswd works fine and changes the smbpasswd file. 

	(BTW I do have 127. in my hosts allow)

-----------------------------------------
David Krovich
West Virginia University
Manager/Information Systems
Computer Science & Electrical Engineering
-----------------------------------------



More information about the samba-ntdom mailing list