Bug 14877 - ldap/database/bdb/db_config_options ist "zu genau"
ldap/database/bdb/db_config_options ist "zu genau"
Status: RESOLVED DUPLICATE of bug 31606
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 3.0
All All
: P5 enhancement (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-25 15:45 CEST by Janis Meybohm
Modified: 2018-04-14 13:44 CEST (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
schwardt: Patch_Available+


Attachments
mit import von re, für das leichtere umändern der Trennzeichen (1.69 KB, patch)
2011-07-01 10:45 CEST, Martin Müller
Details | Diff
Einfache Lösung des Bugs ohne re (1.34 KB, patch)
2011-07-01 10:46 CEST, Martin Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2009-06-25 15:45:08 CEST
Zusätzliche Optionen für DB_CONFIG müssen, getrennt mit Kommas, in ldap/database/bdb/db_config_options eingetragen und anschließend mit ldap/database/bdb/neueoption=xyz gesetzt werden. Der Code ist beim parsen der db_config_options ziemlich genau sodass z.b. auch mit Komma und Leerstelle (', ') getrennte Optionen nicht erkannt werden:

for option in baseConfig['ldap/database/bdb/db_config_options'].split(','):
Comment 1 Tobias Scherer univentionstaff 2010-07-06 10:45:03 CEST
Aufgetreten an Ticket#: 2010060210000608
Comment 2 Martin Müller 2011-07-01 10:45:17 CEST
Created attachment 3375 [details]
mit import von re, für das leichtere umändern der Trennzeichen

Für Leerzeichen-Trennung kann der reguläre Ausdruck
r"[, ]*"
verwendet werden.
Comment 3 Martin Müller 2011-07-01 10:46:22 CEST
Created attachment 3376 [details]
Einfache Lösung des Bugs ohne re
Comment 4 Florian Best univentionstaff 2017-02-09 17:55:44 CET

*** This bug has been marked as a duplicate of bug 31606 ***