Operating System - HP-UX
1833105 Members
3138 Online
110051 Solutions
New Discussion

NFS problem: windows server -- hpux 11.00 client

 
Unix Administrator_5
Frequent Advisor

NFS problem: windows server -- hpux 11.00 client

Whenever we try to mount a directory served from a windows platform, we get ownership rights of nobody:nogroup.

Is there anyway to have these files come across with the ownership of a particular user on the client side.

For example, if we have a user that owns filea on the serever, is it possible to have it show up as the corresponding user on the client.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: NFS problem: windows server -- hpux 11.00 client

I've run into some issues where the numeric user id or group id in the /etc/passwd and /etc/group files on the two systems is out of synch.

That can lead to the system at one end or the other denying access when you would think there should be no problem.

Compare the id command for the user at both sides of the transaction.

You probably want to create a user id on the windows box that is the same as the user id on the unix side.

Some kind of ldap integration and central authenticaion can also deal with this, but its a lot of work.

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
A. Clay Stephenson
Acclaimed Contributor

Re: NFS problem: windows server -- hpux 11.00 client

Different PC NFS server packages deal with this in different ways. Some are able to use NIS while other have a table that maps UNIX names/UID's/GID's to their Windows counterparts. Without knowing which NFS Server you are running, it's difficult to answer.
If it ain't broke, I can fix that.
Tim Sanko
Trusted Contributor

Re: NFS problem: windows server -- hpux 11.00 client

I just want to mention that for ~ $99.00 you can get SFU for Windows. It makes the machine act like it has UNIX on it.

It may be much easier to deal with the integration issues with this on the machine...

Tim
doug mielke
Respected Contributor

Re: NFS problem: windows server -- hpux 11.00 client

on our unix to unix nfs mounts we have the ownerships match the user/group ID's of the server.

You could, I suppose, try having the client side user ID match the user / group 'nobody'
(-2?)

Just a thought, and would need testing to ensure no conflict with 'nobody'
Unix Administrator_5
Frequent Advisor

Re: NFS problem: windows server -- hpux 11.00 client

As most alluded to, it was a descrepency between the uid/gid on both systems. We tried several PC NFS Server packages including omni NFS and Pro NFS. However, the one we found that worked for us was Hummingbirds Maestro NFS Server.
It would properly map users/groups from PC side to HP-UX side. Seems to pretty well.