Bug 12362 - [UDM] Traceback beim Entfernen der mailPrimaryAddress an GrpWare-Konto
[UDM] Traceback beim Entfernen der mailPrimaryAddress an GrpWare-Konto
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 2.3
All All
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
: 8240 16732 19470 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-14 10:06 CEST by Sönke Schwardt-Krummrich
Modified: 2022-06-30 14:39 CEST (History)
5 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 Sönke Schwardt-Krummrich univentionstaff 2008-10-14 10:06:10 CEST
An einem Groupware-Konto wurde die mailPrimaryAddress entfernt und auf OK geklickt. Der UDM hat dabei folgendes ins Logfile geschrieben.

14.10.08 10:02:03  ADMIN       ( ERROR   ) : CAUGHT EXCEPTION!
{'info': 'invalid DN', 'desc': 'Invalid DN syntax'}
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager/uniconf/modedit.py", line 5172, in apply
    self.object.modify()
  File "/usr/lib/python2.4/site-packages/univention/admin/handlers/__init__.py", line 302, in modify
    return self._modify(modify_childs,ignore_license=ignore_license)
  File "/usr/lib/python2.4/site-packages/univention/admin/handlers/__init__.py", line 660, in _modify
    self._ldap_post_modify()
  File "/usr/lib/python2.4/site-packages/univention/admin/handlers/users/user.py", line 2014, in _ldap_post_modify
    univention.admin.allocators.release( self.lo, self.position, 'mailPrimaryAddress', self[ 'mailPrimaryAddress' ] )
  File "/usr/lib/python2.4/site-packages/univention/admin/allocators.py", line 175, in release
    univention.admin.locking.unlock(lo, position, type, value, _type2scope[type])
  File "/usr/lib/python2.4/site-packages/univention/admin/locking.py", line 116, in unlock
    lo.delete(dn, exceptions=1)
  File "/usr/lib/python2.4/site-packages/univention/admin/uldap.py", line 372, in delete
    return self.lo.delete(dn)
  File "/usr/lib/python2.4/site-packages/univention/uldap.py", line 464, in delete
    self.lo.delete_s(dn)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 254, in delete_s
    return self.delete_ext_s(dn,None,None)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 248, in delete_ext_s
    return self.result(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 405, in result
    res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 409, in result2
    res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 415, in result3
    rtype, rdata, rmsgid, serverctrls = self._ldap_call(self._l.result3,msgid,all,timeout)
  File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 94, in _ldap_call
    result = func(*args,**kwargs)
INVALID_DN_SYNTAX: {'info': 'invalid DN', 'desc': 'Invalid DN syntax'}
Comment 1 Jan Christoph Ebersbach univentionstaff 2009-11-26 16:31:26 CET
Den gleichen Fehler konnte ich auf einem UCS 2.2-System ebenfalls nachvollziehen.
Comment 2 Jan Christoph Ebersbach univentionstaff 2010-08-17 08:35:33 CEST
*** Bug 8240 has been marked as a duplicate of this bug. ***
Comment 3 Jan Christoph Ebersbach univentionstaff 2010-08-17 08:35:55 CEST
*** Bug 16732 has been marked as a duplicate of this bug. ***
Comment 4 Jan Christoph Ebersbach univentionstaff 2010-08-17 08:36:05 CEST
*** Bug 19470 has been marked as a duplicate of this bug. ***
Comment 5 Ingo Steuwer univentionstaff 2010-09-15 14:49:00 CEST
Auf 2.3-2 ist der Traceback sowohl in einem Python-Skript als auch am UDM reproduzierbar, Schritte:

- User mit Kolab-Konto öffnen
- die Groupware-Option entfernen
- mailPrimaryAddress und Alias-Adressen entfernen

Meldung im UDM:

Beim Übernehmen der Änderungen ist ein Fehler aufgetreten:
{'info': 'invalid DN', 'desc': 'Invalid DN syntax'}

Workaround:
Nach dem Entfernen der Option speichern und in einem zweiten Schritt die Attribute verändern.
Comment 6 Ingo Steuwer univentionstaff 2010-09-15 14:51:06 CEST
Der Workaround ist nicht wirklich notwendig, die eigentliche Änderung wird gespeichert.
Comment 7 Andreas Büsching univentionstaff 2011-12-13 18:17:34 CET
Kolab ist nicht mehr Bestandteil des Produktes UCS
Comment 8 Janis Meybohm univentionstaff 2012-01-02 16:53:19 CET
Erneut gemeldet an: 2012010221002396