Bug 30152 - requests with empty school causes LDAP_ConnectionError
requests with empty school causes LDAP_ConnectionError
Status: CLOSED DUPLICATE of bug 42399
Product: UCS@school
Classification: Unclassified
Component: UMC
UCS@school 3.1
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Florian Best
Daniel Tröder
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-24 10:02 CET by Florian Best
Modified: 2016-12-12 13:16 CET (History)
1 user (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 Florian Best univentionstaff 2013-01-24 10:02:32 CET
If no school is setted up (on a slave) UMC sends an empty string as school, this causes:

request: umcp/command/schoolusers/groups
{"options":{"school":""},"flavor":"student"}

Die Ausführung des Kommandos schoolusers/query ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute
    func( request )
  File "/usr/lib/pymodules/python2.6/ucsschool/lib/schoolldap.py", line 215, in wrapper_func
    raise LDAP_ConnectionError( str( e ) )
LDAP_ConnectionError: Invalid DN syntax: invalid DN

this happens on internetrules and passwords module, maybe some more...
Comment 1 Florian Best univentionstaff 2013-01-24 10:26:27 CET

*** This bug has been marked as a duplicate of bug 30090 ***
Comment 2 Florian Best univentionstaff 2016-11-11 15:48:36 CET

*** This bug has been marked as a duplicate of bug 42399 ***
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2016-12-12 13:16:29 CET
UCS@school 4.1 R2 v9 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.1R2v9-de.html