Re: [Freeipa-users] autofs - nfsnobody

2015-02-04 Thread dbischof

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@ESTUDIO -k
/etc/krb5.keytab
ipa-client-automount

reboot

echo aaa  /export/aaa

[user@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 nfsnobody4 feb  3 13:36 aaa




Mit freundlichen Gruessen/With best regards,

--Daniel.

--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project


[Freeipa-users] autofs - nfsnobody

2015-02-03 Thread Gerardo Cuppari
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.

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@ESTUDIO -k
/etc/krb5.keytab
ipa-client-automount

reboot

echo aaa  /export/aaa

[user@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 nfsnobody4 feb  3 13:36 aaa
-- 
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go To http://freeipa.org for more info on the project