Searched refs:spw (Results 1 – 6 of 6) sorted by relevance
302 spw = ldapbuf->spwd; in ldap_getattr()439 if (spw != NULL && *spw != '\0') { in ldap_getpwnam()552 struct spwd *spw; in ldap_update() local567 spw = ldapbuf->spwd; in ldap_update()573 disable_aging = (spw != NULL && spw->sp_max == 0 && in ldap_update()718 spw->sp_pwdp); in ldap_update()796 spw->sp_max = spw->sp_min = spw->sp_warn = -1; in ldap_update()808 spw->sp_min = 0; in ldap_update()824 spw->sp_pwdp != NULL && *spw->sp_pwdp && in ldap_update()911 if (ldapbuf->shadow_update_enabled && spw != NULL && spw->sp_max <= 0) { in ldap_update()[all …]
477 struct spwd *spw; in files_getattr() local486 spw = pwbuf->spwd; in files_getattr()646 struct spwd *spw; in files_update() local655 spw = pwbuf->spwd; in files_update()661 disable_aging = (spw != NULL && spw->sp_max == 0); in files_update()764 (void) strcpy(spw->sp_pwdp, spw->sp_pwdp + in files_update()794 spw->sp_min = -1; in files_update()805 spw->sp_min = 0; in files_update()820 spw->sp_pwdp != NULL && *spw->sp_pwdp && in files_update()878 if (spw != NULL && spw->sp_max <= 0) { in files_update()[all …]
72 free_spwd(struct spwd *spw) in free_spwd() argument74 if (spw->sp_namp) free(spw->sp_namp); in free_spwd()75 if (spw->sp_pwdp) free(spw->sp_pwdp); in free_spwd()76 free(spw); in free_spwd()189 if (spw->sp_min <= 0) in turn_on_default_aging()190 spw->sp_min = -1; in turn_on_default_aging()193 if (spw->sp_max == 0) in turn_on_default_aging()195 if (spw->sp_max < 0) in turn_on_default_aging()196 spw->sp_max = -1; in turn_on_default_aging()199 if (spw->sp_warn <= 0) in turn_on_default_aging()[all …]
223 struct spwd *spw; in nss_getattr() local232 spw = pwbuf->spwd; in nss_getattr()262 if ((w->data.val_s = strdup(spw->sp_pwdp)) == NULL) in nss_getattr()282 w->data.val_i = spw->sp_lstchg; in nss_getattr()285 w->data.val_i = spw->sp_min; in nss_getattr()288 w->data.val_i = spw->sp_max; in nss_getattr()291 w->data.val_i = spw->sp_warn; in nss_getattr()294 w->data.val_i = spw->sp_inact; in nss_getattr()297 w->data.val_i = spw->sp_expire; in nss_getattr()300 w->data.val_i = spw->sp_flag; in nss_getattr()[all …]
339 struct spwd *spw; local357 spw = getspnam(pw->pw_name);358 if (spw)359 login_password = spw->sp_pwdp;
90 struct spwd *spw = NULL; /* shadow entry of user */ variable363 char *en_login_pw = spw->sp_pwdp; in cmp_passwd()1168 if ((spw = getspnam(pw->pw_name)) == 0) { in main()1182 if (strcmp(spw->sp_pwdp, NOPWDRTR) == 0) { in main()