Univention Bugzilla – Bug 42310
Login to UMC on DC Slave takes very long if UCS Master is down
Last modified: 2016-11-16 14:12:56 CET
If the UCS Master is not reachable, the login to the UMC on a school server takes a very long time (~ 45 seconds in my case). If the Master becomes reachable again, it only takes about 2-3 seconds. Reproducible in my test env. Network master: 10.200.30.0/24 Network school: 10.200.23.0/24 UMC is accessed via IP (not Hostname/FQDN, no SSO), login as Administrator UCS 4.1-3 errata 239 UCS@school 4.1 R2 v4
Also Ticket#2016082621000083
because of the environment this may gain severity quickly. Since the behaviour may happen generally in @school environments with a similar setting (bad connection between school sites and the master) and the UMC is a major administration tool in these environments I bumped the Bug-type to "5".
Do we have any information that indicate the root cause of the problem?
(In reply to Sönke Schwardt-Krummrich from comment #3) > Do we have any information that indicate the root cause of the problem? What do you mean with root cause? 1. Why the DC Master is not available or 2. Why this is so slow 2. → PAM (the timeouts in each module of the pam stack)
Created attachment 8139 [details] patch Ahh, no! I checked the whole UMC-Server code and got the problem. There is a ldap connection to the master - which is obviously wrong. Patch attached.
Created attachment 8140 [details] patch
Introduced in Bug #38826 svn r62117
univention-management-console.yaml: r74235 | YAML Bug #42310 univention-management-console (8.0.28-20): r74234 | Bug #42310: don't connect to DC Master ldap on every UMC login attempt
OK - UMC login with unreachable master OK - YAML OK - merged to 4.2-0
<http://errata.software-univention.de/ucs/4.1/326.html>