X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fbind.c;h=c39caea9f64e37be8a26d0ead16d2685e5fa49bd;hb=ae3f784d5b8b022fc8bb5ecd2e612d9b1cdd13ed;hp=cbc6abd83e877698fc9db9577efe06e309daa172;hpb=71ea8bb2440dc346ebc10fbc83fb904eca3c863f;p=openldap diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index cbc6abd83e..c39caea9f6 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -464,7 +464,9 @@ fe_op_bind( Operation *op, SlapReply *rs ) /* don't return referral for bind requests */ /* noSuchObject is not allowed to be returned by bind */ rs->sr_err = LDAP_INVALID_CREDENTIALS; + op->o_bd = frontendDB; send_ldap_result( op, rs ); + op->o_bd = NULL; goto cleanup; }