From 88b7df65549819ffb348f6e6fcd2b6b8f54da821 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Sun, 12 Dec 2010 02:34:40 +0000 Subject: [PATCH] ITS#6643 --- CHANGES | 1 + servers/slapd/back-meta/search.c | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 96885ccd56..63b4c20d31 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,7 @@ OpenLDAP 2.4.24 Engineering Fixed slapd acl parsing overflow (ITS#6611) Fixed slapd modify to return actual error (ITS#6581) Fixed slapd-bdb entry cache delete failure (ITS#6577) + Fixed slapd-meta anon retry with failed auth method (ITS#6643) Fixed slapd-null back-config support (ITS#6624) Fixed slapo-pcache callback freeing (ITS#6640) Fixed slapo-pcache to ignore undefined attrs (ITS#6600) diff --git a/servers/slapd/back-meta/search.c b/servers/slapd/back-meta/search.c index eaa0311729..068589d1ae 100644 --- a/servers/slapd/back-meta/search.c +++ b/servers/slapd/back-meta/search.c @@ -191,8 +191,13 @@ meta_search_dobind_init( ( mt->mt_idassert_flags & LDAP_BACK_AUTH_OVERRIDE ) ) ) { rc = meta_back_proxy_authz_cred( mc, candidate, op, rs, LDAP_BACK_DONTSEND, &binddn, &cred, &method ); - if ( rc != LDAP_SUCCESS ) { + switch ( rc ) { + case LDAP_SUCCESS: + break; + case LDAP_UNAVAILABLE: goto down; + default: + goto other; } /* NOTE: we copy things here, even if bind didn't succeed yet, -- 2.39.5