LDAP symlink with no LDAP support?
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?
Ian Kent
maintainerQuoted 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.sosymlink, 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
Makefileto determine if the LDAP module should be built at all?
Yes, it should be conditional.
I'll fix it.
Ian