Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   NFS no traslate UID,GID (http://www.linux-archive.org/fedora-user/686842-nfs-no-traslate-uid-gid.html)

Tiziana Manfroni 07-24-2012 08:05 AM

NFS no traslate UID,GID
 
Hi, I haxe a NFS server with NIS on RHEL6.3. When the client mounts a
directory the system doesn't traslate UID e GID but uses nobody.


On server
The /etc/exports :
/users 192.168.114.101(rw,sync)

/etc/default/nfs-common
NEED_IDMAPD=yes

/etc/idmapd.conf
Domain = domainserver
Nobody-User = nfsnobody
Nobody-Group = nfsnobody
Method = nsswitch

/etc/nsswitch
passwd: files nis
group: files nis

The file /etc/fstab on client is
serverNFS:/users /users nfs4 rw,bg,intr,soft,sec=sys 0 0

but ls -la /users
drwx------ 28 nobody nobody 4096 23 lug 17:24 utente

How can I resolve this problem?

Thanks
Tiziana

__________________________________________________ __
____
/ / Tiziana Manfroni
/ / / Dipartimento di Matematica
/ / / Universita' Roma Tre
/ /_/__ tel : 0657338237
/________ fax : 0657338080
.___________/ e-mail : manfroni@mat.uniroma3.it
__________________________________________________ __
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Bill Davidsen 09-19-2012 03:17 PM

NFS no traslate UID,GID
 
Tiziana Manfroni wrote:

Hi, I haxe a NFS server with NIS on RHEL6.3. When the client mounts a directory
the system doesn't traslate UID e GID but uses nobody.

On server
The /etc/exports :
/users 192.168.114.101(rw,sync)

/etc/default/nfs-common
NEED_IDMAPD=yes

/etc/idmapd.conf
Domain = domainserver
Nobody-User = nfsnobody
Nobody-Group = nfsnobody
Method = nsswitch

/etc/nsswitch
passwd: files nis
group: files nis

The file /etc/fstab on client is
serverNFS:/users /users nfs4 rw,bg,intr,soft,sec=sys 0 0

but ls -la /users
drwx------ 28 nobody nobody 4096 23 lug 17:24 utente

How can I resolve this problem?


I presume you have idmapd running on client and server.


Thanks
Tiziana

__________________________________________________ __
____
/ / Tiziana Manfroni
/ / / Dipartimento di Matematica
/ / / Universita' Roma Tre
/ /_/__ tel : 0657338237
/________ fax : 0657338080
.___________/ e-mail : manfroni@mat.uniroma3.it
__________________________________________________ __



--
Bill Davidsen <davidsen@tmr.com>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


All times are GMT. The time now is 12:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.