Skip to contentSkip to conversation

LDAP symlink with no LDAP support?

DISCUSSION Chris Staub 2 participants 2 messages Oct 6, 2009 – Oct 7, 2009 Kernel automounter

lore
Share & tools
lore
#0 lore raw

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?

maintainer
#1 lore raw
Quoted 8 lines · Chris Staub

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...

Quoted 5 lines

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?

Yes, it should be conditional.
I'll fix it.

Ian