Univention Bugzilla – Bug 24351
UMC: Traceback bei Benutzer anlegen mit bestimmter Option
Last modified: 2013-07-10 14:18:58 CEST
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'
*** Bug 7331 has been marked as a duplicate of this bug. ***
*** Bug 8313 has been marked as a duplicate of this bug. ***
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.
(In reply to comment #3) > 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. Zu diesem Kommentar wurde ein weiterer Bug #26965 angelegt.
Tritt mit UCS 3.1-1 immernoch auf.
*** Bug 26965 has been marked as a duplicate of this bug. ***
Im Zuge von Bug #31868 mitbehoben.
(In reply to Lukas Walter from comment #6) > *** Bug 26965 has been marked as a duplicate of this bug. *** Kein Duplikat mehr, ich konnte den Bug auf einem UCS 3.1-1 errata128 nicht nachvollziehen. Er scheint vorher schon gefixt.
I can now create a user with only the option "person" set. Erratum changes → OK YAML file → OK 3.2 changes → OK 3.2 changelog → OK
YAML file: 2013-06-25-univention-directory-manager-modules.yaml
http://errata.univention.de/ucs/3.1/147.html