From: Ian Kent Subject: Re: autofs 5.0.1-rc1 still doesn't find master map in ldap automatically Date: Sat, 26 Aug 2006 01:28:52 +0800 Message-ID: <1156526932.31377.17.camel@raven.themaw.net> References: <44EDB98B.8050201@inria.fr> <44EEA538.8090203@inria.fr> <44EEEC55.2040101@inria.fr> <44EEF1E6.7040008@inria.fr> <1156511928.30971.12.camel@raven.themaw.net> <1156512652.30971.19.camel@raven.themaw.net> <44EF1747.5010103@inria.fr> <44EF1F75.5090902@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <44EF1F75.5090902@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 18:04 +0200, Guillaume Rousse wrote: > Piete.Brooks--autofs@cl.cam.ac.uk wrote: > >> OK, I found the issue: when all you have is mapname, and you have to use > >> default server and base, you should use LDAP_SCOPE_SUBTREE scope for > >> your query, not LDAP_SCOPE_ONELEVEL > > > > Why? > Because using LDAP_SCOPE_ONELEVEL assume your master map is directly > beyond your default base, which is likely to be wrong. Ha, of course, and I thought that would be more efficient. Pity it just doesn't work. I'll fix it. Ian