Quick Start
Execute Search
Press
Enter to execute the search.Results appear in a popup overlay showing all matching entries.Searches are performed starting from your configured base DN and include all subtree entries.
LDAP Filter Syntax
LDAP filters use a prefix notation with parentheses. Here’s the basic syntax:Simple Filters
- Equality
- Presence
- Substring
- Comparison
Match an exact attribute value:Finds entries where
cn equals “Alice”.Compound Filters
Combine multiple conditions with logical operators:- AND (&)
- OR (|)
- NOT (!)
All conditions must be true:Finds entries that are both
inetOrgPerson and have an email at example.com.Multiple conditions:Nested Filters
Combine operators for complex queries:- Entries that are persons AND
- In engineering OR QA AND
- Not disabled
Common Search Examples
Find all people
Find all people
Find users by name
Find users by name
Exact match:Starts with:Contains:
Find users by email domain
Find users by email domain
Find groups
Find groups
Find group members
Find group members
User is member of a group:Group contains a user:
Find organizational units
Find organizational units
Find entries with specific attributes
Find entries with specific attributes
Has phone number:Missing email:
Find POSIX accounts in UID range
Find POSIX accounts in UID range
Find recently modified entries
Find recently modified entries
Timestamp format is
YYYYMMDDHHMMSSz. Requires the server to maintain modifyTimestamp operational attribute.Find all entries
Find all entries
Search Results Interface
When search results appear, you’ll see a popup with:Results Navigation
| Key | Action |
|---|---|
j / k / ↓ / ↑ | Navigate results |
PageDown / PageUp | Jump 10 results |
Home / End | Jump to first/last result |
Enter | Go to selected entry in tree |
e | Edit filter and search again |
Esc / q | Close results |
Search Scope
Base DN
Searches start from your configured base DN and include all subtree entries:dc=example,dc=com and all children.
To search a specific subtree, you can temporarily change your base DN in the connection dialog or create a dedicated profile.
Attribute Selection
By default, searches return all user attributes. Some operational attributes (likecreateTimestamp, modifyTimestamp) may require explicit request.
The search results popup shows DNs only. Select an entry to view full attributes in the detail panel.
Performance Tips
Use specific filters
Use specific filters
Narrow your search with specific object classes:Slower:Faster:Adding
objectClass helps the server use indexes.Avoid leading wildcards
Avoid leading wildcards
Leading wildcards prevent index usage:Slower:Faster:If you must search for endings, consider using substring searches sparingly.
Use indexed attributes
Use indexed attributes
Search on attributes that are indexed by the server:Common indexed attributes:
cn(common name)uid(user ID)mail(email)objectClass
Limit search scope
Limit search scope
For large directories, use a more specific base DN:Instead of:Use:
Active Directory Specific
Common AD Filters
- Users
- Computers
- Groups
- Enabled accounts
objectCategory for better performance.AD Attribute Names
Active Directory uses different attribute names:| Standard LDAP | Active Directory |
|---|---|
uid | sAMAccountName |
mail | mail (same) |
cn | cn (same) |
member | member (same) |
memberOf | memberOf (same) |
Troubleshooting
No results found
No results found
If your search returns no results:
- Verify your filter syntax is correct (balanced parentheses)
- Check that attribute names are spelled correctly
- Ensure the base DN includes the entries you’re looking for
- Test with a simple filter like
(objectClass=*)to verify connectivity
Search timeout
Search timeout
If searches timeout:
- Narrow your filter to reduce the number of matches
- Increase
timeout_secsin your connection profile - Check server load and network latency
- Consider if the filter can use indexes better
Invalid filter error
Invalid filter error
Common syntax errors:
- Missing parentheses:
cn=Alice→(cn=Alice) - Unbalanced parens:
(&(cn=Alice)(mail=*))✓ - Wrong operator: Use
¬&&,|not|| - Escaping: Use backslash for special chars:
(cn=user\(test\))
Incomplete results
Incomplete results
If you expected more results:
- Check your base DN scope
- Verify you have permission to see those entries
- Some servers limit result size (check
page_size) - Try a more general filter to test
Special Characters
Escape these characters in filter values:| Character | Escape Sequence |
|---|---|
* | \2a |
( | \28 |
) | \29 |
\ | \5c |
| NUL | \00 |
cn value “user(test)”.
For wildcards in substring searches, use literal
* without escaping.Next Steps
Editing Entries
Modify search results or create new entries
Browsing
Navigate the directory tree
Schema Viewer
View object classes and attribute types
Export
Export search results to files