Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libc/port/gen/
H A Dputspent.c60 if (p->sp_warn > 0) in putspent()
61 (void) fprintf(f, "%d:", p->sp_warn); in putspent()
H A Dgetspent_r.c218 shadow->sp_warn = -1; in str2spwd()
249 if (!getfield(&p, limit, 0, &shadow->sp_warn)) in str2spwd()
/titanic_41/usr/src/cmd/pwconv/
H A Dpwconv.c272 sp->sp_warn = -1; in main()
286 sp->sp_warn = -1; in main()
327 sp->sp_warn = -1; in main()
342 sp->sp_warn = sp->sp_inact = sp->sp_expire = -1; in main()
358 sp->sp_warn = -1; in main()
/titanic_41/usr/src/lib/nsswitch/compat/common/
H A Dgetspent.c141 override(fields[5], &sp->sp_warn);
165 (sp->sp_warn > 0 && printnum(3, sp->sp_warn),
/titanic_41/usr/src/lib/passwdutil/
H A Dutils.c198 spw->sp_warn = 7 * warnweeks; in turn_on_default_aging()
199 if (spw->sp_warn <= 0) in turn_on_default_aging()
200 spw->sp_warn = -1; in turn_on_default_aging()
H A Dfiles_attr.c584 w->data.val_i = spw->sp_warn; in files_getattr()
794 spw->sp_warn = -1; in files_update()
834 spw->sp_warn = p->data.val_i; in files_update()
882 spw->sp_min = spw->sp_max = spw->sp_warn = -1; in files_update()
H A Dldap_attr.c358 w->data.val_i = spw->sp_warn; in ldap_getattr()
795 spw->sp_max = spw->sp_min = spw->sp_warn = -1; in ldap_update()
915 spw->sp_min = spw->sp_max = spw->sp_warn = -1; in ldap_update()
934 _S_WARNING, spw->sp_warn) < 0) in ldap_update()
H A Dswitch_utils.c551 shadow->sp_warn = -1;
582 if (!getfield(&p, limit, 0, &shadow->sp_warn))
H A Dnss_attr.c291 w->data.val_i = spw->sp_warn; in nss_getattr()
/titanic_41/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c251 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()
397 shpwd.sp_warn = attr_spw[3].data.val_i; in pam_sm_acct_mgmt()
425 shpwd.sp_warn, shpwd.sp_inact, shpwd.sp_expire); in pam_sm_acct_mgmt()
/titanic_41/usr/src/head/
H A Dshadow.h67 int sp_warn; /* number of days to warn user to change passwd */ member
/titanic_41/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c86 spwd->sp_warn = -1;
/titanic_41/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c1243 sp->sp_warn = atoi(temp); in decode_shadow_entry()
1305 sp->sp_warn, COLON_CHAR, in write_shadow_info()
/titanic_41/usr/src/cmd/passmgmt/
H A Dpassmgmt.c349 shadow_st.sp_warn = -1; /* no warn */ in main()
1639 sprintf(ctp, "%d", ssp->sp_warn) + in ck_s_sz()
/titanic_41/usr/src/cmd/logins/
H A Dlogins.c723 ppasswd->warninterval = psp->sp_warn; in applypasswd()
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c3369 data.sp_warn = ascii_to_int(ecol[5].ec_value.ec_value_val); in genent_shadow()
3370 if (data.sp_warn < -1) { in genent_shadow()
3377 data.sp_warn = -1; in genent_shadow()
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_writes.c1862 if (ptr->sp_warn >= 0) { in __s_cvt_shadow()
1863 (void) sprintf(ibuf, "%d", ptr->sp_warn); in __s_cvt_shadow()