Jan van Rensburg jan.van.rensburg at
Tue Feb 2 15:21:06 GMT 1999

since the password sync'ing has been brought up again i want to repost
something i posted about 3 weeks ago put have received no replies for. i'd
be really happy if anyone could help me out, since this is straight from the
ntdom faq, but doesn't work.

--jan van rensburg

i'm having problems with the unix password sync in samba2.0.0.
my samba server is a linux box running as a PDC, and the client is an NT4
sp4 workstation. when i press ctrl+alt+del and change my password without
the "unix password sync" enabled everything works fine. 
if however i add this to smb.conf:

        unix password sync = True
	passwd program = /usr/bin/passwd %u
	passwd chat = *password* %n\n *password* %n\n *successfull* 
	passwd chat debug = True

i get an "Error changing password..." message on NT and in log.<machinename>
i get:

[1998/01/13 11:40:49, 0] rpc_server/srv_pipe.c:api_pipe_request(592)
  api_pipe_request: **** MUST CALL become_user() HERE **** 

when i run testparm i get:

ERROR: the 'unix password sync' parameter is set and the 'passwd program'
(/usr/bin/passwd %u) cannot be executed (error was No such file or

when i change:

passwd program = /usr/bin/passwd %u


passwd program = /usr/bin/passwd

the unix password syncing work, except that it changes root's password and
not the samba user's password -  as should be expected, i guess...

--jan van rensburg 

More information about the samba-ntdom mailing list