Bug 26965 - UMC: Traceback bei Benutzer anlegen mit bestimmter Option
UMC: Traceback bei Benutzer anlegen mit bestimmter Option
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.2-x
Assigned To: UMC maintainers
:
: 8433 29209 (view as bug list)
Depends on: 24351
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-02 14:21 CEST by Jan Christoph Ebersbach
Modified: 2013-07-03 10:09 CEST (History)
9 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 Jan Christoph Ebersbach univentionstaff 2012-05-02 14:21:17 CEST
Wenn ich im UMC einen Benutzer anlege, der nur die Option Posix Konto aktiviert
hat, gibt es in der GUI den Fehler "Das UDM-Objekt konnte nicht gespeichert
werden: LDAP-Fehler". Erst mit dem Aktivieren der Option Persönliche
Informationen ist das Anlegen möglich.

+++ This bug was initially created as a clone of Bug #24351 +++

Wenn ich in UMC einen Benutzer anlege, und unter [Optionen] nur 'Persönliche
Informationen' aktiviere bekomme ich diesen Traceback beim erstellen des
Benutzers:

File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, 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 237, 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 130, in wrapper_func
ret = func( *args, **kwargs )
File
'/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py',
line 290, 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
627, in _create
al.extend(self._ldap_modlist())
File '/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py',
line 2249, in _ldap_modlist
if self.hasChanged('locked'):
File '/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py',
line 1640, in hasChanged
return self.__pwd_is_locked(password) or
File '/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py',
line 1236, in __pwd_is_locked
if password.startswith('{crypt}!') or password.startswith('{LANMAN}!'):

AttributeError: 'NoneType' object has no attribute 'startswith'
Comment 1 Stefan Gohmann univentionstaff 2012-11-12 20:44:07 CET
*** Bug 8433 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Gohmann univentionstaff 2012-11-12 20:44:24 CET
*** Bug 29209 has been marked as a duplicate of this bug. ***
Comment 3 Lukas Walter univentionstaff 2013-07-02 13:53:55 CEST

*** This bug has been marked as a duplicate of bug 24351 ***
Comment 4 Alexander Kläser univentionstaff 2013-07-03 10:09:19 CEST
Kein Duplikat mehr. Ich konnte den Bug auf einem UCS 3.1-1 errata128 nicht nachvollziehen.