autofs always requires openldap dependency
Hello,
I've noticed each time I compile autofs I need openldap headers, even if I use the option "--without-openldap".
The file lib/defaults.c always include ldap.h (and use it...)
It "works" if I comment these lines in include/lookup_ldap.h:
4: //#include <ldap.h>
112: //LDAP *init_ldap_connection(unsigned logopt, const char *uri, struct lookup_context *ctxt); 113: //int unbind_ldap_connection(unsigned logopt, LDAP *ldap, struct lookup_context *ctxt);
But I think it's really a dirty solution...
Signature · 1 line
Erwan Loaec