Searched refs:sp_max (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dputspent.c56 if (p->sp_max >= 0)
57 (void) fprintf(f, "%d:", p->sp_max);
H A Dgetspent_r.c217 shadow->sp_max = -1;
247 if (!getfield(&p, limit, 0, &shadow->sp_max))
/illumos-gate/usr/src/lib/passwdutil/
H A Dutils.c186 * MAXWEEKS==0 (results in sp_max = default)
192 spw->sp_max = 7 * maxweeks;
193 if (spw->sp_max == 0)
194 spw->sp_max = 7 * MAXWEEKS;
195 if (spw->sp_max < 0)
196 spw->sp_max = -1;
H A Dldap_attr.c352 w->data.val_i = spw->sp_max;
569 * if sp_max==0 and shadow update is enabled:
572 disable_aging = (spw != NULL && spw->sp_max == 0 &&
782 if (spw->sp_max == -1 && p->data.val_i != -1 &&
795 spw->sp_max = spw->sp_min = spw->sp_warn = -1;
822 if (spw->sp_max == -1 &&
840 if (spw->sp_max == -1 &&
910 if (ldapbuf->shadow_update_enabled && spw != NULL && spw->sp_max <= 0) {
915 spw->sp_min = spw->sp_max = spw->sp_warn = -1;
931 spw->sp_max) <
[all...]
H A Dfiles_attr.c581 w->data.val_i = spw->sp_max;
658 * if sp_max==0 : disable passwd aging after updating the password
660 disable_aging = (spw != NULL && spw->sp_max == 0);
783 if (spw->sp_max == -1 &&
818 if (spw->sp_max == -1 &&
825 spw->sp_max = p->data.val_i;
831 if (spw->sp_max == -1 && p->data.val_i != -1 &&
877 if (spw != NULL && spw->sp_max <= 0) {
882 spw->sp_min = spw->sp_max = spw->sp_warn = -1;
H A Dswitch_utils.c550 shadow->sp_max = -1;
580 if (!getfield(&p, limit, 0, &shadow->sp_max))
H A Dnss_attr.c288 w->data.val_i = spw->sp_max;
/illumos-gate/usr/src/head/
H A Dshadow.h66 int sp_max; /* number of days password is valid */ member in struct:spwd
/illumos-gate/usr/src/lib/pam_modules/unix_account/
H A Dunix_acct.c164 if (((shpwd->sp_max == -1) ||
168 (shpwd->sp_max >= shpwd->sp_min)))) {
207 if (shpwd->sp_max < 0 || shpwd->sp_max < shpwd->sp_min)
211 if (now < (time_t)(shpwd->sp_lstchg + shpwd->sp_max))
251 if ((shpwd.sp_warn > 0) && (shpwd.sp_max > 0) &&
252 (now + shpwd.sp_warn) >= (time_t)(shpwd.sp_lstchg + shpwd.sp_max)) {
253 days = (time_t)(shpwd.sp_lstchg + shpwd.sp_max) - now;
396 shpwd.sp_max = attr_spw[2].data.val_i;
424 user, pw, shpwd.sp_lstchg, shpwd.sp_min, shpwd.sp_max,
[all...]
/illumos-gate/usr/src/lib/nsswitch/compat/common/
H A Dgetspent.c140 override(fields[4], &sp->sp_max);
164 (sp->sp_max >= 0 && printnum(2, sp->sp_max),
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c271 sp->sp_max = maxweeks * 7;
285 sp->sp_max = -1;
326 sp->sp_max = -1;
341 sp->sp_lstchg = sp->sp_min = sp->sp_max = -1;
357 sp->sp_max = maxweeks * 7;
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgetspent.c85 spwd->sp_max = -1;
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_changepasswd.c680 if (shadow->sp_max != -1) {
1240 sp->sp_max = atoi(temp);
1306 sp->sp_max, COLON_CHAR,
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c1347 || ((spwd->sp_max >= 0 && spwd->sp_max < 10000)
1349 && now >= spwd->sp_lstchg + spwd->sp_max)) {
/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c348 shadow_st.sp_max = -1; /* no max */
1638 sprintf(ctp, "%d", ssp->sp_max) +
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c581 if (ospwd.sp_max != -1) {
/illumos-gate/usr/src/cmd/logins/
H A Dlogins.c722 ppasswd->maxdaystilchg = psp->sp_max;
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c3356 data.sp_max = ascii_to_int(ecol[4].ec_value.ec_value_val);
3357 if (data.sp_max < -1) {
3359 gettext("invalid sp_max : %s"),
3364 data.sp_max = -1;
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_writes.c1854 if (ptr->sp_max >= 0) {
1855 (void) sprintf(ibuf, "%d", ptr->sp_max);
/illumos-gate/usr/src/uts/sun4u/starfire/sys/
H A Didn.h3826 ulong_t sp_max; member in struct:idnparam
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn.c2497 (new_value > idnpa->sp_max))

Completed in 159 milliseconds