Additional criteria for AD should be:
(|(groupType:1.2.840.113556.1.4.803:=2147483648)(&(sAMAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2))))
This ensures that all ldap queries are filtered specifically for "either Groups (including DL) and active user accounts)"
This should be the default. (groupType:1.2.840.113556.1.4.803:=2147483648) could be removed if you are not using LDAP groups.
Additional criteria for AD should be:
(|(groupType:1.2.840.113556.1.4.803:=2147483648)(&(sAMAccountType=805306368)(!(userAccountControl:1.2.840.113556.1.4.803:=2))))
This ensures that all ldap queries are filtered specifically for "either Groups (including DL) and active user accounts)"
This should be the default. (groupType:1.2.840.113556.1.4.803:=2147483648) could be removed if you are not using LDAP groups.