[Samba] unix password sync doesn't update smbpasswd file!
Mac
dmccann at nibsc.ac.uk
Tue Feb 26 12:02:03 GMT 2002
I know, I know, not always good form to follow up one's own posts....
>To: samba at samba.org
>From: Mac <dmccann at nibsc.ac.uk>
>Subject: [Samba] unix password sync doesn't update smbpasswd file!
>Date: Tue, 26 Feb 2002 16:53:36 +0000 (GMT)
>
>Having worked through debugging my 'chat script', I now have
>the following situation:-
>
>When unix password sync = yes
> smbpasswd works, but only the UNIX password is changed
>
>When unix password sync = no
> smbpasswd works, and only the encrypted password is changed.
>
>
>Moreover, in the first case, smbpasswd takes (at least) 22 seconds to
>return the prompt, but in the second, only 2-3 seconds.
Right. The 20 seconds appears to be 'smbpasswd's built in time out
(discovered by running it with -D 100) and nothing to do with the
server-side timing out
In fact, the child process on the server side is still running! (and in
a 'ttywait' state), and so the smbd that forked it (the one created
when smbpasswd connected) is still around too. Moreover the child
won't die, even with kill -9. Killing the parent (-15) takes them both
out.
>
>Could it be a 'passwd chat' issue? Mine is currently:-
> *new*password %n\n *new*password %n\n *updating*database
Typo in original message. There _is_ a '*' on the end of my chat
string.
Thanks to all who've already responded.
Mac
Assistant Systems Adminstrator @nibsc.ac.uk
dmccann at nibsc.ac.uk
Work: +44 1707 654753 x285 Everything else: +44 7956 237670 (anytime)
More information about the samba
mailing list