--- extensions/source/config/ldap/ldapaccess.cxx.ark	2005-07-22 10:34:44.000000000 +0200
+++ extensions/source/config/ldap/ldapaccess.cxx	2005-07-22 10:35:06.000000000 +0200
@@ -59,6 +59,8 @@
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_extensions.hxx"
 
+#define LDAP_DEPRECATED 1 /* for OpenLDAP 2.3.x */
+
 #include "ldapaccess.hxx"
 
 #include "ldapuserprof.hxx"
dummy line to avoid confusing diff-mode
--- extensions/source/config/ldap/ldapuserprof.cxx.ark	2005-07-22 11:04:57.000000000 +0200
+++ extensions/source/config/ldap/ldapuserprof.cxx	2005-07-22 11:05:21.000000000 +0200
@@ -59,6 +59,8 @@
 // MARKER(update_precomp.py): autogen include statement, do not remove
 #include "precompiled_extensions.hxx"
 
+#define LDAP_DEPRECATED 1 /* for OpenLDAP 2.3.x */
+
 #ifndef EXTENSIONS_CONFIG_LDAP_LDAPUSERPROF_HXX_
 #include "ldapuserprof.hxx"
 #endif // EXTENSIONS_CONFIG_LDAP_LDAPUSERPROF_HXX_
