From: Piete.Brooks--autofs@cl.cam.ac.uk Subject: Re: autofs5: unable to locate ldap master map Date: Fri, 25 Aug 2006 06:53:53 +0100 Message-ID: References: <44A25311.2040501@inria.fr> <1151554184.2929.45.camel@raven.themaw.net> <44A3B6CD.5030403@inria.fr> <1151585997.3915.36.camel@raven.themaw.net> <44A4E38D.7020004@inria.fr> <44A9216F.1030102@inria.fr> <1151943337.9183.44.camel@raven.themaw.net> <44C72411.8070401@inria.fr> <44EC6C56.9070304@inria.fr> <44EDBC7D.9090702@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Message from Guillaume Rousse of "Thu, 24 Aug 2006 16:49:33 +0200." <44EDBC7D.9090702@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Guillaume Rousse Cc: autofs mailing list > BTW, I'm not even sure being able to define ldap autentification file > name is really useful. I'd just hardcode its location, as the main one. I'd really rather not! I'd like to have a number of maps available for different classes of machines. PS: LDAP failed for me too until I edited /etc/sysconfig/autofs to use the correct schema -- now it works fine! ivatt:~: ldapsearch -LLL -x "(&(objectclass=automountMap)(ou=auto.master))" dn: ou=auto.master,dc=cl,dc=cam,dc=ac,dc=uk objectClass: top objectClass: automountMap automountMapName: auto.master ou: auto.master ivatt:~: ldapsearch -LLL -x "(&(objectclass=nisMap)(nisMapName=auto.master))" ivatt:~: Any chance of it it defaulting to try the three example schemas?