Archive for the ‘active directory’ Category

Checking Account Status in LDAP

This item was filled under [ PHP, active directory ]

How to check if an account is disabled in LDAP?
Previously I googled and someone suggest that, the ‘useraccountcontrol’ with 512 would be disabled, 514 would be enabled.
But this is too unreliable. If there are other options for that particular account are set, for example “password never expired” and “user cannot change password”, the status would [...]

Continue reading...