Skip to content

Commit

Permalink
Merge pull request #1644 from nuxsmin/v3.2
Browse files Browse the repository at this point in the history
* [FIX] Fix ADS search behavior by unsseting `ACCOUNTDISABLE` flag fo…
  • Loading branch information
nuxsmin committed Jan 16, 2021
2 parents 45130f3 + 728ec83 commit 4c3312d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SP/Providers/Auth/Ldap/LdapMsAds.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/
final class LdapMsAds extends Ldap
{
const FILTER_USER_OBJECT = '(&(!(UserAccountControl:1.2.840.113556.1.4.804:=30))(|(objectCategory=person)(objectClass=user)))';
const FILTER_USER_OBJECT = '(&(!(UserAccountControl:1.2.840.113556.1.4.804:=32))(|(objectCategory=person)(objectClass=user)))';
const FILTER_GROUP_OBJECT = '(objectCategory=group)';
const FILTER_USER_ATTRIBUTES = ['samaccountname', 'cn', 'uid', 'userPrincipalName'];
const FILTER_GROUP_ATTRIBUTES = ['memberOf', 'groupMembership', 'memberof:1.2.840.113556.1.4.1941:'];
Expand Down

0 comments on commit 4c3312d

Please sign in to comment.