Univention Bugzilla – Bug 20424
Passwortablaufdatum > 2038 auf i386 nicht möglich
Last modified: 2018-04-13 13:30:01 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
(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.
Problem in dem Fall ist, dass das Passwortablaufintervall auf 9999 steht.
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.
Aufgetreten an: 2011011010001421
*** Bug 22995 has been marked as a duplicate of this bug. ***
so Ähnlich aufgetreten an Ticket#: 2011101310001747
(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
Intern erneut aufgefallen.
*** Bug 31746 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 31746 ***