<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><span>OS is EL7.3 and ipa-serveris 4.4.0</span><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Z D<br>
<b>Sent:</b> Friday, March 24, 2017 2:23:59 PM<br>
<b>To:</b> freeipa-users@redhat.com<br>
<b>Subject:</b> Automount location design </font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p></p>
<div>Hi there,<br>
<br>
We've been looking to add indirect maps for users home directories, and did the next.
<br>
<br>
1. There is the automount location (named "global") with one map "auto_home", it has keys (they are username) and mount info is <server>:/path<br>
<br>
2. The idea is that this is "global location"<br>
<br>
3. Another location (named "userdirs") has auto.master map with key = "/home" and mount info is like "ldap:automountmapname=auto_home,cn=global,cn=automount,dc=comp,dc=com"<br>
<br>
4. It was added with command: <br>
<br>
ipa automountkey-add userdirs auto.master --key=/home --info=ldap:automountmapname=auto_home,cn=global,cn=automount,dc=comp,dc=com<br>
<br>
5. All work as expected, the issue is that below command shows error. <br>
<br>
ipa automountlocation-tofiles userdirs<br>
ipa: ERROR: ldap:automountmapname=auto_home,cn=global,cn=automount,dc=comp,dc=com: automount map not found<br>
<br>
Is there any concern with such design? </div>
<p></p>
<p><br>
</p>
<p>Thanks</p>
<p>Zarko<br>
</p>
</div>
</div>
</body>
</html>