Bug 20424 - Passwortablaufdatum > 2038 auf i386 nicht möglich
Passwortablaufdatum > 2038 auf i386 nicht möglich
Status: RESOLVED DUPLICATE of bug 31746
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
: 22995 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-18 17:05 CEST by Murat Odabas
Modified: 2018-04-13 13:30 CEST (History)
5 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murat Odabas univentionstaff 2010-10-18 17:05:28 CEST
Beim Ändern des Administrator Passworts über UDM Web(billy) auf den gleichen Wert wie vorher
gibt es eine Fehlermeldung wie:
Beim Übernehmen der Änderungen ist ein Fehler aufgetreten: 
timestamp out of range for platform time_t

Dabei waren beide Haken "Passwort-History ignorieren" und "Passwort-Prüfungen ignorieren" gesetzt
Comment 1 Janis Meybohm univentionstaff 2010-10-19 10:50:57 CEST
(In reply to comment #0)
> Beim Ändern des Administrator Passworts über UDM Web(billy) auf den gleichen
> Wert wie vorher
> gibt es eine Fehlermeldung wie:
> Beim Übernehmen der Änderungen ist ein Fehler aufgetreten: 
> timestamp out of range for platform time_t
> 
> Dabei waren beide Haken "Passwort-History ignorieren" und "Passwort-Prüfungen
> ignorieren" gesetzt

Da Setzen eines neuen Passworts für den Administrator funktionier generell nicht.
Comment 2 Stefan Gohmann univentionstaff 2010-11-18 16:09:47 CET
Problem in dem Fall ist, dass das Passwortablaufintervall  auf 9999 steht.
Comment 3 Stefan Gohmann univentionstaff 2010-11-18 16:21:39 CET
Das Problem tritt nur auf i386-Systemen auf:

stefan@billy:~$ python2.4
Python 2.4.6 (#2, Sep 22 2009, 08:17:17)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> days=9999
>>> time.strftime("%d.%m.%y",time.gmtime((long(time.time()) + (days*3600*24))))
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ValueError: timestamp out of range for platform time_t
>>>

Workaround ist das Intervall etwas tiefer zu setzen, beispielsweise 9000 Tage.
Comment 4 Janis Meybohm univentionstaff 2011-01-10 15:05:28 CET
Aufgetreten an: 2011011010001421
Comment 5 Stefan Gohmann univentionstaff 2011-07-25 07:20:15 CEST
*** Bug 22995 has been marked as a duplicate of this bug. ***
Comment 6 Tobias Scherer univentionstaff 2011-10-14 11:47:32 CEST
so Ähnlich aufgetreten an Ticket#: 2011101310001747
Comment 7 Tobias Scherer univentionstaff 2011-10-14 11:58:16 CEST
(In reply to comment #6)
> so Ähnlich aufgetreten an Ticket#: 2011101310001747

Traceback (most recent call last):
 File "/usr/share/univention-webui/modules/requests.py", line 279, in 
 run_request self.dialog.init(0,xmlout,xmlout.documentElement)
 File "./unidialog.py", line 67, in init uniconf.init(self,a,b,c)
 File "/usr/share/univention-webui/modules/uniconf.py", line 185, in init 
 obj.init(input,xmlob,self.find_id(node,obj.id))
 File "/usr/share/univention-webui/modules/uniconf.py", line 164, in init 
 self.myinit()
 File "/usr/share/univention-directory-manager/uniconf/modwizard.py", 
 line 1642, in myinit self.find(self.save.get("uc_virtualmodule"))
 File "/usr/share/univention-directory-manager/uniconf/modwizard.py", 
 line 1210, in find 
 result[searchposition.getDn()]=settings.filterObjects(univention.admin.modules.lookup(search_module,
 None,
 
 self.lo, superordinate=superob, base=bas, filter=filter, scope=scope, 
 sizelimit=max_results-nresults))
 File "/usr/lib/python2.4/site-packages/univention/admin/modules.py", 
 line 740, in lookup tmpres=module.lookup(co, lo, filter, base=base, 
 superordinate=superordinate, scope=scope, unique=unique, 
 required=required, timeout=timeout, sizelimit=sizelimit)
 File 
 "/usr/lib/python2.4/site-packages/univention/admin/handlers/users/user.py", 
 line 3024, in lookup res.append(object(co, lo, None, dn))
 File 
 "/usr/lib/python2.4/site-packages/univention/admin/handlers/users/user.py", 
 line 1581, in __init__ 
 self.info['userexpiry']=time.strftime("%Y-%m-%d",time.gmtime(long(self.oldattr['sambaKickoffTime'][0
 ])+(3600*24)))
 ValueError: timestamp out of range for platform time_t
Comment 8 Tim Petersen univentionstaff 2013-07-02 15:48:12 CEST
Intern erneut aufgefallen.
Comment 9 Tim Petersen univentionstaff 2013-12-23 14:07:12 CET
*** Bug 31746 has been marked as a duplicate of this bug. ***
Comment 10 Tim Petersen univentionstaff 2013-12-23 14:13:50 CET

*** This bug has been marked as a duplicate of bug 31746 ***