Modify

Opened 9 years ago

Closed 9 years ago

#4601 closed defect (fixed)

AccountLdap sync account info with LDAP server should only once right after user login.

Reported by: Jiang Xin Owned by: Jiang Xin
Priority: normal Component: TracCoSignPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Every time the user email address changed in LDAP server, trac should update the session_attribute table of trac database. It is the accountldap.py in TracCoSignPlugin to work for this.

But after user login, every http request, trac will query the LDAP server. This may serious affect the performance especially the LDAP server host on a different server. Sync account info with LDAP should only begin once right after user login.

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Jiang Xin

Resolution: fixed
Status: newclosed

(In [5228]) TracCoSignPlugin: Through the referer from header, we can safely narrow down LDAP queries. fixes #4601.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jiang Xin.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.