From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Kent Subject: Re: strange regression in ldap support between 5.3 and 5.4 Date: Tue, 19 May 2009 12:49:58 +0800 Message-ID: <4A123A76.3060102@themaw.net> References: <4A11BBF6.5020906@inria.fr> <4A121DFD.8020707@themaw.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A121DFD.8020707@themaw.net> 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 Ian Kent wrote: > Guillaume Rousse wrote: >> Hello list. >> >> I have a user reporting a strange regression after updating from linux >> mandriva 2009.0 (shipping autofs 5.0.3 + all patches until >> fix-couple-of-memory-leaks.patch) to mandriva 2009.1 (shipping autofs >> 5.4 + all patches until clear-rpc-client-on-lookup-fail.patch): >> apparently, keys defined in indirect maps are mounted directly on the >> mount point, instead of a subdir: >> >> https://qa.mandriva.com/show_bug.cgi?id=50631 >> >> The debug output is apparently not consistent with mount output: >> mounted /home/lsc/luizd >> vs >> sol.lsc.ufsc.br:/export/lsc/home/luizd on /home/lsc type nfs >> >> Curiously, file based maps works OK. But, the only ldap-related changes >> I see in the applied patches set (5.0.3 with all patches is basically >> 5.0.4) is a memory leak fix, and a build-time detection fix. >> >> Does someones see something else ? > > Looks like the trailing "/" on the autofs mount point might be causing > some confusion: > > dn: cn=/home/lsc/,nisMapName=auto.master,ou=autofs,ou=nss,dc=lsc,dc=ufsc,dc= > br > cn: /home/lsc/ > nisMapName: /home/lsc/ And shouldn't nisMapName be auto.master? > objectClass: nisObject > objectClass: top > nisMapEntry: ldap:lua.lsc.ufsc.br:nisMapName=auto.home,ou=autofs,ou=nss,dc=l > sc,dc=ufsc,dc=br > > > I'd be interested to know if this is the case. > > _______________________________________________ > autofs mailing list > autofs@linux.kernel.org > http://linux.kernel.org/mailman/listinfo/autofs