Modify

Opened 4 years ago

Closed 12 months ago

#7095 closed defect (fixed)

Config dict needs str(name)

Reported by: harbulot Owned by: igoltz
Priority: normal Component: LdapAuthStorePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Similarly to #6183, this plugin needs the following small change to work with Trac 0.11.6:

  • ldapauthstore/ldap_store.py

    a b class LdapAuthStore(Component): 
    2525        self._ldapcfg = {} 
    2626        for name, value in self.config.options('ldap'): 
    2727            if name in LDAP_DIRECTORY_PARAMS: 
    28                 self._ldapcfg[name] = value 
     28                self._ldapcfg[str(name)] = value 
    2929 
    3030        # user entry local cache 
    3131        self._cache = {} 

Attachments (0)

Change History (2)

comment:1 Changed 12 months ago by rjollos

  • Owner changed from k0s to igoltz

comment:2 Changed 12 months ago by igoltz

  • Resolution set to fixed
  • Status changed from new to closed

In 13346:

small change to work with Trac 0.11.6 [close #7095]

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from igoltz. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.