UCS 3.1-1: Benutzer anlegen: timestamp out of range

Hallo Forum,

beim Versuch, einen neuen Benutzer über die Univention Management Console auf einem
UCS 3.1-1 anzulegen, erscheint die folgende Fehlermeldung:

[code]File “/usr/lib/pymodules/python2.6/notifier/threads.py”, line 82, in _run
tmp = self._function()
File “/usr/lib/pymodules/python2.6/notifier/init.py”, line 104, in call
return self._function( tmp, **self._kwargs )
File “/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/init.py”, line 321, in _thread
dn = module.create( properties, container = options.get( ‘container’ ), superordinate = options.get( ‘superordinate’ ) )
File “/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py”, line 155, in wrapper_func
ret = func( args, **kwargs )
File “/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py”, line 350, in create
obj.create()
File “/usr/lib/pymodules/python2.6/univention/admin/handlers/init.py”, line 332, in create
return self._create()
File “/usr/lib/pymodules/python2.6/univention/admin/handlers/init.py”, line 630, in _create
al.extend(self._ldap_modlist())
File “/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py”, line 2137, in _ldap_modlist
expiry=time.strftime("%d.%m.%y",time.gmtime((long(time.time()) + (expiryInterval
3600
24))))

ValueError: timestamp out of range for platform time_t[/code]

Hat irgendjemand eine Idee, wie der Fehler zu beheben ist, damit man wieder Benutzer anlegen kann?

Hallo,

dieses Verhalten ist uns bei der Verwendung von einer zu hohen Anzahl an Tagen für das Passwortablaufintervall auf i386 Systemen bekannt.
[bug]31746[/bug]

Haben Sie hier einen besonders hohen Wert gesetzt?

Mit freundlichen Grüßen,
Tim Petersen

Hallo Herr Petersen,

wenn das Passwort-Ablaufintervall in der Passwort-Richtline einen niedrigen Wert erhält (z.B.1000), lassen sich wieder Benutzer anlegen.

Können Sie bitte den Maximalwert für das Passwort-Ablaufintervall auf i386-Systemen angeben?
Vielen Dank.

Hallo,

[quote=“Python time lib”]
“The functions in this module do not handle dates and times before the epoch or far in the future. The cut-off point in the future is determined by the C library; for Unix, it is typically in 2038”
[/quote]

Der Maximalwert müsste momentan demnach 8774 Tage sein.

Mit freundlichen Grüßen,
Tim Petersen

Mastodon