Modify

Opened 6 years ago

Closed 6 years ago

#4601 closed defect (fixed)

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

Reported by: jiangxin Owned by: jiangxin
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 6 years ago by jiangxin

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

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

Add Comment

Modify Ticket

Action
as closed The owner will remain jiangxin.
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.