From: Ian Kent Subject: Re: autofs 5.0.1-rc1 still doesn't find master map in ldap automatically Date: Fri, 25 Aug 2006 21:18:48 +0800 Message-ID: <1156511928.30971.12.camel@raven.themaw.net> References: <44EDB98B.8050201@inria.fr> <44EEA538.8090203@inria.fr> <44EEEC55.2040101@inria.fr> <44EEF1E6.7040008@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44EEF1E6.7040008@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@linux.kernel.org On Fri, 2006-08-25 at 14:49 +0200, Guillaume Rousse wrote: > Ian Kent wrote: > > On Fri, 25 Aug 2006, Guillaume Rousse wrote: > > > >> Ian Kent wrote: > >>>> I'll try to run it in the debugger, but I have to fix my debug package > >>>> first. > >> gdbdoesn't complain anymore about missing symbols, but despite my > >> attempts, I've been unable to set a working break point on faulty > >> function (get_query_dn). > > > > Is your LDAP client able to query this stuff with only the information > > used in the autofs queries (the ones you see in the debug output)? > Not sure to understand you here. I get nothing else in my debug output > than: failed to get query dn Have you setup syslog.conf to log daemon.* to somewhere? You won't get much at all unless syslog is sending it some where. Mmmm .. I see I don't debug print the query in get_query_dn. But looking at the code, if there is a map name the filter would be something like: (&(objectclass=)(=)) so I think for your defaults that would be (&(objectclass=automountMap)(ou=auto.master)) It gets the base dn from the output of this query. If that doesn't work nothing else does, but you already know that. Ian