mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
cleanup
This commit is contained in:
parent
f582fd1ba8
commit
8f0bc2d55b
3 changed files with 5 additions and 5 deletions
|
|
@ -212,7 +212,8 @@ retry: /* transaction retry */
|
|||
if( rc != 0 ) {
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG ( OPERATION, ERR,
|
||||
"bdb_exop_passwd: txn_begin(2) failed: %s (%d)\n", db_strerror(rs->sr_err), rs->sr_err, 0 );
|
||||
"bdb_exop_passwd: txn_begin(2) failed: %s (%d)\n",
|
||||
db_strerror(rs->sr_err), rs->sr_err, 0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"bdb_exop_passwd: txn_begin(2) failed: %s (%d)\n",
|
||||
|
|
@ -222,6 +223,7 @@ retry: /* transaction retry */
|
|||
rs->sr_text = "internal error";
|
||||
goto done;
|
||||
}
|
||||
|
||||
{
|
||||
Modifications ml;
|
||||
struct berval vals[2];
|
||||
|
|
|
|||
|
|
@ -40,13 +40,12 @@ ldbm_back_exop_passwd(
|
|||
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( BACK_LDBM, ENTRY,
|
||||
"ldbm_back_exop_passwd: \"%s\"\n", id.bv_val ? id.bv_val : "", 0,0 );
|
||||
"ldbm_back_exop_passwd: \"%s\"\n", id.bv_val ? id.bv_val : "", 0,0 );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_ARGS, "==> ldbm_back_exop_passwd: \"%s\"\n",
|
||||
id.bv_val ? id.bv_val : "", 0, 0 );
|
||||
#endif
|
||||
|
||||
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,8 +59,7 @@ int passwd_extop(
|
|||
BerVarray defref = NULL;
|
||||
if ( op->o_bd->syncinfo ) {
|
||||
defref = op->o_bd->syncinfo->provideruri_bv;
|
||||
} else
|
||||
{
|
||||
} else {
|
||||
defref = referral_rewrite( op->o_bd->be_update_refs,
|
||||
NULL, NULL, LDAP_SCOPE_DEFAULT );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue