formcreator
formcreator copied to clipboard
LDAP Select fails if one of filter component missing
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
Hi
Do you have php errors or sql errors in your logs ? Also, which version of Formcreator do you use ?