1829675 Members
9162 Online
109992 Solutions
New Discussion

problem with NIS SERVICE

 
SOLVED
Go to solution
praveen..
Super Advisor

problem with NIS SERVICE

Hi,
i was unable to login using NIS Users, it shows :access denied.

#ypwhich
stilt.mycompany.com
#ping stilt.mycompany.com
64 bytes from 170.118.8.20: icmp_seq=0. time=0. ms
#ypcat passwd
::::::
user's list
:::::


but when i login using NIS server, it asks for password and then it shows : access denied.

now i tried with this:
#/usr/lib/netsvc/yp/ypbind
# ypwhich
NIS domain TIMEHP not bound.

# ypset stilt.mycomany.com
Sorry, ypbind on host warbler has rejected your request.

# ypwhich
ypwhich: can't talk to ypbind on warbler or to an NIS server for domain TIMEHP: RPC: Timed out

now it is not showing the NIS SERVER name while using "ypwhich" command,

please suggest soon
7 REPLIES 7
praveen..
Super Advisor

Re: problem with NIS SERVICE

# /sbin/init.d/Rpcd stop
RPC daemon rpcd stopped

# /sbin/init.d/Rpcd start
starting the DCE RPC Daemon
/opt/dce/sbin/rpcd

# ypset stilt.mycompany.com
Sorry, I couldn't send my rpc message to ypbind on host warbler.

NOTE: stilt.mycompany.com is my NIS SERVER name
please suggest
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: problem with NIS SERVICE

I suspect that you started ypbind on your client w/o the -ypset argument. Normally, if the NIS server and clint are on the same subnet, no ypset command is needed because the server responds to broadcast requests.
Man ypbind, ypset for details.
If it ain't broke, I can fix that.
praveen..
Super Advisor

Re: problem with NIS SERVICE

Hi Stephenson,
you are right,I started ypbind on your client w/o the -ypset argument.
can you please tell me the step by step commands with all the arguments, what to do now.

I will be very thankful to you.
thanks

A. Clay Stephenson
Acclaimed Contributor

Re: problem with NIS SERVICE

I do not reward laziness. The man pages will guide you.
If it ain't broke, I can fix that.
praveen..
Super Advisor

Re: problem with NIS SERVICE

Hi stephonson,
I am ready to read the man pages,
but just for confirmation, i want to cross check with you, please help me now,
i will be thankful to you.
praveen..
Super Advisor

Re: problem with NIS SERVICE

please suggest...
Darrel Louis
Honored Contributor

Re: problem with NIS SERVICE

Praveen,

Maybe you can use SAM instead, it will modify your /etc/rc.config.d/namedsrv file with the correct options.

Also if you do a search on the HP site you'll find a couple of documents which will describe the steps to follow.

http://docs.hp.com/en/5991-1153/ch04s05.html


Darrel