crypted_pw = crypt (pw_in, (char *)lsalt.salt);
free (lsalt.salt);
}
- return (STRDUP (crypted_pw));
+ return (strdup (crypted_pw));
}
#endif
strvals[0] = buf;
strvals[1] = NULL;
- mod.mod_vals.modv_strvals = strvals;
+ mod.mod_values = strvals;
mod.mod_type = pwattr;
mod.mod_op = LDAP_MOD_REPLACE;
mods[0] = &mod;