Re: yppasswd fails on 5.1 box

From: Martin Blapp <mb_at_imp.ch>
Date: Thu, 6 Nov 2003 17:27:50 +0100 (CET)
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
------------------------------------------------------------------
Received on Thu Nov 06 2003 - 07:27:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:27 UTC