R
R
Roman Ratkin2018-06-09 11:34:09
LDAP
Roman Ratkin, 2018-06-09 11:34:09

How to add an exception to an ldap request?

Good day to all.
Tell me, there is an AD with a bunch of users, and a configured LDAP, which, as an example, calls to look at these users in the thunderbird address book. Is there a way to filter some of the users? By name or something else so they don't show up in the address book.
Now the request looks like this:

(&(sAMAccountName=*)(|(sAMAccountType=805306368)
(sAMAccountType=268435456)
(sAMAccountType=268435456))(mail=*))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LoGIc89, 2018-06-09
@Hanharr

Use sign !
As an example:
!(sAMAccountType=268435456)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question