[sylpheed:31832] PATCH: sylpheed-2.4.7 present all ldap entries found
Rich Coe
Richard.Coe at med.ge.com
Fri Oct 12 04:55:29 JST 2007
Even if the ldap service reports that the amount of entries found
exceeded the server's imposed limit, present to the user the actual
entries returned.
Rich
--- src/syldap.c.orig 2006-08-31 03:21:21.000000000 -0500
+++ src/syldap.c 2007-10-11 14:47:38.658239516 -0500
@@ -560,7 +560,7 @@ gint syldap_search( SyldapServer *ldapSe
ldapServer->retVal = MGU_LDAP_TIMEOUT;
return ldapServer->retVal;
}
- if( rc != LDAP_SUCCESS ) {
+ if( rc != LDAP_SUCCESS && rc != LDAP_SIZELIMIT_EXCEEDED ) {
/* printf( "LDAP Error: ldap_search_st: %s\n", ldap_err2string( rc ) ); */
ldap_unbind( ld );
ldapServer->retVal = MGU_LDAP_SEARCH;
More information about the Sylpheed
mailing list