i have recently install rh9 on a box in the lab and tried to integrate it into the nis domain with a master server running rh7.3.

i have
)set the domainname
)checked that the portmapper was running
)added the master server to /etc/hosts
)modified /etc/yp.conf accordingly to use the server name defined in hosts
)started ypbind
at this point ypwhich returns-
'can't yp_bind: Reason: Domain not bound'
so i try 'rpcinfo -p localhost' and get
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100007 2 udp 636 ypbind
100007 1 udp 636 ypbind
100007 2 tcp 639 ypbind
100007 1 tcp 639 ypbind

this looks right, right? next i tried 'service ypbind restart'
[EMAIL PROTECTED] root]# service ypbind restart
Shutting down NIS services: [ OK ]
Binding to the NIS domain: [ OK ]
Listening for an NIS domain server.................... [FAILED]

one strange thing is that i can bind to the master in broadcast-mode by stopping ypbind and then restarting it 'ypbind -broadcast'. ypwhich returns the proper hostname and ypcat works as well. but- and this is truly puzzling- i cannot su to any user in the nis maps.

[EMAIL PROTECTED] root]# su user23490
do_ypcall: clnt_call: RPC: Timed out
su: user user23490 does not exist

also, when i reboot in broadcast mode, system performance grinds to a halt and i still cannot login as any nis defined user. i am very confused. have i missed something crucial? please help me stop banging my head on the counter... many tia.


Reply via email to