==> Regarding Re: [autofs] AutoFS problem with OpenLDAP server; Erich Weiler 
<[EMAIL PROTECTED]> adds:

weiler> OK, I figured out that AutoFS looks at "/etc/openldap/ldap.conf" and 
NOT 
weiler> "/etc/ldap.conf".  I'm one step closer.  However, when I copy my 
weiler> ldap.conf over to /etc/openldap/ldap.conf, and do a "/etc/init.d/autofs 
weiler> start", it still gives me the:

weiler> Starting automount: No Mountpoints Defined

weiler> Error at the command line.  I *DO* see traffic to the Openldap server 
weiler> this time though, and in the OpenLDAP logs I see:

weiler> ber_scanf fmt ({mm}) ber:
weiler> ber_scanf fmt ({mm}) ber:
weiler>      filter: (&(?=undefined)(?=undefined))
weiler> ber_scanf fmt ({M}}) ber:
weiler>      attrs: automountMapName automountInformation
==> limits_get: conn=10642 op=6 dn="[anonymous]"
weiler> => bdb_search
weiler> bdb_dn2entry("dc=domain,dc=com")

weiler> So it looks like the automounter is searching for
weiler> "automountMapName" and "automountInformation".  Which is bad,
weiler> because my maps are in the form of "nisMapName" and "nisMapEntry".
weiler> Does anyone know if there is an easy way to tell the automounter to
weiler> look for the other attributes?  Or do I have to try to set up some
weiler> kind of aliasing on my OpenLDAP server?

The autofs init script in autofs v4 will invoke a command,
autofs-ldap-auto-master, to determine if there is an auto.master available
on your ldap server.  It should try 3 schemas before giving up.

You didn't mention whether you actually had an auto.master in ldap.  Do you?

-Jeff

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to