Univention Bugzilla – Bug 34873
allow configuration of slapd.conf limits via ucr
Last modified: 2016-09-07 18:41:33 CEST
The current slapd template does not allow to configure the "limits" option /etc/univention/templates/files/etc/ldap/slapd.conf.d/40univention-ldap-server_database: limits users time.soft=-1 time.hard=-1 We need an ucr var for limits (e.g. to configure pagedResults searchs -> limits users time.soft=-1 time.hard=-1 size.pr=50 size.prtotal=unlimited).
Created attachment 5957 [details] slapd-limits.patch
Created attachment 5959 [details] slapd-limits.patch
*** Bug 41429 has been marked as a duplicate of this bug. ***
*** Bug 41647 has been marked as a duplicate of this bug. ***
Added UCR ldap/limits (; separated list of limit options) -> ucr set ucr set ldap/limits='group/univentionGroup/uniqueMember="cn=Domain Admins,cn=groups,o=XY,o=ZZ" size.soft=2000 size.hard=5000;users time.soft=-1 time.hard=-1' -> more /etc/ldap/slapd.conf | grep limits limits group/univentionGroup/uniqueMember="cn=Domain Admins,cn=groups,o=XY,o=ZZ" size.soft=2000 size.hard=5000 limits users time.soft=-1 time.hard=-1 univention-ldap.yaml merged to 4.2
Code review: OK ucs-test: OK Tests: OK YAML: OK (small adjustment r72334)
<http://errata.software-univention.de/ucs/4.1/249.html>