pp_info *pi = on->on_bi.bi_private;
Attribute *a;
BerVarray vals;
- int rc;
+ int rc = LDAP_SUCCESS;
Entry *pe = NULL;
#if 0
const char *text;
lockoutEnd = then + pp.pwdLockoutDuration;
}
- a = attr_find( e->e_attrs, ad_pwdAccountLockedTime );
if ( (a = attr_find( e->e_attrs, ad_pwdAccountTmpLockoutEnd )) != NULL ) {
then = parse_time( a->a_vals[0].bv_val );
if ( lockoutEnd != -1 && then > lockoutEnd )
{
slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
pp_info *pi = on->on_bi.bi_private;
- int i, rc, mod_pw_only, pwmod, pwmop = -1, deladd,
+ int i, rc, mod_pw_only, pwmod = 0, pwmop = -1, deladd,
hsize = 0, hskip;
PassPolicy pp;
Modifications *mods = NULL, *modtail = NULL,