Search code examples
ldapldap-query

What LDAP query to get 0 results?


In Alfresco there is a field where I can specify which groups to sync, with an LDAP query.

I don't want to sync groups, so what query can I type, to always return 0 result?

I guess I could just write a query searching for a crazy condition, but is there something more readable?


Solution

  • Can you just use a X == NOT X type condition?

    As long as the condition is prominent then everyone should be able to understand.