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);
 }
 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to