1832973 Members
2379 Online
110048 Solutions
New Discussion

NIS Client login problem

 

NIS Client login problem

Hi, User ids are created on the master server. Used the make command to push the passwd and group maps. But still the users are not able to login on NIS client.
Few observations:
ypwhich -m gives the desired output with master server name for all maps.
ypcat -m passwd list the newly created id.
I have the below entries in /etc/passwd and group file on NIS client:
+::-2:60001::: in /etc/passwd
+:*:* in /etc/group.
'domainname' command gives the proper domain name.

Still I am not able to login to client machine with the user id.

Pls let me know if you have faced this prob or have a solution to it.

Thanks,Srini
It Has Been...
5 REPLIES 5
MarkSyder
Honored Contributor

Re: NIS Client login problem

What error message? Cannot switch to your home directory?

If so, log in to the server with the home directory and make sure the home directory is in /etc/exports, then run exportfs -av.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing

Re: NIS Client login problem

The user created on master is not able to log into the client server at all. It just says "Login Incorrect". Am I missing something.
thanks,Srini
It Has Been...
Steven E. Protter
Exalted Contributor

Re: NIS Client login problem

Shalom Srini,

Is this from one machine or many machines?

I've had this problem with an old 11.00 NIS server and made it go away with a stop/start of the NIS and related daemons.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: NIS Client login problem

Currently I have just one NIS client and I tried stop/start of NIS on both sever and client. But that did'nt help.

while starting on the client I got this message:
starting NIS CLIENT networking
starting up the rpcbind
rpcbind already started, using pid: 899
domainname pune.ad.infosys.com
starting up the Network Information Service
starting up the ypbind daemon
ypbind will not use the server list available in the file /var/yp/binding/n_name>/ypservers for binding purpose. Also if ypbind is invoked with -broadcast
option, then -broadcast option is ignored.
/usr/lib/netsvc/yp/ypbind -ypset
calling ypset with
Checking NIS binding.
Bound to NIS server using domain pune.ad.infosys.com.
starting up the keyserv daemon
/usr/sbin/keyserv
It Has Been...
Victor Fridyev
Honored Contributor

Re: NIS Client login problem

Hi,

Do you have a NIS entry in /etc/nsswitch.conf ?
BTW, is the user a first NIS user and, if not, do other users have similar problem ?
Additionally please check whether the user ID is unique on the machine.

HTH
Entities are not to be multiplied beyond necessity - RTFM