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