/titanic_41/usr/src/lib/pam_modules/unix_account/ |
H A D | unix_acct.c | 164 if (((shpwd->sp_max == -1) || 168 (shpwd->sp_max >= shpwd->sp_min)))) { 207 if (shpwd->sp_max < 0 || shpwd->sp_max < shpwd->sp_min) in perform_passwd_aging_check() 211 if (now < (time_t)(shpwd->sp_lstchg + shpwd->sp_max)) in perform_passwd_aging_check() 251 if ((shpwd.sp_warn > 0) && (shpwd.sp_max > 0) && in warn_user_passwd_will_expire() 252 (now + shpwd.sp_warn) >= (time_t)(shpwd.sp_lstchg + shpwd.sp_max)) { in warn_user_passwd_will_expire() 253 days = (time_t)(shpwd.sp_lstchg + shpwd.sp_max) - now; in warn_user_passwd_will_expire() 396 shpwd.sp_max = attr_spw[2].data.val_i; in pam_sm_acct_mgmt() 424 user, pw, shpwd.sp_lstchg, shpwd.sp_min, shpwd.sp_max, in pam_sm_acct_mgmt()
|
/titanic_41/usr/src/lib/passwdutil/ |
H A D | utils.c | 192 spw->sp_max = 7 * maxweeks; in turn_on_default_aging() 193 if (spw->sp_max == 0) in turn_on_default_aging() 194 spw->sp_max = 7 * MAXWEEKS; 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()
|
H A D | ldap_attr.c | 352 w->data.val_i = spw->sp_max; in ldap_getattr() 572 disable_aging = (spw != NULL && spw->sp_max == 0 && in ldap_update() 782 if (spw->sp_max == -1 && p->data.val_i != -1 && in ldap_update() 795 spw->sp_max = spw->sp_min = spw->sp_warn = -1; in ldap_update() 822 if (spw->sp_max == -1 && in ldap_update() 840 if (spw->sp_max == -1 && in ldap_update() 910 if (ldapbuf->shadow_update_enabled && spw != NULL && spw->sp_max <= 0) { in ldap_update() 915 spw->sp_min = spw->sp_max = spw->sp_warn = -1; in ldap_update() 931 spw->sp_max) < 0) in ldap_update()
|
H A D | files_attr.c | 581 w->data.val_i = spw->sp_max; in files_getattr() 660 disable_aging = (spw != NULL && spw->sp_max == 0); in files_update() 783 if (spw->sp_max == -1 && in files_update() 818 if (spw->sp_max == -1 && in files_update() 825 spw->sp_max = p->data.val_i; in files_update() 831 if (spw->sp_max == -1 && p->data.val_i != -1 && in files_update() 877 if (spw != NULL && spw->sp_max <= 0) { in files_update() 882 spw->sp_min = spw->sp_max = spw->sp_warn = -1; in files_update()
|
H A D | switch_utils.c | 550 shadow->sp_max = -1; 580 if (!getfield(&p, limit, 0, &shadow->sp_max))
|
H A D | nss_attr.c | 288 w->data.val_i = spw->sp_max; in nss_getattr()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | putspent.c | 56 if (p->sp_max >= 0) in putspent() 57 (void) fprintf(f, "%d:", p->sp_max); in putspent()
|
H A D | getspent_r.c | 217 shadow->sp_max = -1; in str2spwd() 247 if (!getfield(&p, limit, 0, &shadow->sp_max)) in str2spwd()
|
/titanic_41/usr/src/cmd/pwconv/ |
H A D | pwconv.c | 271 sp->sp_max = maxweeks * 7; in main() 285 sp->sp_max = -1; in main() 326 sp->sp_max = -1; in main() 341 sp->sp_lstchg = sp->sp_min = sp->sp_max = -1; in main() 357 sp->sp_max = maxweeks * 7; in main()
|
/titanic_41/usr/src/lib/nsswitch/compat/common/ |
H A D | getspent.c | 140 override(fields[4], &sp->sp_max); 164 (sp->sp_max >= 0 && printnum(2, sp->sp_max),
|
/titanic_41/usr/src/head/ |
H A D | shadow.h | 66 int sp_max; /* number of days password is valid */ member
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | auth.c | 106 (int)spw->sp_lstchg, (int)spw->sp_max); in allowed_user() 123 if (spw->sp_max != -1 && in allowed_user() 124 today > spw->sp_lstchg + spw->sp_max) { in allowed_user()
|
/titanic_41/usr/src/lib/nsswitch/nis/common/ |
H A D | getspent.c | 85 spwd->sp_max = -1;
|
/titanic_41/usr/src/lib/libnisdb/yptol/ |
H A D | shim_changepasswd.c | 677 if (shadow->sp_max != -1) { in modify_ent() 1238 sp->sp_max = atoi(temp); in decode_shadow_entry() 1304 sp->sp_max, COLON_CHAR, in write_shadow_info()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 1347 || ((spwd->sp_max >= 0 && spwd->sp_max < 10000) 1349 && now >= spwd->sp_lstchg + spwd->sp_max)) {
|
/titanic_41/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 348 shadow_st.sp_max = -1; /* no max */ in main() 1638 sprintf(ctp, "%d", ssp->sp_max) + in ck_s_sz()
|
/titanic_41/usr/src/cmd/ypcmd/yppasswd/ |
H A D | changepasswd.c | 581 if (ospwd.sp_max != -1) { in changepasswd()
|
/titanic_41/usr/src/cmd/logins/ |
H A D | logins.c | 722 ppasswd->maxdaystilchg = psp->sp_max; in applypasswd()
|
/titanic_41/usr/src/cmd/ldap/ns_ldap/ |
H A D | ldapaddent.c | 3356 data.sp_max = ascii_to_int(ecol[4].ec_value.ec_value_val); in genent_shadow() 3357 if (data.sp_max < -1) { in genent_shadow() 3364 data.sp_max = -1; in genent_shadow()
|
/titanic_41/usr/src/lib/libsldap/common/ |
H A D | ns_writes.c | 1854 if (ptr->sp_max >= 0) { in __s_cvt_shadow() 1855 (void) sprintf(ibuf, "%d", ptr->sp_max); in __s_cvt_shadow()
|
/titanic_41/usr/src/uts/sun4u/starfire/sys/ |
H A D | idn.h | 3826 ulong_t sp_max; member
|
/titanic_41/usr/src/uts/sun4u/starfire/io/ |
H A D | idn.c | 2497 (new_value > idnpa->sp_max)) in idn_param_set()
|