ERROR: the 'passwd program' () requires a '%u' parameter.

Associate
Joined
18 Oct 2002
Posts
344
Hi Everyone,

i have set up samba according to this link as a PDC on debian. however when i run testparm i get
Code:
ERROR: the 'passwd program' () requires a '%u' parameter.
outputed to the screen.

this presumeably is because there is no passwd program present in the smb.conf, because the author "Replaced 'passwd program' and 'passwd chat' settings with 'pam password change = yes'"

is there any harm in not having a passwd program line present?
one user is unable to log in on certain workstations, could this have anything to do with it?

thanks :)
 
Associate
Joined
18 Oct 2002
Posts
2,261
Location
Kidderminster
Hi

hash out your current passwd chat line and replace with these two:-

passwd program = /usr/bin/passwd %u
passwd chat = *password* %nn *password* %nn *successfully*

and then testparm again hopefully should fix it.

Cheers
Deano
 
Associate
OP
Joined
18 Oct 2002
Posts
344
deano said:
Hi

hash out your current passwd chat line and replace with these two:-

passwd program = /usr/bin/passwd %u
passwd chat = *password* %nn *password* %nn *successfully*

and then testparm again hopefully should fix it.

Cheers
Deano
cool ok, will this still allow users to change their passwords from within windows by ctrl-alt-del (using machines logged onto the domain)??

thanks! :)
 
Back
Top Bottom