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