Modify ↓
Opened 16 years ago
Closed 16 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)
Note: See
TracTickets for help on using
tickets.
(In [5228]) TracCoSignPlugin: Through the referer from header, we can safely narrow down LDAP queries. fixes #4601.