dup_spw
res = dup_spw(&ldapbuf->spwd, getspnam_from(name, rep, REP_LDAP));
int dup_spw(struct spwd **, struct spwd *);