From: Ian Kent Subject: Re: 5.0.3 oddity with LDAP map Date: Wed, 10 Sep 2008 11:54:50 +0800 Message-ID: <1221018890.3030.66.camel@raven.themaw.net> References: <20080909220416.GB22997@u20m2mm.qualcomm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080909220416.GB22997@u20m2mm.qualcomm.com> 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: Mike Marion Cc: autofs@kernel.org On Tue, 2008-09-09 at 15:04 -0700, Mike Marion wrote: > Taking my first real stab at testing 5.0.3 (patched up to all patches in > the patch_order file from last night). Have been sticking to supported > autofs5 from Novell on our hosts thus far, but still having some issues > here and there (long story, mostly because we have HUGE maps I think) > but ran into a problem starting 5.0.3. It seems to be truncating info > the ldap server gives it. The patches all successfully applied and the > compile went smoothly. > > The debug info shows failure to mount like: > do_bind: lookup(ldap): ldap anonymous bind returned 0 > get_query_dn: lookup(ldap): query succeeded, no matches for (&(objectclass=automountMap)(automountMapName=o.projects)) > do_bind: lookup(ldap): failed to get query dn > lookup(ldap): couldn't connect to server default > do_read_map: lookup module ldap failed > mount_autofs_direct: failed to read direct map > handle_mounts: mount of /- failed! > master_do_mount: failed to startup mount Mmmm .. what have I done now! Lets have a look at the maps and I'll try to duplicate it. Ian