Datamining LDAP: Can't find "AccountDisabled" Field

G

Guest

I'm working on a custom reporting program for my HR
department that mines through our 2000 AD LDAP DB and
looks for, among other things, account status (i.e.
Disabled or not). I've seen code references from
googling on how to SET account status, but can't seem to
find anything relating to current status when I look
through the AD LDAP export info. Can anyone tell me what
field I'm looking for, or why I can't locate it?
 
J

Jerold Schulman

I'm working on a custom reporting program for my HR
department that mines through our 2000 AD LDAP DB and
looks for, among other things, account status (i.e.
Disabled or not). I've seen code references from
googling on how to SET account status, but can't seem to
find anything relating to current status when I look
through the AD LDAP export info. Can anyone tell me what
field I'm looking for, or why I can't locate it?

Account Distabled is a bit setting in the userAccountControl attribute.
See tip 8071 in the 'Tips & Tricks' at http://www.jsiinc.com

It should mask with 0x00000002


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top