LDAP Tool Box White Pages Logo

Contents:

  • Presentation
  • Installation
  • Upgrade
  • Authentication
  • Apache configuration
  • General parameters
  • LDAP parameters
  • Attributes
  • Photos
  • Quick search
    • Activation
    • Search filter
    • Exact matching
  • Advanced search
  • Entries display
  • Full display
  • Directory menu
  • Gallery menu
  • Map menu
  • CSV export
  • vCard export
  • Update informations
  • Tooltips
  • Patterns
LDAP Tool Box White Pages
  • Quick search
  • View page source

Quick search

The quick search feature allows to search on multiple attributes (attribute1 or attribute2 or …) with a substring matching (attribute=*query*) by default or an exact matching, see $quick_search_use_substring_match below. The quick search input is located in menu bar.

Activation

Enable or disable this feature :

$use_quick_search = true;

Search filter

Define on which LDAP attributes the search will be done :

$quick_search_attributes = array('uid', 'cn', 'mail');

Note

With this example, the search filter for query test will be (|(uid=*test*)(cn=*test*)(mail=*test*))

Exact matching

By default, as shown in the example above, the query is used as substring match. You can change this by forcing exact matching :

$quick_search_use_substring_match = false;

Note

With this example, the search filter for query test will be (|(uid=test)(cn=test)(mail=test))

Previous Next

© Copyright 2021, LDAP Tool Box.

Built with Sphinx using a theme provided by Read the Docs.