57726f
diff -up bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c.old-api bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c
57726f
--- bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c.old-api	2008-11-24 13:28:13.000000000 +0100
57726f
+++ bind-9.6.0b1/contrib/sdb/ldap/ldapdb.c	2008-11-24 13:28:23.000000000 +0100
57726f
@@ -25,6 +25,7 @@
57726f
 /* Using LDAPv3 by default, change this if you want v2 */
57726f
 #ifndef LDAPDB_LDAP_VERSION
57726f
 #define LDAPDB_LDAP_VERSION 3
57726f
+#define LDAP_DEPRECATED 1
57726f
 #endif
57726f
 
57726f
 #include <config.h>
57726f
diff -up bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c.old-api bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c
57726f
--- bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c.old-api	2008-11-24 13:29:05.000000000 +0100
57726f
+++ bind-9.6.0b1/contrib/sdb/ldap/zone2ldap.c	2008-11-24 13:29:14.000000000 +0100
57726f
@@ -13,6 +13,8 @@
57726f
  * ditched dNSDomain2 schema support. Version 0.3-ALPHA
57726f
  */
57726f
 
57726f
+#define LDAP_DEPRECATED 1
57726f
+
57726f
 #include <errno.h>
57726f
 #include <string.h>
57726f
 #include <stdlib.h>