Modify ↓
Opened 14 years ago
Closed 12 years ago
#8698 closed defect (fixed)
User accounts list includes disabled users.
Reported by: | anonymous | Owned by: | John Hampton |
---|---|---|---|
Priority: | low | Component: | DirectoryAuthPlugin |
Severity: | minor | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
When displaying the list of user accounts the disabled users are not excluded from the list. I don't know if this is intentional or not.
A quick fix for this is to modify line 47 of tracext\adauth\auth.py as follows:
replace:
"objectCategory=person",
with:
"(&(objectCategoy=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))",
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Integrated into 0.3