From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Staub Subject: LDAP symlink with no LDAP support? Date: Tue, 06 Oct 2009 02:28:20 -0400 Message-ID: <4ACAE384.6070307@beaker67.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: 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 Content-Type: text/plain; charset="us-ascii"; format="flowed" To: autofs@linux.kernel.org I've just installed autofs 5.0.5, with all current patches. I do not have LDAP on my system, but autofs still creates a /lib/autofs/lookup_ldaps.so symlink, pointing to a nonexistent "lookup_ldap.so". When I look at modules/Makefile, I see an if statement saying to build lookup_ldap.so if LDAP support is requested. However, the command to create the lookup_ldaps.so symlink is included in the "install" target with all the other symlinks created by default... ln -fs lookup_ldap.so $(INSTALLROOT)$(autofslibdir)/lookup_ldaps.so Am I just missing something, or should this also be enclosed in the same conditional used earlier in the Makefile to determine if the LDAP module should be built at all?