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

Collapse All | Expand All

(-)ucs/management/univention-ldap/debian/changelog (+6 lines)
 Lines 1-3    Link Here 
1
univention-ldap (7.0.23-1) unstable; urgency=low
2
3
  * ignore spaces in UCRV ldap/database/bdb/db_config_options (Bug #14877)
4
5
 -- Martin Müller <packages@univention.de>  Thu, 23 Jun 2011 13:56:54 +0200
6
1
univention-ldap (7.0.22-1) unstable; urgency=low
7
univention-ldap (7.0.22-1) unstable; urgency=low
2
8
3
  * moved univentionSambaPrivilegeList to objectclass
9
  * moved univentionSambaPrivilegeList to objectclass
(-)ucs/management/univention-ldap/conffiles/var/lib/univention-ldap/ldap/DB_CONFIG (-1 / +3 lines)
 Lines 9-14    Link Here 
9
#
9
#
10
10
11
@!@
11
@!@
12
import re
13
12
if baseConfig['ldap/database/type'] == "bdb":
14
if baseConfig['ldap/database/type'] == "bdb":
13
	if baseConfig.has_key('ldap/database/bdb/set_cachesize') and baseConfig['ldap/database/bdb/set_cachesize']:
15
	if baseConfig.has_key('ldap/database/bdb/set_cachesize') and baseConfig['ldap/database/bdb/set_cachesize']:
14
		print 'set_cachesize %s'%baseConfig['ldap/database/bdb/set_cachesize']
16
		print 'set_cachesize %s'%baseConfig['ldap/database/bdb/set_cachesize']
 Lines 26-32    Link Here 
26
		print 'set_lg_max 1048576'
28
		print 'set_lg_max 1048576'
27
29
28
	if baseConfig.has_key('ldap/database/bdb/db_config_options') and baseConfig['ldap/database/bdb/db_config_options']:
30
	if baseConfig.has_key('ldap/database/bdb/db_config_options') and baseConfig['ldap/database/bdb/db_config_options']:
29
		for option in baseConfig['ldap/database/bdb/db_config_options'].split(','):
31
		for option in re.split(r"[ ]*,[ ]*",baseConfig['ldap/database/bdb/db_config_options']):
30
			if baseConfig.has_key('ldap/database/bdb/%s'%option) and baseConfig['ldap/database/bdb/%s'%option]:
32
			if baseConfig.has_key('ldap/database/bdb/%s'%option) and baseConfig['ldap/database/bdb/%s'%option]:
31
				print '%s %s'%(option,baseConfig['ldap/database/bdb/%s'%option])
33
				print '%s %s'%(option,baseConfig['ldap/database/bdb/%s'%option])
32
@!@
34
@!@

Return to bug 14877