What's /etc/nsswitch.conf on the client? Is the client running ypbind? Do the NIS domains match? Are they on the same network (within broadcast range)?

LNPB

02-09-2013 12:21 AM

unable to login as nis user in client system

Ya, everything is perfect, its in the same network, it matches nisdomain name, ypwhich also good and there is no issue with mount too.
plz observe one thing here,when listing the mounted home dir in client.

In the above listing the OWNER & GROUP columns of some Users are displaying their uid & gid instead of names, i was unable to login those users only, but in the last line of the above listing, for the User "tstnis" it is showing name in the OWNER & GROUP column,i have no problem for this user to login in all clients..

And when i tried ypcat passwd in the client system, it is showing only the "tstnis" user.

thank u

linosaurusroot

02-09-2013 02:13 AM

Is pwck ok on the master? Can tstnis change his password on the client?

LNPB

02-11-2013 12:42 AM

Hey, i solved the issue by reinstalling nis server, now on clinet the list of mounted home dir is as below

See, here the OWNER & GROUP columns are changed to names (instead of IDs), so the problem got resolved.
But still i have a doubt. why the USER is unable to login with the UIDs that are exactly matching with the created ones?

And ya when tring to change the password in client i am getting the following error

i was unable to change nis user passwords on client. if tried with just passwd im getting error "passwd: Failed preliminary check by password service", when tried to change the password using yppasswd username "yppasswd: yppasswdd not running on NIS master host ("web.chinni.com").", but yppasswdd is running on server.

Plz help me the complete procedure of Users Password change on client machines.

Is there any firewalling involved? I'd suggest "strace yppasswd username" and "tcpdump" as the next steps.

LNPB

02-20-2013 03:24 AM

No Firewall is involved, i have stopped the iptables services then only im was connected to nis server. The strace command is not working in my Cent OS 5. Im getting this err bash: strace: command not found