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