Date: Fri, 26 Jun 2009 16:59:29 -0600 (MDT) From: Barkley Vowk <bvowk@math.ualberta.ca> To: hackers@freebsd.org Subject: rpc.yppasswdd fails in 7.2? Message-ID: <alpine.BSF.2.00.0906261648070.95627@3jane.math.ualberta.ca>
next in thread | raw e-mail | index | archive | help
I've got a 7.2 box acting as NIS master, running rpc.yppasswdd. When remote users try to change their passwords they see: testing1# passwd mytest Changing NIS password for mytest Old Password: New Password: Retype New Password: passwd: pam_chauthtok(): error in service module On the server I get this in the logs: rpc.yppasswdd[36858]: pw_mkdb() failed I tracked the error message down to line 620 of yppasswdd_server.c, which lead me to libutil/pw_util.c. It looks like waitpid in mk_pwdb is returning the error "No child processes", which then makes mk_pwdb return an error. But the child does run and do it's job as expected. If you edit yppasswdd_server.c to ignore the return value of mk_pwdb, passwords are changed as expected.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0906261648070.95627>