On Thu, 1 Apr 1999, Herb Lewis wrote:
> Try using the remote password change part and specify the local
> machine.
I think I found the problem.
Why root can not change the system password for another user thru smbd?
This is what is happening. If I login (swat) as root smbd only changes the smb
password. If I login as the user itself everything run smooth! Both
passwords are changed.
Take a look: (non-root user logged in)
[1999/04/01 17:04:37, 3] smbd/chgpasswd.c:chat_with_program(369)
Dochild for user XYZW (uid=0,gid=0)
^^^^^^^^^^^^
passwd invoked as root! Right!
[1999/04/01 17:04:37, 10] smbd/chgpasswd.c:dochild(189)
Invoking '/usr/bin/passwd XYZW' as password change program.
^^^^^^^^^^^^^^^^^^^^^^
"passwd user" correctly called! No "old password"
needed.
But the "old password" must be typed so that smbd verify against
smbpasswd.
[1999/04/01 17:04:38, 100] smbd/chgpasswd.c:talktochild(263)
talktochild: chatbuf=[*changed.*] responsebuf=[
Password changed.
]
[1999/04/01 17:04:38, 3] smbd/chgpasswd.c:chat_with_program(381)
Password change successful for user XYZW
If I repeat with "root" login the passwd program don't even get
called!
It behaves like I set "unix password sync = No".
Any explanation? Is it the expected (normal) behavior?
Ethy H. Brito /"\
InterNexo Ltda. \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML
(012) 341-6860 X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
Sao Jose dos Campos / \