Re: rpc.yppasswdd failed in FreeBSD 5.1

From: Lin, Tsung Ching <tclin_at_iis.sinica.edu.tw>
Date: 14 Jun 2003 09:36:50 +0800
¦b ??, 2003-06-14 04:08, Dan Nelson ¼g¹D¡G
> In the last episode (Jun 13), Lin, Tsung Ching said:
> > hello, 
> > I setup a NIS Master in FreeBSD 5.1 release, and it works.
> > I also startup rpc.yppasswdd.
> > When I wnat to change a user's passwd using yppasswd, it failed.
> > 
> > root# passwd testuser
> > Changing NIS password for testuser
> > Old Password:
> > New Password:
> > Retype New Password:
> > passwd: pam_chauthtok(): error in service module
> > Jun 13 22:22:24 abcb passwd: in pam_sm_chauthtok(): yppasswd_local(): failed to connect to rpc.yppasswdd: xxxx.xxx.xxx.xxx: RPC: Program not registered
> 
> Does it work if you run from another NIS client machine?

yes, i did. But it still not worked.

by the way, I am sure rpc.yppasswd had registered to rpcbind.

root# rpcinfo -p abcb
   program vers proto   port
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100000    4     7    111  portmapper
    100000    3     7    111  portmapper
    100000    2     7    111  portmapper
    100004    1   udp   1021  ypserv
    100004    2   udp   1021  ypserv
    100004    1   tcp   1023  ypserv
    100004    2   tcp   1023  ypserv
    100007    2   udp   1020  ypbind
    100007    2   tcp   1022  ypbind
    100009    1   udp   1014  yppasswdd
    100009    1   tcp   1020  yppasswdd
 600100009    1   udp   1014
 600100009    1   tcp   1020
    100003    2   udp   2049  nfs
    100005    1   udp   1011  mountd
    100005    3   udp   1011  mountd
    100005    1   tcp   1019  mountd
    100005    3   tcp   1019  mountd
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100024    1   udp   1008  status
    100024    1   tcp   1016  status
    100021    0   udp   1007  nlockmgr
    100021    1   udp   1007  nlockmgr
    100021    3   udp   1007  nlockmgr
    100021    4   udp   1007  nlockmgr
    100021    0   tcp   1015  nlockmgr
    100021    1   tcp   1015  nlockmgr
    100021    3   tcp   1015  nlockmgr
    100021    4   tcp   1015  nlockmgr
Received on Fri Jun 13 2003 - 16:37:05 UTC

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