Bug 37320

Summary: Make more ldap.conf options configurable
Product: Z_Univention Corporate Client (UCC) Reporter: Michael Grandjean <grandjean>
Component: GeneralAssignee: Moritz Muehlenhoff <jmm>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5 CC: jmm
Version: UCC 1.0   
Target Milestone: UCC 1.0-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- 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:

Description Michael Grandjean univentionstaff 2014-12-12 14:43:04 CET
In Addtion to Bug #36352 there are more options in ldap.conf that should be configurable via UCR:

- TIMEOUT <integer>
Specifies  a  timeout  (in  seconds)  after  which  calls  to  synchronous LDAP APIs will abort if no response is received.

- TIMELIMIT <integer>
Specifies  a  time  limit  (in  seconds) to use when performing searches.

For example, these options can reduce boot duration when dealing with non-standard behaviour of DSL routers in home office situations.

See also Ticket#2014081121000159
Comment 1 Moritz Muehlenhoff univentionstaff 2014-12-15 08:53:04 CET
Fixed. New variables:

[ucc/ldap/timeout]
Description[de]=Konfiguriert einen Timeout für LDAP-Abfragen. Kann keine Verbindung aufgebaut werden, wird nach diesem Zeitraum abgebrochen (Standard: 10 Sekunden)
Description[en]=Configures a timeout for LDAP queries if no connection can be established (default: 10 seconds)

[ucc/ldap/timelimit]
Description[de]=Konfiguriert eine maximale Dauer von LDAP-Abfragen in Sekunden (Standard: 10 Sekunden)
Description[en]=Configures a maximum length of LDAP queries in seconds (default: 10 seconds)

YAML file: 2014-12-04-univention-ucc-pam.yml
Comment 2 Felix Botner univentionstaff 2014-12-15 12:13:22 CET
OK - ucc/ldap/timeout, ucc/ldap/timelimit
OK - YAML
Comment 3 Moritz Muehlenhoff univentionstaff 2014-12-15 14:45:28 CET
http://errata.univention.de/ucc/1.0/40.html