Univention Bugzilla – Attachment 5957 Details for
Bug 34873
allow configuration of slapd.conf limits via ucr
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
slapd-limits.patch
slapd-limits.patch (text/plain), 2.73 KB, created by
Felix Botner
on 2014-06-13 13:48:00 CEST
(
hide
)
Description:
slapd-limits.patch
Filename:
MIME Type:
Creator:
Felix Botner
Created:
2014-06-13 13:48:00 CEST
Size:
2.73 KB
patch
obsolete
>Index: debian/univention-ldap-server.postinst >=================================================================== >--- debian/univention-ldap-server.postinst (Revision 51045) >+++ debian/univention-ldap-server.postinst (Arbeitskopie) >@@ -99,6 +99,7 @@ > ldap/acl/slavepdc?yes \ > ldap/acl/nestedgroups?yes \ > ldap/autostart?yes \ >+ ldap/limits/users?"time.soft=-1 time.hard=-1" \ > ldap/maxopenfiles?8192 # Bug #17705 > > # UDM Property Attributes >Index: debian/univention-ldap-server.univention-config-registry >=================================================================== >--- debian/univention-ldap-server.univention-config-registry (Revision 51045) >+++ debian/univention-ldap-server.univention-config-registry (Arbeitskopie) >@@ -51,6 +51,7 @@ > Type: subfile > Multifile: etc/ldap/slapd.conf > Subfile: etc/ldap/slapd.conf.d/40univention-ldap-server_database >+Variables: ldap/limits/.* > Variables: ldap/server/type > Variables: ldap/master > Variables: ldap/master/port >Index: debian/univention-ldap-server.univention-config-registry-variables >=================================================================== >--- debian/univention-ldap-server.univention-config-registry-variables (Revision 51045) >+++ debian/univention-ldap-server.univention-config-registry-variables (Arbeitskopie) >@@ -167,3 +167,9 @@ > Description[en]=This variable configures the frequency for checkpointing the database transaction log upon updating the database. Changes are only needed in exceptional cases and should be tested carefully. The syntax is documented at <http://www.openldap.org/faq/data/cache/1072.html>. > Type=str > Categories=service-ldap >+ >+[ldap/limits/*] >+Description[de]=Zeit- oder GröÃenlimits anhand des Initiators oder der DN definieren. >+Description[en]=Specify time and size limits based on the operation's initiator or base DN. >+Type=str >+Categories=service-ldap >Index: conffiles/etc/ldap/slapd.conf.d/40univention-ldap-server_database >=================================================================== >--- conffiles/etc/ldap/slapd.conf.d/40univention-ldap-server_database (Revision 51045) >+++ conffiles/etc/ldap/slapd.conf.d/40univention-ldap-server_database (Arbeitskopie) >@@ -79,11 +79,15 @@ > found_attribs.append(attr) > if not attribs==[] and not indexes==[]: > print 'index\t%s %s'%(','.join(attribs),','.join(indexes)) >-@!@ > >-limits users time.soft=-1 time.hard=-1 >+print >+for key in configRegistry.keys(): >+ if key.startswith("ldap/limits"): >+ value = configRegistry[key] >+ selector = key.lstrip("ldap/limits") >+ print "limits %s %s" % (selector, value) >+print > >-@!@ > if configRegistry['ldap/server/type'] == "slave": > if configRegistry.is_true("ldap/online/master", True): > print 'rootdn\t"cn=update,%s"'%configRegistry['ldap/base']
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34873
:
5957
|
5959