Bug 53943 - Add possibility to select LDAP server in univention.lib.policy_result
Summary: Add possibility to select LDAP server in univention.lib.policy_result
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: univention-lib
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-0-errata
Assignee: Esteban
QA Contact: Florian Best
URL:
Keywords:
Depends on:
Blocks: 53343 53348
  Show dependency treegraph
 
Reported: 2021-10-18 18:10 CEST by Florian Best
Modified: 2021-11-03 17:01 CET (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):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2021-10-18 18:10:01 CEST
univention-policy-result offers the `-h` parameter which can be used to select a LDAP server.

But `univention.lib.policy_result.policy_result()` doesn't offer an option to specify it.
As we need it in several scripts, it should be added.
Comment 1 Esteban univentionstaff 2021-10-19 17:56:39 CEST
Added LDAP server argument in univention.lib.policy_result


univention-policy.yaml
7a37561cbdf2 | Bug #53943: Added LDAP server argument in univention.lib.policy_result

univention-policy (11.0.1-2)
7a37561cbdf2 | Bug #53943: Added LDAP server argument in univention.lib.policy_result

11.0.1-2A~5.0.0.202110191744
Comment 2 Florian Best univentionstaff 2021-10-20 01:11:51 CEST
OK: univention.lib.policy_result.policy_result(…, ldap_server='foo')
OK: YAML