nfs/nis client ownership issue


 
Thread Tools Search this Thread
Operating Systems Solaris nfs/nis client ownership issue
# 1  
Old 01-20-2009
nfs/nis client ownership issue

Hi,

I have 2 systems - solaris 10

1 is nfs/nis server while other is nis/nfs client and user directories mounted on the client.

the authentication works fine. but I find out of all users, only 2 users directory is owned by some usernames who are local user on client system.

I checked the UIDs for current local owner and should be owner, they do not match ( UIDs did match earlier so I changed the UID for original user on nis server).

user when logs on to the nis client, correctly gets the home directory but when creates files they are owned by some local user..while the directory and other files in directory is also owned by that local user.

I wonder how can I solve this issue, can somone please help

Thanks
# 2  
Old 01-20-2009
I was able to solve this issue,

I ran following command on solaris 10 client, I wonder what exactly solved this issue thogugh - any guess?

Quote:
svcadm restart nfs/status nfs/nlockmgr nfs/cbd nfs/rquota nfs/server nfs/mapid nfs/client

Quote:
svcadm disable svc:/network/nis/client ; svcadm enable svc:/network/nis/client
and on server :
Quote:
svcadm restart nfs/status nfs/nlockmgr nfs/rquota nfs/cbd nfs/mapid nfs/client nfs/server

Last edited by upengan78; 01-20-2009 at 05:24 PM..
# 3  
Old 01-21-2009
My best guess is that nscd had the old uids cached. If so, you could have just restarted it. Also there is a command to force it to reload just passwd data.

See: nscd(1M) - name service cache daemon
# 4  
Old 01-22-2009
Quote:
Originally Posted by Perderabo
My best guess is that nscd had the old uids cached. If so, you could have just restarted it. Also there is a command to force it to reload just passwd data.

See: nscd(1M) - name service cache daemon
Thanks for your views Perderabo, I will keep this in mind and try next time when I will have the same ownership issue.

Smiliegood day
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies

2. AIX

AIX NFS Server and NFS Client

Hi 2 ALL, try to run NFS Server in AIX 7.1 : 1. Step by step on NFS Server node mkdir /tmp/test chgrp staff /tmp/test chmod 775 /tmp/test-- create export directory (fs) mknfsexp -d /tmp/test -t ro exportfs -va show mount -e :/# exportfs -av exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies

3. UNIX for Dummies Questions & Answers

Help with NIS client

Hi All, I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory. ... (3 Replies)
Discussion started by: samnyc
3 Replies

4. Solaris

Solaris 9 as a nfs client -- centos as a nfs server.

Hello, I have a centos as nfs server, its name is centos_A. After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/* But, My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies

5. Solaris

NIS - Client Not loggin in

Friends n Gurus I am creating an NIS farm(Solaris only) in my office. I have successfully configured the NIS master and slave servers and a few NIS clients. However i am not able to log into a few of my NIS clients. The commands "ypcat passwd" is displaying the NIS user. However when i try to... (5 Replies)
Discussion started by: Renjesh
5 Replies

6. Solaris

How to configure a NIS client bound to the NIS server in another subnet?

Hi, all. I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client, 1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01 2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies

7. UNIX for Advanced & Expert Users

NFS and NIS reserved ports

Does anyone know how to assign rpc ports to NFS or NIS processes on Solaris please ? Thanks, Michael Chnader (0 Replies)
Discussion started by: mchnaider
0 Replies

8. AIX

Use AIX as NIS client

Hi everyone. Has anyone here used AIX as a NIS client to a Linux server? If have configured this setup and cant get it to work. I have verifyed that the NIS server is working since other machines are able to connect to it and users to log in on other clients. On the AIX machine the users are... (0 Replies)
Discussion started by: sprellari
0 Replies

9. Solaris

Integration of NIS and NFS

Hi, we have to setup a NFS and NIS in our company , we have engineering group located on its own subnet ( 40 sparc based system running solaris8 ) and the Sales group located on its own subnet( 30 sparc based system running solaris8 ). We have to locate both the NIS and NFS Server in... (4 Replies)
Discussion started by: Far
4 Replies

10. UNIX for Dummies Questions & Answers

NIS/NFS

Oreilly puts out a book on NIS/NFS this book was last updated in 1992. Has NIS/NFS change since then? Should I be looking at a better resource? Thanks (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
Login or Register to Ask a Question