m->sml_flags = 0;
m->sml_type = ad_pwdAccountLockedTime->ad_cname;
m->sml_desc = ad_pwdAccountLockedTime;
+ m->sml_managing = 0;
m->sml_next = *mod;
*mod = m;
}
m->sml_values = ch_calloc( sizeof(struct berval), 2 );
ber_dupbv( &m->sml_values[0], ×tamp );
+ m->sml_managing = 0;
m->sml_next = mod;
mod = m;
m->sml_desc = ad_pwdAccountLockedTime;
m->sml_values = ch_calloc( sizeof(struct berval), 2 );
ber_dupbv( &m->sml_values[0], ×tamp );
+ m->sml_managing = 0;
m->sml_next = mod;
mod = m;
}
m->sml_flags = 0;
m->sml_type = ad_pwdFailureTime->ad_cname;
m->sml_desc = ad_pwdFailureTime;
+ m->sml_managing = 0;
m->sml_next = mod;
mod = m;
}
m->sml_desc = ad_pwdGraceUseTime;
m->sml_values = ch_calloc( sizeof(struct berval), 2 );
ber_dupbv( &m->sml_values[0], ×tamp );
+ m->sml_managing = 0;
m->sml_next = mod;
mod = m;
ml->sml_values[1].bv_len = 0;
ml->sml_values[1].bv_val = NULL;
ml->sml_nvalues = NULL;
+ ml->sml_managing = 0;
ml->sml_next = op->orm_modlist;
op->orm_modlist = ml;
delmod = ml;
}
mods->sml_flags = SLAP_MOD_INTERNAL;
mods->sml_nvalues = NULL;
+ mods->sml_managing = 0;
mods->sml_next = NULL;
modtail->sml_next = mods;
modtail = mods;
mods->sml_desc = ad_pwdGraceUseTime;
mods->sml_values = NULL;
mods->sml_nvalues = NULL;
+ mods->sml_managing = 0;
mods->sml_next = NULL;
modtail->sml_next = mods;
modtail = mods;
mods->sml_desc = ad_pwdReset;
mods->sml_values = NULL;
mods->sml_nvalues = NULL;
+ mods->sml_managing = 0;
mods->sml_next = NULL;
modtail->sml_next = mods;
modtail = mods;
mods->sml_values[i].bv_len = 0;
ber_dupbv( &(mods->sml_values[i]), &p->bv );
}
+ mods->sml_managing = 0;
mods->sml_next = NULL;
modtail->sml_next = mods;
modtail = mods;
mods->sml_values[ 1 ].bv_val = NULL;
mods->sml_values[ 1 ].bv_len = 0;
make_pwd_history_value( timebuf, &mods->sml_values[0], pa );
+ mods->sml_managing = 0;
mods->sml_next = NULL;
modtail->sml_next = mods;
modtail = mods;
mp->sml_flags = 0;
ber_dupbv(&mp->sml_values[0], &dd->nothing);
ber_dupbv(&mp->sml_nvalues[0], &dd->nnothing);
+ mp->sml_managing = 0;
mp->sml_next = ma;
ma = mp;
}
mp->sml_flags = 0;
ber_dupbv(&mp->sml_values[0], &dd->dn);
ber_dupbv(&mp->sml_nvalues[0], &mp->sml_values[0]);
+ mp->sml_managing = 0;
mp->sml_next = ma;
ma = mp;
Debug(LDAP_DEBUG_TRACE, "refint_delete_cb: %s: %s\n",
ber_dupbv(&mp->sml_nvalues[0], &dd->nnewdn);
mp->sml_values[1].bv_len = mp->sml_nvalues[1].bv_len = 0;
mp->sml_values[1].bv_val = mp->sml_nvalues[1].bv_val = NULL;
+ mp->sml_managing = 0;
mp->sml_next = ip->mm;
ip->mm = mp;
mp = ch_malloc(sizeof(Modifications));
ber_dupbv(&mp->sml_nvalues[0], &dd->dn);
mp->sml_values[1].bv_len = mp->sml_nvalues[1].bv_len = 0;
mp->sml_values[1].bv_val = mp->sml_nvalues[1].bv_val = NULL;
+ mp->sml_managing = 0;
mp->sml_next = ip->mm;
ip->mm = mp;
Debug(LDAP_DEBUG_TRACE, "refint_modrdn_cb: %s: %s\n",
mod->sml_type = tmp.sml_type;
mod->sml_values = tmp.sml_values;
mod->sml_nvalues = NULL;
+ mod->sml_managing = 0;
*modtail = mod;
modtail = &mod->sml_next;
mod->sml_type = mod->sml_desc->ad_cname;
mod->sml_values = NULL;
mod->sml_nvalues = NULL;
+ mod->sml_managing = 0;
if ( !modhead ) modhead = mod;
if ( modtail ) {
modtail->sml_next = mod;
ber_bvarray_add( &mod->sml_values, &uuid_bv );
ber_dupbv( &uuid_bv, syncUUID );
ber_bvarray_add( &mod->sml_nvalues, &uuid_bv );
+ mod->sml_managing = 0;
modtail->sml_next = mod;
op->o_tag = LDAP_REQ_MODIFY;