yppasswd fails on 5.1 box

Martin Blapp mb at imp.ch
Thu Nov 6 08:27:54 PST 2003


hi,

>Yppasswd fails on my 5.1 box (has always worked on 4.5 to 5.0) with
>"yppasswd: pam_chauthtok(): error in service module"

5.1 Release or 5.1 CURRENT ? I've fixed several errors since 5.1R so it should
work now in CURRENT.

>There's also a syslog message:
>Nov  4 22:54:54 *** yppasswd: in pam_sm_chauthtok(): yppasswd_local():
>failed to connect to rpc.yppasswdd: ***: RPC: Program not registered
>
>Yet rpcinfo -p shows:
>    100009    1   udp    821  yppasswdd
>    100009    1   tcp   1010  yppasswdd
>

You are missing the following entry (just use rpcinfo without -p)

100009	1	local	/var/run/ypasswdd.sock

Martin


Martin Blapp, <mb at imp.ch> <mbr at FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr at freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------


More information about the freebsd-current mailing list