Home
last modified time | relevance | path

Searched refs:old_ent (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c645 modify_ent(struct yppasswd *yppwd, struct passwd_entry *old_ent, in modify_ent() argument
653 change_list = get_change_list(yppwd, old_ent); in modify_ent()
662 if ((change_list & CNG_SH) && (!validloginshell(old_ent->pw_shell, in modify_ent()
702 if (NULL != old_ent->pw_gecos) in modify_ent()
703 sfree(old_ent->pw_gecos); in modify_ent()
704 old_ent->pw_gecos = strdup(yppwd->newpw.pw_gecos); in modify_ent()
705 if (NULL == old_ent->pw_gecos) { in modify_ent()
712 if (NULL != old_ent->pw_shell) in modify_ent()
713 sfree(old_ent->pw_shell); in modify_ent()
714 old_ent->pw_shell = strdup(yppwd->newpw.pw_shell); in modify_ent()
[all …]