LPI
202-450 · Question #231
Which of these sets of entries will the following command return? ldapsearch -x "(|(cn=marie)(!(telephoneNumber=9*)))"
The correct answer is B. Entries that have a cn of marie or don't have a telephoneNumber beginning with 9. You've hit your weekly limit · resets 5am (America/New_York)
211 Network Client Management
Question
Which of these sets of entries will the following command return? ldapsearch -x "(|(cn=marie)(!(telephoneNumber=9*)))"
Options
- AEntries that don't have a cn of marie or don't have a telephoneNumber that begins with 9.
- BEntries that have a cn of marie or don't have a telephoneNumber beginning with 9.
- CEntries that have a cn of marie and a telephoneNumber ending with 9.
- DEntries that don't have a cn of marie and don't have a telephoneNumber beginning with 9.
- EEntries that have a cn of marie or have a telephoneNumber beginning with 9.
How the community answered
(26 responses)- A12% (3)
- B81% (21)
- C4% (1)
- D4% (1)
Explanation
You've hit your weekly limit · resets 5am (America/New_York)
Topics
#ldapsearch#LDAP filters#boolean operators#search syntax
Community Discussion
No community discussion yet for this question.