UNIX PASSWD SYNC/changing password on NT workstation

Ari ari at snafu.de
Fri Aug 20 20:42:03 GMT 1999


Lisa Becktold wrote:
> I am trying "unix passwd sync" on the server that is the NIS master and
> the Samba PDC, as unix passwd changes cannot take place on an NIS slave.
>
> passwd program = /usr/bin/passwd %u
> passwd chat = *New password* %n\n *Re-enter new password* %n\n *NIS
> 	passwd/attributes changed on*

I've a similar setup here, samba pdc and nis master on the same machine
with "unix password sync = yes". The settings that work for me are
  passwd program = /usr/sbin/passwd %u ; true
  passwd chat    = *New*password* %n\n *new*password* %n\n *passw*d*d*on*

The unusual passwd program line is to mask the exit status from passwd, 
bacause it returns 1 on successfully updating a nis password. All error 
detecting is done by the chat.
I don't know if this is the same on other systems. The machine here runs
on FreeBSD.

HTH
 Ari



More information about the samba-ntdom mailing list