I'm not sure, but it could have something to do with your "passwd
chat"
directive. Ours looks like this:
passwd chat = *ew\spassword* %n\n *enter* %n\n *assword\schanged*
Since our samba server runs with root privelege, it doesn't ask us for
the old password when we run the passwd program. So, the
"old*password"
stuff would break it on our server.
Bob
Marcel Kunath wrote:>
> I still can't get passwd sync to work. I log in a normal user in win98
and try
> 'change windows password' which it does but it doesn't change
the unix passwd.
>
> There isn't even any entries in the logs that a passwd change was
called....and
> the /etc/smbpasswd file was not changed either.
>
> smb.conf:
>
> [global]
> {cut}
> guest account = nobody
> security = user
> encrypt passwords = yes
> smb passwd file = /etc/smbpasswd
> {cut}
> unix password sync = yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *old*password* %o\n *new*password* %n\n \
> *new*password* %n\n *changed*
> username map = /etc/smb.usermap
> browseable = no
> config file = /etc/smb.conf.%U
>
> smb.conf.nobody:
>
> [global]
> {cut}
> guest account = nobody
> security = user
> encrypt passwords = yes
> smb passwd file = /etc/smbpasswd
> {cut}
> ;unix password sync = yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *old*password* %o\n *new*password* %n\n \
> *new*password* %n\n *changed*
> username map = /etc/smb.usermap
> browseable = no
> ;config file = /etc/smb.conf.%U
>
> --
> Marcel Kunath
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
>
> Montie House Network Greater Lansing Linux Users Group
> http://www.montiehouse.com http://www.gllug.org
>
> *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
--
Saint Joseph's College -- bobd@saintjoe.edu | http://www.saintjoe.edu
-----------------------------------------------------------------------
Administrative Computing Center, Bob Dusek... 219-866-6371
I have never let my schooling interfere with my education.
-- Mark Twain