Bug 38720 - Improve error message when the wrong password was given
Improve error message when the wrong password was given
Status: CLOSED WORKSFORME
Product: UCS@school
Classification: Unclassified
Component: UMC - Installer
UCS@school 3.2 R2
Other Linux
: P5 enhancement with 2 votes (vote)
: UCS@school 4.3 v4
Assigned To: Daniel Tröder
Jürn Brodersen
:
Depends on: 34490 34498 43389
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-17 10:29 CEST by Michael Grandjean
Modified: 2018-07-04 18:12 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
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 Michael Grandjean univentionstaff 2015-06-17 10:29:59 CEST
While going through the UCS@school configuration wizard, I had a typo in the domain admin password. Several pages later in the wizard, I got an error message:

> "Der UMC-Server ucs01.domain.tld kann nicht erreicht werden."

So, I started looking after a problem on the master (are the services running? etc), while the actual problem was the wrong password. 
The logfile management-console-module-schoolinstaller.log on the school slave was more revealing:

> 17.06.15 10:14:03.935  MODULE      ( ERROR   ) : Failed to launch UMC query: ['/usr/sbin/umc-get', '-U', 'Administrator', '-y', '/tmp/tmpZjz8fd', '-s', 'ucs01.domain.tld', 'ucr', '-l', '-o', 'ldap/base', '-o', 'ldap/master/port']
> 17.06.15 10:14:01.861  DEBUG_INIT
error: authentication failed
> 17.06.15 10:14:03.936  MODULE      ( WARN    ) : Could not query the LDAP base of the master system ucs01.domain.tld.

We should extend the shown error message to something like this:

"Anmeldung am UMC-Server ucs01.domain.tld fehlgeschlagen. Gegebenfalls ist der Server nicht erreichbar oder das angegebene Passwort ist nicht korrekt."
Comment 1 Florian Best univentionstaff 2017-03-14 13:26:46 CET
This might be fixed by UCS@school 4.1R2?
Comment 2 Daniel Tröder univentionstaff 2018-05-23 22:31:50 CEST
UCS@school 4.1 is not maintained anymore.
In UCS@school 4.2 and 4.3 the school-installer does not request the domain administrators password anymore.
Even if logged in via SAML, the UMCs password popup would check the password and create a proper error message.
Comment 3 Jürn Brodersen univentionstaff 2018-05-23 22:51:57 CEST
OK: the code that throw that error does not exists in 4.3 anymore.

-> Verified
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2018-07-04 18:12:26 CEST
UCS@school 4.3 v4 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.3v4-de.html

If this error occurs again, please clone this bug.