Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 314984 Details for
Bug 457835
CVE-2008-3274 IPA Kerberos master password disclosure
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The dump utility may set the expiration date to 0 which is a special value to be ignored or the account will stop working
freeipa-fix-expire.patch (text/plain), 1.59 KB, created by
Simo Sorce
on 2008-08-26 12:49:57 UTC
(
hide
)
Description:
The dump utility may set the expiration date to 0 which is a special value to be ignored or the account will stop working
Filename:
MIME Type:
Creator:
Simo Sorce
Created:
2008-08-26 12:49:57 UTC
Size:
1.59 KB
patch
obsolete
>From cb641d756f0b3e55cc795cacbf122d7b0a6b1c77 Mon Sep 17 00:00:00 2001 >From: Simo Sorce <ssorce@redhat.com> >Date: Wed, 6 Aug 2008 17:22:51 -0400 >Subject: [PATCH] Treat Jan 1 1970 in krbPrincipalExpiration as a special date that means the account Never Expires > >--- > .../ipa-pwd-extop/ipa_pwd_extop.c | 8 +++++--- > 1 files changed, 5 insertions(+), 3 deletions(-) > >diff --git a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c >index be440e8..56003f2 100644 >--- a/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c >+++ b/ipa-server/ipa-slapi-plugins/ipa-pwd-extop/ipa_pwd_extop.c >@@ -1240,10 +1240,11 @@ static int ipapwd_CheckPolicy(struct ipapwd_data *data) > int tmp, ret; > const char *old_pw; > >- /* check account is not expired */ >+ /* check account is not expired. Ignore unixtime = 0 (Jan 1 1970) */ > krbPrincipalExpiration = slapi_entry_attr_get_charptr(data->target, "krbPrincipalExpiration"); >- if (krbPrincipalExpiration) { >- /* if expiration date set check it */ >+ if (krbPrincipalExpiration && >+ (strcasecmp("19700101000000Z", krbPrincipalExpiration) != 0)) { >+ /* if expiration date is set check it */ > memset(&tm, 0, sizeof(struct tm)); > ret = sscanf(krbPrincipalExpiration, > "%04u%02u%02u%02u%02u%02u", >@@ -1261,6 +1262,7 @@ static int ipapwd_CheckPolicy(struct ipapwd_data *data) > } > /* FIXME: else error out ? */ > } >+ slapi_ch_free_string(&krbPrincipalExpiration); > > /* find the entry with the password policy */ > ret = ipapwd_getPolicy(data->dn, data->target, &policy); >-- >1.5.5.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 457835
:
314983
| 314984 |
314985
|
314986
|
314987
|
314988
|
314989