wp.jochen.hayek.name/blog-en

NFS UID mapping without NIS – how to achieve that? is NFS weaker there than AFS and Samba?

My (reduced) I.T. landscape:

True, I am not using NIS.

True, my server and my client don’t have the same values for corresponding users (UIDs). Should I better “chown -R …” the respective users’ directory trees on the NAS in order to achieve the proper UID mapping?!?

My NFS server does not accept “root=…”.

Is making brute force use of “anonuid=…” on the server side (mapping all accesses from outside to a single user w/o further proper authentication) the only (and admittedly unappropriate) way to achieve my goal then? Yes, I do have an idea of what anonuid should be used for.

AFS and Samba seem to be able to deal with user accounts, that do not have the same UIDs on both sides – how to deal with that in the NFS context w/o NIS?!?

Update 2015-01-26: Simply use the relevant NAS users’ UIDs also on the NFS clients. Get rid of all explicit UID squashing and mapping.

Exit mobile version