Lines Matching defs:mods
713 LDAPMod **mods;
741 state->mods = talloc_zero_array(state, LDAPMod *, 2);
742 if (state->mods == NULL) {
746 state->mods[0] = talloc_zero(state->mods, LDAPMod);
747 state->mods[1] = talloc_zero(state->mods, LDAPMod);
748 if (!state->mods[0] || !state->mods[1]) {
752 values = talloc_zero_array(state->mods[0], char *, 2);
763 state->mods[0]->mod_op = LDAP_MOD_REPLACE;
764 state->mods[0]->mod_type = lastchanged_name;
765 state->mods[0]->mod_vals.modv_strvals = values;
766 state->mods[1] = NULL;
768 ret = ldap_modify_ext(state->sh->ldap, state->dn, state->mods,