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)

Change History (1)

comment:1 Changed 12 years ago by branson

Resolution: fixed
Status: newclosed

Integrated into 0.3

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.