<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000066">
    Great document. Thanks.<br>
    <br>
    Two things:<br>
    1. I do not care too much if /etc/nsswitch.conf is supposed to be
    used only by Glibc or not. For me the functionality is the bottom
    line - and here autofs does the right thing. I hate too many
    configuration files - the less, the better. One configuration file
    per service is enough (I am even sick of the extra
    /etc/autofs_ldap_auth.conf config file) and I don't have anything
    against sharing configuration files for multiple services if it
    makes a sense.<br>
    <br>
    2. I am still not too sure about the schema expected by to
    automounter in LDAP. I would expect these variants should work:<br>
    <br>
    a) not using full DN in automountInformation<br>
    <pre class="wiki">dn: automountMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto.master

dn: automountKey=/home,automountMapName=auto.master,dc=example,dc=com
objectClass: automount
automountKey: /home
automountInformation: auto.home

dn: automountMapName=auto.home,dc=example,dc=com
objectClass: automountMap
automountMapName: auto.home

dn: automountKey=foo,automountMapName=auto.home,dc=example,dc=com
objectClass: automount
automountKey: foo
automountInformation: filer.example.com:/export/foo
</pre>
    b) same as a) but using full DN - for backward compatibility reasons<br>
    <pre class="wiki">dn: automountMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto.master

dn: automountKey=/home,automountMapName=auto.master,dc=example,dc=com
objectClass: automount
automountKey: /home
automountInformation: automountMapName=auto.home,dc=example,dc=com

dn: automountMapName=auto.home,dc=example,dc=com
objectClass: automountMap
automountMapName: auto.home

dn: automountKey=foo,automountMapName=auto.home,dc=example,dc=com
objectClass: automount
automountKey: foo
automountInformation: filer.example.com:/export/foo
</pre>
    c) simplified setup - nice to have as it reflects the real
    filesystem<br>
    <pre class="wiki">dn: automountMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto.master

dn: automountMapName=/home,automountMapName=auto.master,dc=example,dc=com
objectClass: automountMap
automountMapName: /home

dn: automountKey=foo,automountMapName=/home,automountMapName=auto.master,dc=example,dc=com
objectClass: automount
automountKey: foo
automountInformation: filer.example.com:/export/foo
</pre>
    <br>
    As far as I understand the options a) and b) are standards now. I
    have added a nice_to_have option c) as well as it somewhat reflects
    the actual filesystem hierarchy. I am just posting it here for
    feedback, knowing it would be probably rejected.<br>
    <br>
    Thanks,<br>
    Ondrej<br>
  </body>
</html>