[dovecot-cvs] dovecot/src/auth db-ldap.h,1.29,1.30

tss at dovecot.org tss at dovecot.org
Thu Apr 12 19:31:13 EEST 2007


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv4455

Modified Files:
	db-ldap.h 
Log Message:
#define LDAP_DEPRECATED for now.



Index: db-ldap.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/db-ldap.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- db-ldap.h	19 Jan 2007 15:19:32 -0000	1.29
+++ db-ldap.h	12 Apr 2007 16:31:10 -0000	1.30
@@ -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;



More information about the dovecot-cvs mailing list