mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
added HAVE_LDAP_H check
This commit is contained in:
@@ -381,7 +381,7 @@
|
||||
#include <krb5.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_LDAP
|
||||
#if HAVE_LDAP_H
|
||||
#include <ldap.h>
|
||||
#endif
|
||||
|
||||
@@ -390,7 +390,7 @@
|
||||
#endif
|
||||
|
||||
/* 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
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user