Patch attached.

-- 
dann frazier

diff -urpN jabberd2-2.2.1.orig/storage/authreg_ldap.c jabberd2-2.2.1/storage/authreg_ldap.c
--- jabberd2-2.2.1.orig/storage/authreg_ldap.c	2008-07-16 03:36:58.000000000 -0600
+++ jabberd2-2.2.1/storage/authreg_ldap.c	2008-08-04 13:27:09.000000000 -0600
@@ -30,6 +30,7 @@
 
 #include "c2s.h"
 #include <lber.h>
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 
 #define AR_LDAP_FLAGS_NONE      (0x0)
diff -urpN jabberd2-2.2.1.orig/storage/authreg_ldapfull.c jabberd2-2.2.1/storage/authreg_ldapfull.c
--- jabberd2-2.2.1.orig/storage/authreg_ldapfull.c	2008-07-16 03:36:58.000000000 -0600
+++ jabberd2-2.2.1/storage/authreg_ldapfull.c	2008-08-04 13:27:48.000000000 -0600
@@ -34,6 +34,7 @@
 #ifdef STORAGE_LDAP
 
 #include <lber.h>
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 
 #define LDAPFULL_PASSBUF_MAX 257
diff -urpN jabberd2-2.2.1.orig/storage/storage_ldapvcard.c jabberd2-2.2.1/storage/storage_ldapvcard.c
--- jabberd2-2.2.1.orig/storage/storage_ldapvcard.c	2008-07-16 03:36:58.000000000 -0600
+++ jabberd2-2.2.1/storage/storage_ldapvcard.c	2008-08-04 13:28:49.000000000 -0600
@@ -27,6 +27,7 @@
 
 #ifdef STORAGE_LDAP
 
+#define LDAP_DEPRECATED 1
 #include <ldap.h>
 #include <time.h>
 

Reply via email to