userAccountControl codes polling LDAP

D

Disability

I'm mining our AD LDAP for info regarding the status of a
user. Specifically, I'm looking for whether a user is
disabled or not.

At first I thought 512 = enabled and 514 = disabled, but
then I found another set of similar codes for the
userAccountControl fields:

66048 = Enabled
66050 = Disabled

Can anyone explain the difference between the two sets of
numerically different codes?

Thanks,

Disability Ability
 
D

Disability

A little googling answered my own question:

66048 = Enabled, password never expires
66050 = Disabled, password never expires
 

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

Top