]> git.sur5r.net Git - openldap/commitdiff
In ldap_back_bind, don't send success result, frontend does it
authorHoward Chu <hyc@openldap.org>
Tue, 1 Feb 2005 00:19:45 +0000 (00:19 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 1 Feb 2005 00:19:45 +0000 (00:19 +0000)
servers/slapd/back-ldap/bind.c

index 235a64183a5dd95e38bc496967ee23b02ce24150..817235ee3a36d7d957bac16540b95c534bbe6111 100644 (file)
@@ -68,7 +68,7 @@ ldap_back_bind( Operation *op, SlapReply *rs )
        rs->sr_err = ldap_sasl_bind( lc->lc_ld, op->o_req_dn.bv_val,
                        LDAP_SASL_SIMPLE,
                        &op->orb_cred, op->o_ctrls, NULL, &msgid );
-       rc = ldap_back_op_result( lc, op, rs, msgid, LDAP_BACK_SENDRESULT );
+       rc = ldap_back_op_result( lc, op, rs, msgid, LDAP_BACK_SENDERR );
 
        if ( rc == LDAP_SUCCESS ) {
                /* If defined, proxyAuthz will be used also when