]> git.sur5r.net Git - openldap/commitdiff
ITS#2681: set rc to LDAP_INVALID_CREDENTIALS or 1
authorJong Hyuk Choi <jongchoi@openldap.org>
Wed, 13 Aug 2003 20:27:10 +0000 (20:27 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Wed, 13 Aug 2003 20:27:10 +0000 (20:27 +0000)
servers/slapd/back-ldbm/bind.c

index 81192924fef9a26e6ff7291a9f2373a072d05fed..5474baf0bfe835c395c6f4c6131ac2fb710bcb5f 100644 (file)
@@ -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