[Freeipa-users] Automount problems

Johan Petersson Johan.Petersson at sscspace.com
Sat Dec 22 09:24:54 UTC 2012


I can't get automount to work for some reason on a CentOS 6.3 testserver with the NFS and IPA server on the same server.
Was going to set this up for some other configuration testing but are stuck on this instead. :)

Feels like i am missing something basic but can't figure it out.
Followed the guide and tried a variety of automount maps but nothing works.
Had automount working before installing IPA Client with:
auto.master:
/home /etc/auto.home
auto.home
* servername:/home/&

I can mount /home from the client:

mount -t nfs4 -o sec=krb5 servername:/home /mnt

/etc/sysconfig/autofs:


LDAP_URI="ldap://servername"
SEARCH_BASE="cn=default,cn=automount,dc=home"

MAP_OBJECT_CLASS="automountMap"
ENTRY_OBJECT_CLASS="automount"
MAP_ATTRIBUTE="automountMapName"
ENTRY_ATTRIBUTE="automountKey"
VALUE_ATTRIBUTE="automountInformation"

Getting this from debug lvl logging on autofs:

Dec 22 09:13:00 client2 automount[4528]: connected to uri ldap://servername
Dec 22 09:13:00 client2 automount[4528]: read_one_map: lookup(ldap): searching for "(objectclass=automount)" under "automountmapname=auto.direct,cn=default,cn=automount,dc=home"
Dec 22 09:13:00 client2 automount[4528]: do_get_entries: lookup(ldap): query succeeded, no matches for (objectclass=automount)
Dec 22 09:13:00 client2 automount[4528]: read_one_map: lookup(ldap): done updating map
Dec 22 09:13:00 client2 automount[4528]: st_ready: st_ready(): state = 0 path /-

So what am i missing here?

Regards,
Johan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20121222/8cb1aa86/attachment.htm>


More information about the Freeipa-users mailing list