11 messages in net.sourceforge.lists.courier-usersRe: [courier-users] RES: Limits with ...
FromSent OnAttachments
WatashiMay 13, 2007 3:32 pm 
WatashiMay 14, 2007 9:24 am 
Gordon MessmerMay 14, 2007 10:54 am 
Sam VarshavchikMay 14, 2007 3:18 pm 
Gordon MessmerMay 14, 2007 3:36 pm 
WatashiMay 15, 2007 5:15 am 
Gordon MessmerMay 15, 2007 9:37 am 
WatashiMay 16, 2007 9:47 am 
Gordon MessmerMay 17, 2007 9:40 am.patch
WatashiMay 17, 2007 10:53 am 
Gordon MessmerMay 17, 2007 1:17 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] RES: Limits with LDAP in Authlib?Actions...
From:Gordon Messmer (yiny@eburg.com)
Date:May 17, 2007 9:40:59 am
List:net.sourceforge.lists.courier-users
Attachments:

Watashi wrote:

So, there are more tests I can do to help you to help me? :)

There's very little different about the two lookups. Nothing that I'd expect would cause ldap_search_ext_s to fail.

Try applying the attached patch to courier-authlib, and rebuilding it. With this modification, the authdaemon should print the return code of an ldap operation to the syslog, when a failure is indicated. Hopefully that will tell us what the ldap library *thinks* the problem is.

--- courier-authlib-0.59.2/authldaplib.c.orig 2007-05-17 09:34:30.000000000
-0700 +++ courier-authlib-0.59.2/authldaplib.c 2007-05-17 09:37:21.000000000 -0700 @@ -869,6 +869,8 @@ authldapclose(); ldapconnfailure(); } + if(rc) + DPRINTF("ldap operation returned error code: %d", rc); return (rc); }