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


--
Erwan Loaec

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to