Active Directory

PHP Active Directory Integration: get userAccountControl attributes

While trying to integrate an Active Directory based login in my PHP application, I came across the problem of checking which user accounts were not disabled. After going through some forums I did the following to see accounts which were not disabled: $result = ldap_search($ad, "OU=Users,OU=Office1…