passwd sync failures.
Kevin Tomasek
nevikintx at yahoo.com
Fri Feb 2 07:25:18 GMT 2001
i am trying to get the password sync functions to work.. i have
searched the mailing lists and have yet found one like this. a couple
similar but with no replies.
assumptions:
-- the password sync function is only to sync the unix and the samba
passwords.. the windows password in not touched as i have not set the
security to 'domain' only to 'user'.
-- the samba server does not have to be the nis server.
-- the password server need not be specified.
-- both passwd program and passwd chat must be included for this to
operate correctly.
-- the passwd chat is trying to predict the response from the normal
unix passwd function.
the configuration is ..
[global]
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *login*password %o \n *new*password* %n\n
*new*password* %n\n *changed*
passwd chat debug = yes
the smbpasswd produces the expected response.. i enter the old and the
new passwords and the response is as follows..
machine 127.0.0.1 rejected the password change: Error was : The
specified password is invalid.
Failed to change password for kevint
i have attempted this many times so i am pretty sure i have entered the
new password correctly twice at least once. i have changed the password
dramatically as the unix password requires it.
a couple of things bother me.. first the 127.0.0.1 section, refering to
this machine, the samba server.. shouldn't it refer to the regular unix
nis server??
which password is invalid?? the original one, or the new one?? the unix
one or the samba one??
the password chat debug seems to be pretty much of a waste, as the only
characters that have any meaning sequence is the user name as it appears
once. IPC appears a couple of times.
the last entry in the log file is ..
[2001/02/01 22:50:11, 0] smbd/chgpasswd.c:check_oem_password(693)
check_oem_password: incorrect password length (671461655).
and i don't believe it as the new password entered is 9 characters and i
have checked it with the regular passwd to make sure that it is happy
with the attempted new password.
what am i missing??
thanks..
--
---
Kevin Tomasek
replace XXXXintx with nevikintx
More information about the samba
mailing list