From: Ian Kent Subject: Re: [PATCH 2/6] fix dead LDAP symbol link with LDAP support disabled Date: Tue, 23 Jul 2013 18:10:24 +0800 Message-ID: <1374574224.3418.5.camel@perseus.fritz.box> References: <1374505194-22668-1-git-send-email-dennis.yxun@gmail.com> <1374505194-22668-3-git-send-email-dennis.yxun@gmail.com> <1374573038.3418.3.camel@perseus.fritz.box> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=themaw.net; h= message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=mesmtp; bh=Mz9YzJhZDLsaHjInctfjkee2nDg=; b=xPuS8xZb8veXcZsPhqzhPaQiywd8 2XrnB66ACZwYs8NINKG+gkqLJQlFd2hug34nKwtVUiiFoZeW6ZOSvF5aJwKOKeym 4hUOPwZ5SNqH7nr7Hll8yQP2gQiF0Jz4ons5QARl2+c5sMOla2f1kGJ4caVSvYQM 2TPvOoiYCEyhnLs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:subject:from:to:cc:date :in-reply-to:references:content-type:mime-version :content-transfer-encoding; s=smtpout; bh=Mz9YzJhZDLsaHjInctfjke e2nDg=; b=apSJUtyQfPoA/RhlCi3QoO7rqTUM4D/TNSXYh2FNx7he3zUuCC6Lb9 1TUetNcii14lxy1rii0P/nllGLdq3hYl6i7pyu5EQ5hKo+YBj6ITyuEYfCDIr2Ha cOyjAZj3K044nVgDmBG8KxotJhnuFc+jayq7ADGMNut4FHhFJLRTM= In-Reply-To: <1374573038.3418.3.camel@perseus.fritz.box> Sender: autofs-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: "Lan Yixun (dlan)" Cc: autofs@vger.kernel.org On Tue, 2013-07-23 at 17:50 +0800, Ian Kent wrote: > On Mon, 2013-07-22 at 22:59 +0800, Lan Yixun (dlan) wrote: > > From: "Lan Yixun (dlan)" > > > > autofs will create symbol link mandatory no matter ldap support > > is enabled or not. so, without this patch, lookup_ldaps.so will become > > a dead link. > > I have added this to my patch queue. > It will be committed next time I push patches to the repo. On second thoughts, what if WITH_LDAP is defined and WITH_SASL is not? > Thanks > > > > > --- > > Upstream Discussion: > > http://thread.gmane.org/gmane.linux.kernel.autofs/5371 > > > > Signed-off-by: Lan Yixun (dlan) > > --- > > modules/Makefile | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/modules/Makefile b/modules/Makefile > > index c5deb24..4bb1096 100644 > > --- a/modules/Makefile > > +++ b/modules/Makefile > > @@ -74,7 +74,9 @@ install: all > > -rm -f $(INSTALLROOT)$(autofslibdir)/mount_smbfs.so > > ln -fs lookup_file.so $(INSTALLROOT)$(autofslibdir)/lookup_files.so > > ln -fs lookup_yp.so $(INSTALLROOT)$(autofslibdir)/lookup_nis.so > > +ifeq ($(SASL), 1) > > ln -fs lookup_ldap.so $(INSTALLROOT)$(autofslibdir)/lookup_ldaps.so > > +endif > > ln -fs mount_nfs.so $(INSTALLROOT)$(autofslibdir)/mount_nfs4.so > > ifeq ($(EXT2FS), 1) > > ifeq ($(EXT3FS), 1) > > > -- > To unsubscribe from this list: send the line "unsubscribe autofs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html