Bug 31746 - Syntax for password expiry in password policy should be limited
Syntax for password expiry in password policy should be limited
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UMC - Policies
UCS 3.0
Other Linux
: P5 minor (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
: 20424 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-14 14:14 CEST by Moritz Muehlenhoff
Modified: 2017-08-08 07:08 CEST (History)
4 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 Moritz Muehlenhoff univentionstaff 2013-06-14 14:14:10 CEST
The password expiry interval was set to 999999999. When creating a user to which the policy applies the following traceback occurs:

  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 2139, 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
Comment 1 Tim Petersen univentionstaff 2013-12-23 14:07:12 CET

*** This bug has been marked as a duplicate of bug 20424 ***
Comment 2 Tim Petersen univentionstaff 2013-12-23 14:13:35 CET
Reopen
Comment 3 Tim Petersen univentionstaff 2013-12-23 14:13:50 CET
*** Bug 20424 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Gohmann univentionstaff 2017-06-16 20:39:41 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 5 Stefan Gohmann univentionstaff 2017-08-08 07:08:01 CEST
This issue has been filed against UCS 3.0.

UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.