Bug 53486 - univention-app install samba4 doesn't handle wrong password properly
univention-app install samba4 doesn't handle wrong password properly
Status: NEW
Product: UCS
Classification: Unclassified
Component: App Center
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-21 13:33 CEST by Arvid Requate
Modified: 2021-06-21 13:33 CEST (History)
0 users

See Also:
What kind of report is it?: Development Internal
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 Arvid Requate univentionstaff 2021-06-21 13:33:24 CEST
When entering a wrong Administrator during installation on app "samba4" on a DC-Backup the "univention-app" script neither asks again (I remember it used to as again?) nor does it offer a hint that anything needs to be done. Instead it shows a strange error messsage when running the command again:

=====================================
Configuring samba4=4.13
updating certificates for samba4=4.13
Password for Administrator: 
Administrator@primary20.ucs50domain.net: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
Administrator@primary20.ucs50domain.net: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
Administrator@primary20.ucs50domain.net: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive).
Search LDAP binddn: 

**************************************************************************
* Running join scripts failed!                                           *
**************************************************************************
* Message:  binddn for user Administrator not found
**************************************************************************
Potential script hook folder is unused: /var/lib/univention-appcenter/apps/samba4/local/hooks/post-install.d
File: /usr/share/univention-management-console/modules/apps.xml

File: /etc/apt/apt.conf.d/55user_agent

File: /usr/share/univention-management-console/i18n/de/apps.mo

root@backup21:~# univention-app install samba4
Resolving dependencies for samba4
Going to install Active Directory-kompatibler Domänencontroller (4.13)
(must_have_no_conflicts_apps) The application conflicts with the following applications:
                        {'samba4': [{'id': 'samba4', 'name': 'Active Directory-kompatibler Domänencontroller'}]}
(must_not_be_installed) This application is already installed
Unable to install. Aborting...
Failure will leave these apps untouched: samba4
root@backup21:~# 
==============================================