rpms/krb5/devel krb5-1.7-exp_warn.patch,NONE,1.1
Nalin Dahyabhai
nalin at fedoraproject.org
Mon Jan 18 20:03:17 UTC 2010
- Previous message: rpms/rcssmonitor/devel .cvsignore, 1.5, 1.6 rcssmonitor.spec, 1.9, 1.10 sources, 1.5, 1.6
- Next message: rpms/rcsslogplayer/devel .cvsignore, 1.6, 1.7 rcsslogplayer.spec, 1.10, 1.11 sources, 1.6, 1.7 rcsslogplayer-13.1.0-gcc4_4fix.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nalin
Update of /cvs/extras/rpms/krb5/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9131
Added Files:
krb5-1.7-exp_warn.patch
Log Message:
- suppress warnings of impending password expiration if expiration is more than
seven days away when the KDC reports it via the last-req field, just as we
already do when it reports expiration via the key-expiration field (#556495)
krb5-1.7-exp_warn.patch:
gic_pwd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- NEW FILE krb5-1.7-exp_warn.patch ---
Don't warn of expiration reported the new way if it's more than a week from
now, for consistency with the code that handles expiration times reported the
old way.
diff -up krb5-1.7/src/lib/krb5/krb/gic_pwd.c krb5-1.7/src/lib/krb5/krb/gic_pwd.c
--- krb5-1.7/src/lib/krb5/krb/gic_pwd.c 2010-01-18 11:12:02.000000000 -0500
+++ krb5-1.7/src/lib/krb5/krb/gic_pwd.c 2010-01-18 11:11:50.000000000 -0500
@@ -389,7 +389,8 @@ cleanup:
delta / 86400, ts);
/* ignore an error here */
/* PROMPTER_INVOCATION */
- (*prompter)(context, data, 0, banner, 0, 0);
+ if (delta < 86400 * 7)
+ (*prompter)(context, data, 0, banner, 0, 0);
}
}
}
- Previous message: rpms/rcssmonitor/devel .cvsignore, 1.5, 1.6 rcssmonitor.spec, 1.9, 1.10 sources, 1.5, 1.6
- Next message: rpms/rcsslogplayer/devel .cvsignore, 1.6, 1.7 rcsslogplayer.spec, 1.10, 1.11 sources, 1.6, 1.7 rcsslogplayer-13.1.0-gcc4_4fix.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list