From: Jong Hyuk Choi Date: Wed, 13 Aug 2003 20:27:10 +0000 (+0000) Subject: ITS#2681: set rc to LDAP_INVALID_CREDENTIALS or 1 X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~796 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=264f690c81649849a5eef70b816393ad0e8767ac;p=openldap ITS#2681: set rc to LDAP_INVALID_CREDENTIALS or 1 --- diff --git a/servers/slapd/back-ldbm/bind.c b/servers/slapd/back-ldbm/bind.c index 81192924fe..5474baf0bf 100644 --- a/servers/slapd/back-ldbm/bind.c +++ b/servers/slapd/back-ldbm/bind.c @@ -103,6 +103,11 @@ ldbm_back_bind( #endif rs->sr_err = LDAP_INVALID_CREDENTIALS; send_ldap_result( op, rs ); +#ifdef LDAP_SYNCREPL + rc = LDAP_INVALID_CREDENTIALS; +#else + rc = 1; +#endif goto return_results; } #endif