Bug 46932

Summary: UMC: Error reading credentials from LDAP: IndexError: list index out of range
Product: UCS Reporter: Philipp Hahn <hahn>
Component: UMC (Generic)Assignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Jürn Brodersen <brodersen>
Severity: normal    
Priority: P5 CC: best
Version: UCS 5.0   
Target Milestone: UCS 5.0   
Hardware: Other   
OS: Linux   
See Also: http://forge.univention.org/bugzilla/show_bug.cgi?id=41052
What kind of report is it?: Bug Report What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 1: Will affect a very few installed domains How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.006 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:

Description Philipp Hahn univentionstaff 2018-05-03 10:34:52 CEST
UCS-4.3-0 installation from DVD:

03.05.18 09:28:12.860  DEBUG_INIT
03.05.18 09:28:12.861  MAIN        ( PROCESS ) : Stopping UMC server ...
03.05.18 09:28:12.862  MAIN        ( PROCESS ) : The UMC server is still running. Will wait for 5 seconds
03.05.18 09:28:12.871  MAIN        ( WARN    ) : Shutting down all open connections
03.05.18 09:28:13.363  MAIN        ( PROCESS ) : Starting UMC server ...
03.05.18 09:28:15.419  MAIN        ( PROCESS ) : Server started
03.05.18 09:31:48.971  MAIN        ( WARN    ) : Module None (command='setup/closebrowser', id='152533270870938-0') does not exists anymore
03.05.18 09:31:49.056  MODULE      ( PROCESS ) : Verboten
03.05.18 09:31:49.423  MODULE      ( PROCESS ) : Setting auth type to None
03.05.18 09:31:49.425  ACL         ( WARN    ) : Error reading credentials from LDAP: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/acl.py", line 368, in _read_from_ldap
    userdn = self.lo.searchDn(filter_format('(&(objectClass=person)(uid=%s))', [self.username]), unique=True)[0]
IndexError: list index out of range

03.05.18 09:31:49.481  MAIN        ( PROCESS ) : Updating user password in 0 running module processes (auth-type: None).
03.05.18 09:31:49.584  MAIN        ( PROCESS ) : running: ['/usr/sbin/univention-management-console-module', '-m', 'setup', '-s', '/var/run/univention-management-console/9241-1525332709584.socket', '-d', '2', '-l', 'de_DE.UTF-8']
03.05.18 09:32:00.720  MAIN        ( WARN    ) : Shutting down all open connections
Comment 1 Florian Best univentionstaff 2020-06-22 11:21:57 CEST
I still see these tracebacks on a lot of systems.
Comment 2 Florian Best univentionstaff 2020-11-13 15:19:34 CET
This was already merged, I added the changelog entry:

univention-management-console (12.0.0-13)
f4fe6995b43a | Bug #46932 UMC: dont log traceback when root logs in

changelog-5.0-0.xml
658d3e7641ec | Changelog Bug #46932
Comment 3 Jürn Brodersen univentionstaff 2021-03-11 10:38:44 CET
Traceback is gone -> OK
changelog -> OK
Comment 4 Florian Best univentionstaff 2021-05-25 16:01:25 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".