On Thu, 2008-06-19 at 15:51 +0200, Klemens Puritscher wrote:
But I'm wondering, because my current imap-proxy
(perdition1.1 on a RHAS2.1) has no problems with the ldap-version.
???
there's an easy answer to that question: perdition can speak LDAPv3, but
you have to patch perdition to activate LDAPv3 support. and that's
exactly what i did 5 years ago ;-)
here's the patch:
diff -u -r perdition-1.11/perdition/db/ldap/perditiondb_ldap.h
perdition-1.11.hack/perdition/db/ldap/perditiondb_ldap.h
--- perdition-1.11/perdition/db/ldap/perditiondb_ldap.h Mon Jan 6
03:10:01 2003
+++ perdition-1.11.hack/perdition/db/ldap/perditiondb_ldap.h Wed Nov 5
15:56:54 2003
@@ -52,8 +52,8 @@
"ldap://localhost/" \
"ou=mailbox,dc=my-domain,dc=com?username,mailhost,port?one?(uid=%s)"
-/* #define PERDITIONDB_LDAP_VERSION LDAP_VERSION3 */
-#define PERDITIONDB_LDAP_VERSION LDAP_VERSION
+#define PERDITIONDB_LDAP_VERSION LDAP_VERSION3
+/* #define PERDITIONDB_LDAP_VERSION LDAP_VERSION */
#define PERDITIONDB_LDAP_NETWORK_TIMEOUT 10
kr,
tom.
--
Thomas "Duke" Hager {duke,hager}(a)sigsegv.at
GPG: 1024D/D27F858C
http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."