]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-meta/bind.c
refine fix to ITS#4315; apply it to back-meta as well
[openldap] / servers / slapd / back-meta / bind.c
index 54c669e7fcd54431f764b99757ccce30b90809b3..cc2b5bcb99788edcecebe6b410356a462388c06e 100644 (file)
@@ -91,7 +91,7 @@ meta_back_bind( Operation *op, SlapReply *rs )
        /* we need meta_back_getconn() not send result even on error,
         * because we want to intercept the error and make it
         * invalidCredentials */
-       mc = meta_back_getconn( op, rs, NULL, LDAP_BACK_DONTSEND );
+       mc = meta_back_getconn( op, rs, NULL, LDAP_BACK_BIND_SERR );
        if ( !mc ) {
                char    buf[ SLAP_TEXT_BUFLEN ];