misc/16238: e-bones has a Y2K bug
| From: | mharding@stamps.com |
| Date: | Thu, 20 Jan 2000 14:18:34 -0800 (PST) |
| Subject: | e-bones has a Y2K bug |
| Send-pr version: | www-1.0 |
| Number: | 16238 |
| Category: | misc |
| Synopsis: | e-bones has a Y2K bug |
| Severity: | serious |
| Priority: | medium |
| Responsible: | freebsd-bugs@FreeBSD.org |
| State: | closed |
| Class: | sw-bug |
| Arrival-Date: | Thu Jan 20 14:20:01 PST 2000 |
| Closed-Date: | Mon Mar 12 18:05:41 PST 2001 |
| Last-Modified: | Mon Mar 12 18:05:57 PST 2001 |
| Originator: | Mike Harding |
| Release: | 3.4-Stable |
| Organization: |
Stamps.com
| Environment: |
reeBSD medusa.stamps.com 3.4-STABLE FreeBSD 3.4-STABLE #0: Tue Jan 4 17:56:01 PST
2000 mharding@medusa.stamps.com:/usr/src/sys/compile/STAMPS i386
2000 mharding@medusa.stamps.com:/usr/src/sys/compile/STAMPS i386
| Description: |
KerberosIV install does not work properly because there is a hard-wired
expiration date of 12/31/99 in the Kerberos source for the ticket
granter.
expiration date of 12/31/99 in the Kerberos source for the ticket
granter.
| How-To-Repeat: |
Install Kerberos.
| Fix: |
Change the date in /usr/src/crypto/kerberosIV/admin/kdb_init.c - this
is hardwired to 12/31/99 which is not reasonable (any more). There was
some code in deja news which set this to 'now+1 year' or something
that could be folded in.
...
principal.exp_date = 946702799; /* Happy new century */
strncpy(principal.exp_date_txt, "12/31/99", DATE_SZ);
...
is hardwired to 12/31/99 which is not reasonable (any more). There was
some code in deja news which set this to 'now+1 year' or something
that could be folded in.
...
principal.exp_date = 946702799; /* Happy new century */
strncpy(principal.exp_date_txt, "12/31/99", DATE_SZ);
...
| Release-Note: |
| Audit-Trail: |
| State Changed | |
| From-To: | open->feedback |
| By: | nbm |
| When: | Mon Jun 26 03:41:21 PDT 2000 |
| Why: | In the international repo, we don't seem to have this problem? Does this exist elsewhere? |
| State Changed | |
| From-To: | feedback->closed |
| By: | des |
| When: | Mon Mar 12 18:05:41 PST 2001 |
| Why: | Seems to have been fixed quite a while ago. |
| Unformatted: |
