mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04:23:50 +03:00
added HAVE_LDAP_H check
This commit is contained in:
@@ -381,7 +381,7 @@
|
|||||||
#include <krb5.h>
|
#include <krb5.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_LDAP
|
#if HAVE_LDAP_H
|
||||||
#include <ldap.h>
|
#include <ldap.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -390,7 +390,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* we support ADS if we have krb5 and ldap libs */
|
/* we support ADS if we have krb5 and ldap libs */
|
||||||
#if defined(HAVE_KRB5) && defined(HAVE_LDAP) && defined(HAVE_SASL_H)
|
#if defined(HAVE_KRB5) && defined(HAVE_LDAP) && defined(HAVE_LDAP_H) && defined(HAVE_SASL_H)
|
||||||
#define HAVE_ADS
|
#define HAVE_ADS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user