Bug 55622 - The ad-connector fails silently when required ucr variables are unset
The ad-connector fails silently when required ucr variables are unset
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Connector
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-01-31 14:00 CET by Johannes Lohmer
Modified: 2023-01-31 14:00 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.091
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 Johannes Lohmer univentionstaff 2023-01-31 14:00:24 CET
How to reproduce:

service univention-ad-connector stop
ucr unset connector/ad/ldap/base
tail -f /var/log/univention/connector2-ad-status.log

service univention-ad-connector restart

This case is unlikely to occur with the default connector but when additional connectors are created with the `prepare-new-instance` script. Lots of ucr variables including <connectorName>/ad/ldap/base are just not set.

If it is set to a wrong value or to empty, You at least get a traceback to the log file. `ucr set connector2/ad/ldap/base=""`