[Freeipa-users] FreeIPA automount

Pavel Zhukov pavel at zhukoff.net
Sun Jul 3 16:43:38 UTC 2011


Hi all

I'm trying to install and configure FreeIPA and automount
https://fedoraproject.org/wiki/QA:Testcase_freeipav2_automount

/etc/sysconfig/autofs
MAP_OBJECT_CLASS="automountMap"
ENTRY_OBJECT_CLASS="automount"
MAP_ATTRIBUTE="automountMapName"
ENTRY_ATTRIBUTE="automountKey"
VALUE_ATTRIBUTE="automountInformation"
LDAP_URI="ldap://freeipa.home.zhukoff.net"
##SEARCH_BASE="cn=dafault,cn=automount,dc=home,dc=zhukoff,dc=net"
SEARCH_BASE="cn=automount,dc=home,dc=zhukoff,dc=net"

$ showmount -e freeipa.home.zhukoff.net
Export list for freeipa.home.zhukoff.net:
/share/man 192.168.12.0/16
/home      192.168.12.0/16


$ ipa automountkey-find default auto.master
   Key: /-
   Mount information: auto.direct

   Key: /share
   Mount information: auto.share
----------------------------
Number of entries returned 2
----------------------------
$ ipa automountkey-find default auto.share
   Key: man
   Mount information: -ro,soft,rsize=8192,wsize=8192 
freeipa.home.zhukoff.net:/share/man
----------------------------
Number of entries returned 1
----------------------------
$ ipa automountkey-find default auto.master
   Key: /-
   Mount information: auto.direct

   Key: /share
   Mount information: auto.share
----------------------------
Number of entries returned 2
----------------------------

/var/log/messages:
Jul  4 00:40:51 ipaclient automount[2227]: st_expire: state 1 path 
/net
Jul  4 00:40:51 ipaclient automount[2227]: expire_proc: exp_proc = 
139786245711616 path /net
Jul  4 00:40:51 ipaclient automount[2227]: expire_cleanup: got thid 
139786245711616 path /net stat 0
Jul  4 00:40:51 ipaclient automount[2227]: expire_cleanup: sigchld: 
exp 139786245711616 finished, switching from 2 to 1
Jul  4 00:40:51 ipaclient automount[2227]: st_ready: st_ready(): state 
= 2 path /net

But automount doesn't work. Mount nothing.
Can anybody help me?

--
Regards Pavel Zhukov
pavel at zhukoff.net




More information about the Freeipa-users mailing list