]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/passwd.c
declare oc_bvfind_undef()
[openldap] / servers / slapd / passwd.c
index 89247b54f8ac90c6547b28f14b7de25566fa1369..51b42411711abf833bbd44501d51ee76520e1717 100644 (file)
@@ -81,7 +81,7 @@ int passwd_extop(
                        rc = rs->sr_err;
                        goto error_return;
                }
-               op->o_bd = select_backend( &op->o_req_ndn, 0, 0 );
+               op->o_bd = select_backend( &op->o_req_ndn, 0, 1 );
 
        } else {
                ber_dupbv_x( &op->o_req_dn, &op->o_dn, op->o_tmpmemctx );
@@ -311,7 +311,7 @@ int slap_passwd_parse( struct berval *reqdata,
                tag = ber_scanf( ber, "m", oldpass );
 
                if( tag == LBER_ERROR ) {
-                       Debug( LDAP_DEBUG_TRACE, "slap_passwd_parse: ID parse failed.\n",
+                       Debug( LDAP_DEBUG_TRACE, "slap_passwd_parse: OLD parse failed.\n",
                                0, 0, 0 );
 
                        goto decoding_error;
@@ -333,7 +333,7 @@ int slap_passwd_parse( struct berval *reqdata,
                tag = ber_scanf( ber, "m", newpass );
 
                if( tag == LBER_ERROR ) {
-                       Debug( LDAP_DEBUG_TRACE, "slap_passwd_parse: OLD parse failed.\n",
+                       Debug( LDAP_DEBUG_TRACE, "slap_passwd_parse: NEW parse failed.\n",
                                0, 0, 0 );
 
                        goto decoding_error;