changeset 5555:9f1d15aa9fce HEAD

#define LDAP_DEPRECATED for now.
author Timo Sirainen <tss@iki.fi>
date Thu, 12 Apr 2007 19:31:10 +0300
parents 522c50117d5d
children 54babfeab440
files src/auth/db-ldap.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/db-ldap.h	Thu Apr 12 19:27:23 2007 +0300
+++ b/src/auth/db-ldap.h	Thu Apr 12 19:31:10 2007 +0300
@@ -1,6 +1,10 @@
 #ifndef __DB_LDAP_H
 #define __DB_LDAP_H
 
+/* Functions like ldap_bind() have been deprecated in OpenLDAP 2.3
+   This define enables them until the code here can be refactored */
+#define LDAP_DEPRECATED 1
+
 #include <ldap.h>
 
 struct auth_request;