[Ilugc] nfs4 idmapping issue

  • From: knura9@xxxxxxxxx (Arun Khan)
  • Date: Tue, 26 Jul 2011 12:20:26 +0530

On Tue, Jul 26, 2011 at 5:50 AM, Raman.P <raamanp at yahoo.co.in> wrote:

--- On Mon, 25/7/11, km <srikrishnamohan at gmail.com> wrote:


I have mounted? an nfs4 share on the client from a
server with rw
permissions. I am not using any authentication methods for
now.
On the? client side, nfs4 mount,? i am able to
create files and folders
using nautilus which get reflected on the server.
But when I check the user permissions of the file/folder
created on the nfs4
shared partition on the server, I see that it is created
with someother user
on the server.
how do i map usernames on client to server correctly ?
please let me know.
Thanks!
KM

use NIS.


These mappings are possible with user local uid/gid settings but it
can be an administrative nightmare.

You need some kind of a "directory service" that provides global
uid/gid mappings across all machines.

 LDAP is an alternate solution.     openLDAP  support CIFS (aka samba)
integration.

(LDAP has been discussed in this list a few times; check the list archives)

HTH
-- 
Arun Khan
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Other related posts: