formcreator icon indicating copy to clipboard operation
formcreator copied to clipboard

LDAP Select fails if one of filter component missing

Open obscandoble opened this issue 3 years ago • 1 comments

I'm trying to get the list of all (not only non-blocked users) from my AD. the filter => (& (samaccountname=*) (&(objectClass=user)(objectCategory=person)(title=*))) This Filter returns zero rows But if i add userAccountControl attribute to it - it works Working filter => (& (samaccountname=*) (&(objectClass=user)(objectCategory=person)(title=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2))))

is it a bug or feature?

Both of filters return records if query via PowerShell or any LDAP Explorer

obscandoble avatar Apr 28 '22 12:04 obscandoble

Hi

Do you have php errors or sql errors in your logs ? Also, which version of Formcreator do you use ?

btry avatar May 04 '22 07:05 btry