[dovecot-cvs] dovecot/src/auth db-ldap.h,1.20.2.9,1.20.2.10

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


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

Modified Files:
      Tag: branch_1_0
	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.20.2.9
retrieving revision 1.20.2.10
diff -u -d -r1.20.2.9 -r1.20.2.10
--- db-ldap.h	19 Jan 2007 15:19:29 -0000	1.20.2.9
+++ db-ldap.h	12 Apr 2007 16:31:07 -0000	1.20.2.10
@@ -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