Re: dbserver_get: ldap_bind_s: Protocol error

Thomas Hager <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
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}@sigsegv.at
GPG: 1024D/D27F858C            http://www.sigsegv.at/gpg/duke.gpg
=================================================================
"Never Underestimate the Power of Stupid People in Large Groups."

______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBIXUJtO0Kx4NJ/hYwRAuENAJ9VKswAf7bZf3IJhKzHBKEFnQUSUwCgkW1z
2CADx8V3SGIfpPsDgr7VNh0=
=yVkM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.