View | Details | Raw Unified | Return to bug 34873 | Differences between
and this patch

Collapse All | Expand All

(-)debian/univention-ldap-server.univention-config-registry (+1 lines)
 Lines 51-56    Link Here 
51
Type: subfile
51
Type: subfile
52
Multifile: etc/ldap/slapd.conf
52
Multifile: etc/ldap/slapd.conf
53
Subfile: etc/ldap/slapd.conf.d/40univention-ldap-server_database
53
Subfile: etc/ldap/slapd.conf.d/40univention-ldap-server_database
54
Variables: ldap/limits
54
Variables: ldap/server/type
55
Variables: ldap/server/type
55
Variables: ldap/master
56
Variables: ldap/master
56
Variables: ldap/master/port
57
Variables: ldap/master/port
(-)debian/univention-ldap-server.univention-config-registry-variables (+6 lines)
 Lines 167-169    Link Here 
167
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>.
167
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>.
168
Type=str
168
Type=str
169
Categories=service-ldap
169
Categories=service-ldap
170
171
[ldap/limits]
172
Description[de]=Zeit- oder Größenlimits anhand des Initiators oder der DN definieren.
173
Description[en]=Specify time and size limits based on the operation's initiator or base DN.
174
Type=str
175
Categories=service-ldap
(-)debian/univention-ldap-server.postinst (+1 lines)
 Lines 99-104    Link Here 
99
								ldap/acl/slavepdc?yes \
99
								ldap/acl/slavepdc?yes \
100
								ldap/acl/nestedgroups?yes \
100
								ldap/acl/nestedgroups?yes \
101
								ldap/autostart?yes \
101
								ldap/autostart?yes \
102
								ldap/limits?"users time.soft=-1 time.hard=-1" \
102
								ldap/maxopenfiles?8192 # Bug #17705
103
								ldap/maxopenfiles?8192 # Bug #17705
103
104
104
# UDM Property Attributes
105
# UDM Property Attributes
(-)conffiles/etc/ldap/slapd.conf.d/40univention-ldap-server_database (-3 / +5 lines)
 Lines 79-89    Link Here 
79
					found_attribs.append(attr)
79
					found_attribs.append(attr)
80
	if not attribs==[] and not indexes==[]:
80
	if not attribs==[] and not indexes==[]:
81
		print 'index\t%s %s'%(','.join(attribs),','.join(indexes))
81
		print 'index\t%s %s'%(','.join(attribs),','.join(indexes))
82
@!@
83
82
84
limits users time.soft=-1 time.hard=-1
83
print
84
for key in configRegistry.get("ldap/limits", "").split(";"):
85
	if key:
86
		print "limits %s" % key
87
print
85
88
86
@!@
87
if configRegistry['ldap/server/type'] == "slave":
89
if configRegistry['ldap/server/type'] == "slave":
88
	if configRegistry.is_true("ldap/online/master", True):
90
	if configRegistry.is_true("ldap/online/master", True):
89
		print 'rootdn\t"cn=update,%s"'%configRegistry['ldap/base']
91
		print 'rootdn\t"cn=update,%s"'%configRegistry['ldap/base']

Return to bug 34873