Closed Bug 442314 Opened 17 years ago Closed 17 years ago

LDAP settings should go in a configuration file

Categories

(Webtools Graveyard :: Verbatim, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dschafer, Assigned: dschafer)

Details

Attachments

(1 file)

Currently, LDAP settings go into ldapsettings.py, which is just a python file with three variables. This should really go into the configuration settings storage location, be it pootle.prefs or (eventually) a database.
Summary: LDAP settings should go in a conversion file → LDAP settings should go in a configuration file
Let's put these in pootle.prefs for now
This patch requires a change to pootle.prefs; in the "Pootle" section, there must be a new section as follows: ldap: # The ldap server to connect to. Should start with "ldap://" cn = "" # The distinguished name of the user to bind anonymously with dn = "" # The password for the user with distinguished name dn pw = ""
Attachment #328767 - Flags: review?(clouserw)
Comment on attachment 328767 [details] [diff] [review] Patch moving LDAP preferences into Pootle.prefs Please add the empty variables to pootle.prefs too.
Attachment #328767 - Flags: review?(clouserw) → review+
This is in revisions 7737-7739; marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: