Skip site navigation (1)Skip section navigation (2)
Date:      14 Jun 2003 09:36:50 +0800
From:      "Lin, Tsung Ching" <tclin@iis.sinica.edu.tw>
To:        Dan Nelson <dnelson@allantgroup.com>, freebsd-current@freebsd.org
Subject:   Re: rpc.yppasswdd failed in FreeBSD 5.1
Message-ID:  <1055554610.696.4.camel@tsungching.orangeroad.idv.tw>
In-Reply-To: <20030613200806.GO53468@dan.emsphone.com>
References:  <1055514265.7379.7.camel@tsungching.orangeroad.idv.tw> <20030613200806.GO53468@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
¦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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1055554610.696.4.camel>