]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/bind.c
Fallout from ITS#4986 - remove unused param of select_backend()
[openldap] / servers / slapd / bind.c
index 706cc43559b06ff9718c91c1080ff75e0a8642dd..b8a506aab351afa55ba1a4cc7d27d3c3233d33e9 100644 (file)
@@ -357,7 +357,7 @@ fe_op_bind( Operation *op, SlapReply *rs )
         * if we don't hold it.
         */
 
-       if ( (op->o_bd = select_backend( &op->o_req_ndn, 0, 0 )) == NULL ) {
+       if ( (op->o_bd = select_backend( &op->o_req_ndn, 0 )) == NULL ) {
                /* don't return referral for bind requests */
                /* noSuchObject is not allowed to be returned by bind */
                rs->sr_err = LDAP_INVALID_CREDENTIALS;