<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">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.
<div>Was going to set this up for some other configuration testing but are stuck on this instead. :)</div>
<div><br>
<div>Feels like i am missing something basic but can't figure it out.</div>
<div>Followed the guide and tried a variety of automount maps but nothing works.</div>
<div>Had automount working before installing IPA Client with:</div>
<div>auto.master:</div>
<div>/home<span class="Apple-tab-span" style="white-space:pre"> </span>/etc/auto.home</div>
<div>auto.home</div>
<div>*<span class="Apple-tab-span" style="white-space:pre"> </span>servername:/home/&</div>
<div><br>
</div>
<div>I can mount /home from the client:</div>
<div><br>
</div>
<div>mount -t nfs4 -o sec=krb5 servername:/home /mnt</div>
<div><br>
</div>
<div>/etc/sysconfig/autofs:</div>
<div><br>
</div>
<div>
<div><br>
</div>
<div>LDAP_URI="ldap://servername"</div>
<div>SEARCH_BASE="cn=default,cn=automount,dc=home"</div>
<div><br>
</div>
<div>MAP_OBJECT_CLASS="automountMap"</div>
<div>ENTRY_OBJECT_CLASS="automount"</div>
<div>MAP_ATTRIBUTE="automountMapName"</div>
<div>ENTRY_ATTRIBUTE="automountKey"</div>
<div>VALUE_ATTRIBUTE="automountInformation"</div>
</div>
<div><br>
</div>
<div>Getting this from debug lvl logging on autofs:</div>
<div><br>
</div>
<div>
<div>Dec 22 09:13:00 client2 automount[4528]: connected to uri ldap://servername</div>
<div>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"</div>
<div>Dec 22 09:13:00 client2 automount[4528]: do_get_entries: lookup(ldap): query succeeded, no matches for (objectclass=automount)</div>
<div>Dec 22 09:13:00 client2 automount[4528]: read_one_map: lookup(ldap): done updating map</div>
<div>Dec 22 09:13:00 client2 automount[4528]: st_ready: st_ready(): state = 0 path /-</div>
</div>
<div><br>
</div>
<div>So what am i missing here?</div>
<div><br>
</div>
<div>Regards,</div>
<div>Johan.</div>
</div>
</div>
</body>
</html>