[Samba] passwd chat debug

Christopher Odenbach odenbach at hni.upb.de
Tue Jul 15 06:30:52 GMT 2003


> isn't it possible to set up a NIS machine (which is my Samba PDC and
> not the NIS master) to sync the passwords?
> While debugging the passwd chat, I saw it asks the root passwd...

When a windows user changes his password, the samba server only gets 
the new password, not the old one. So you need a mechanism that is able 
to change user's password without having the old one.

NIS is only able to do this on the NIS master, not on a slave server or 
even a client: even root will be asked for the old password there.

So if you absolutely want this, you'll have to invent some mechanism 
that transports the new password to the NIS master (securely please).


    Dipl.-Ing. Christopher Odenbach
    HNI Rechnerbetrieb
    odenbach at uni-paderborn.de
    Tel.: +49 5251 60 6215

More information about the samba mailing list