You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2015/04/28 20:56:47 UTC

svn commit: r1676593 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

Author: covener
Date: Tue Apr 28 18:56:47 2015
New Revision: 1676593

URL: http://svn.apache.org/r1676593
Log:
Give a better hint.


Modified:
    httpd/httpd/trunk/modules/ldap/util_ldap.c

Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=1676593&r1=1676592&r2=1676593&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
+++ httpd/httpd/trunk/modules/ldap/util_ldap.c Tue Apr 28 18:56:47 2015
@@ -331,7 +331,7 @@ static int uldap_connection_init(request
         rc = apr_ldap_rebind_add(ldc->rebind_pool, ldc->ldap, ldc->binddn, ldc->bindpw);
         if (rc != APR_SUCCESS) {
             ap_log_error(APLOG_MARK, APLOG_ERR, rc, r->server, APLOGNO(01277)
-                    "LDAP: Unable to add rebind cross reference entry. Out of memory?");
+                    "LDAP: Unable to add rebind cross reference entry. Out of memory? Try 'LDAPReferrals OFF'");
             uldap_connection_unbind(ldc);
             ldc->reason = "LDAP: Unable to add rebind cross reference entry.";
             return(rc);



Re: svn commit: r1676593 - /httpd/httpd/trunk/modules/ldap/util_ldap.c

Posted by Eric Covener <co...@gmail.com>.
2.4.x STATUS:
  * Current exceptions for RTC for this branch:
    . mod_lua
    . documentation
    . non-Unix build
    . non-Unix, single-platform code

How about improving/extending error messages like the above?

On Tue, Apr 28, 2015 at 2:56 PM,  <co...@apache.org> wrote:
> Author: covener
> Date: Tue Apr 28 18:56:47 2015
> New Revision: 1676593
>
> URL: http://svn.apache.org/r1676593
> Log:
> Give a better hint.
>
>
> Modified:
>     httpd/httpd/trunk/modules/ldap/util_ldap.c
>
> Modified: httpd/httpd/trunk/modules/ldap/util_ldap.c
> URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ldap/util_ldap.c?rev=1676593&r1=1676592&r2=1676593&view=diff
> ==============================================================================
> --- httpd/httpd/trunk/modules/ldap/util_ldap.c (original)
> +++ httpd/httpd/trunk/modules/ldap/util_ldap.c Tue Apr 28 18:56:47 2015
> @@ -331,7 +331,7 @@ static int uldap_connection_init(request
>          rc = apr_ldap_rebind_add(ldc->rebind_pool, ldc->ldap, ldc->binddn, ldc->bindpw);
>          if (rc != APR_SUCCESS) {
>              ap_log_error(APLOG_MARK, APLOG_ERR, rc, r->server, APLOGNO(01277)
> -                    "LDAP: Unable to add rebind cross reference entry. Out of memory?");
> +                    "LDAP: Unable to add rebind cross reference entry. Out of memory? Try 'LDAPReferrals OFF'");
>              uldap_connection_unbind(ldc);
>              ldc->reason = "LDAP: Unable to add rebind cross reference entry.";
>              return(rc);
>
>



-- 
Eric Covener
covener@gmail.com