From 264f690c81649849a5eef70b816393ad0e8767ac Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Wed, 13 Aug 2003 20:27:10 +0000 Subject: [PATCH] ITS#2681: set rc to LDAP_INVALID_CREDENTIALS or 1 --- servers/slapd/back-ldbm/bind.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5