snappymail/plugins/ldap-contacts-suggestions
Fathi BEN NASR f0bfa29133 Search contact suggestions across several LDAP branches
A directory rarely keeps everything worth suggesting in one branch:
people sit under ou=People, while meeting rooms and other bookable
resources live elsewhere - ou=Resources on our installations. Because
the plugin queries a single base DN, typing part of a room's name while
composing an invitation returns nothing, even though the entry exists.

Widening the base to the domain root is not a fix: it pulls every
service account into the suggestion list.

base_dn now accepts several branches separated by '|', each queried with
the same filter, results concatenated. That separator cannot appear
unescaped in a DN, so existing single-branch configurations keep working
untouched. An unreachable branch is logged with its own DN and no longer
silences the remaining ones - previously a single failed search
discarded the whole lookup.

Plugin version bumped to 2.15.
2026-08-19 17:20:21 +00:00
..
index.php Search contact suggestions across several LDAP branches 2026-08-19 17:20:21 +00:00
LdapContactsSuggestions.php Search contact suggestions across several LDAP branches 2026-08-19 17:20:21 +00:00
LICENSE Added: Plugin: Contacts suggestion from ldap 2015-09-08 21:18:55 +03:00