Univention Bugzilla – Attachment 3375 Details for
Bug 14877
ldap/database/bdb/db_config_options ist "zu genau"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mit import von re, für das leichtere umändern der Trennzeichen
14877-re.patch (text/plain), 1.69 KB, created by
Martin Müller
on 2011-07-01 10:45:17 CEST
(
hide
)
Description:
mit import von re, für das leichtere umändern der Trennzeichen
Filename:
MIME Type:
Creator:
Martin Müller
Created:
2011-07-01 10:45:17 CEST
Size:
1.69 KB
patch
obsolete
>Index: ucs/management/univention-ldap/debian/changelog >=================================================================== >--- ucs/management/univention-ldap/debian/changelog (Revision 1839) >+++ ucs/management/univention-ldap/debian/changelog (Arbeitskopie) >@@ -1,3 +1,9 @@ >+univention-ldap (7.0.23-1) unstable; urgency=low >+ >+ * ignore spaces in UCRV ldap/database/bdb/db_config_options (Bug #14877) >+ >+ -- Martin Müller <packages@univention.de> Thu, 23 Jun 2011 13:56:54 +0200 >+ > univention-ldap (7.0.22-1) unstable; urgency=low > > * moved univentionSambaPrivilegeList to objectclass >Index: ucs/management/univention-ldap/conffiles/var/lib/univention-ldap/ldap/DB_CONFIG >=================================================================== >--- ucs/management/univention-ldap/conffiles/var/lib/univention-ldap/ldap/DB_CONFIG (Revision 1839) >+++ ucs/management/univention-ldap/conffiles/var/lib/univention-ldap/ldap/DB_CONFIG (Arbeitskopie) >@@ -9,6 +9,8 @@ > # > > @!@ >+import re >+ > if baseConfig['ldap/database/type'] == "bdb": > if baseConfig.has_key('ldap/database/bdb/set_cachesize') and baseConfig['ldap/database/bdb/set_cachesize']: > print 'set_cachesize %s'%baseConfig['ldap/database/bdb/set_cachesize'] >@@ -26,7 +28,7 @@ > print 'set_lg_max 1048576' > > if baseConfig.has_key('ldap/database/bdb/db_config_options') and baseConfig['ldap/database/bdb/db_config_options']: >- for option in baseConfig['ldap/database/bdb/db_config_options'].split(','): >+ for option in re.split(r"[ ]*,[ ]*",baseConfig['ldap/database/bdb/db_config_options']): > if baseConfig.has_key('ldap/database/bdb/%s'%option) and baseConfig['ldap/database/bdb/%s'%option]: > print '%s %s'%(option,baseConfig['ldap/database/bdb/%s'%option]) > @!@
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 14877
: 3375 |
3376