The user on the client must have the same UID/GID as represented on the server.
Hi,
I have a NFS server and three NFS client machines. when I mount it on client it mounts perfectly with the same username as in server but in one NFS client it mounts with the different username. WHy this happens? How do I mount it with the same username as in server.
The user on the client must have the same UID/GID as represented on the server.
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
ya you are right, the UID of the user is different in both server and client, How do I configure the NFS with username instead of using UID
You can't the easy way would be to assign the user at the troubled client the same UID as on the server, change their files on the client to be owned by the new UID and hope it dosn't inflict with any other users on that client.
The more problematic way would be to change UID of the user on the server aswell as on all the clients that are showing no error to represent the UID on the troubled client.
And the completely stupid way, make a new strategy of what UID every user should have, convert every client/server to follow this new strategy and hope nothing goes wrong with this comprehensive change.
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
Thanks redhead, I have fixed it following your thought. I read in google that the new version of NFS can be configured with username. Do you have any idea regarding.
There is no such thing as configuring with username where the UID differ on teh client/server configuration.
A way to make sure there won't be any conflicting permission is to configure NFS with LDAP, that way every client will have a login server (usualy the same as offering NFS) and it's the UID/GID from that every user will inherit.
Don't worry Ma'am. We're university students, - We know what We're doing.
'Ruiat coelum, fiat voluntas tua.'Datalogi - en livsstil; Intet liv, ingen stil.
Bookmarks