summaryrefslogtreecommitdiff
path: root/src/mod_authn_ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_authn_ldap.c')
-rw-r--r--src/mod_authn_ldap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_authn_ldap.c b/src/mod_authn_ldap.c
index d8be4f5f..d4ccc0e2 100644
--- a/src/mod_authn_ldap.c
+++ b/src/mod_authn_ldap.c
@@ -1,6 +1,7 @@
#include "first.h"
-#define USE_LDAP
+/* Using deprecated ldap api */
+#define LDAP_DEPRECATED 1
#include <ldap.h>
#include "server.h"