[Freeipa-users] autofs - nfsnobody
dbischof at hrz.uni-kassel.de
dbischof at hrz.uni-kassel.de
Wed Feb 4 09:05:57 UTC 2015
Hi Gerardo,
On Tue, 3 Feb 2015, Gerardo Cuppari wrote:
> Hello there again! I'm bothering you again because I am having some
> problems with autofs/NFS and IPA. All files created from a regular user
> (enrolled client) gets the nfsnobody user and group. Folder gets auto
> mounted.
just a guess: I had this symptom with a non-Redhat, self-configured
client. It turned out, that it was required to set
---
Domain = my.domain.de
---
in /etc/idmapd.conf
Maybe worth a try.
> Thanks in advance!
>
> Here is what I did to configure it at server (server.estudio) and client
> (pc01.estudio):
>
> SERVER
> =====
>
> ipa service-add nfs/server.estudio
> ipa-getkeytab -s server.estudio -p nfs/server.estudio -k /etc/krb5.keytab
> ipa-client-automount
>
> mkdir /export
> chmod 777 /export
> echo /export *(rw,sync,sec=sys:krb5:krb5i:krb5p) >> /etc/exports
>
> reboot
>
> **************************
>
> CLIENT
> ====
>
> ipa-getkeytab -s server.estudio -p host/server.estudio at ESTUDIO -k
> /etc/krb5.keytab
> ipa-client-automount
>
> reboot
>
> echo aaa >> /export/aaa
>
> [user at pc01 /]$ ls -la /export
> total 12
> drwxrwxrwx. 2 root root 4096 feb 3 13:36 .
> dr-xr-xr-x. 21 root root 4096 feb 3 13:36 ..
> -rw-rw-r--. 1 nfsnobody nfsnobody 4 feb 3 13:36 aaa
>
Mit freundlichen Gruessen/With best regards,
--Daniel.
More information about the Freeipa-users
mailing list