From 0f63418b7e3143f274718a7adeabe5ac1d54be29 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Wed, 29 Apr 2015 08:02:23 -0400 Subject: [PATCH] Use Net_LDAP3::domain_root_dn() to resolve the domain DN for the %dc variable; replaces PR #268 --- config/defaults.inc.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/config/defaults.inc.php b/config/defaults.inc.php index df8b612..eceae44 100644 --- a/config/defaults.inc.php +++ b/config/defaults.inc.php @@ -798,6 +798,10 @@ // DN and password to bind as before searching for bind DN, if anonymous search is not allowed 'search_bind_dn' => '', 'search_bind_pw' => '', + // Base DN and filter used for resolving the user's domain root DN which feeds the %dc variables + // Leave empty to skip this lookup and derive the root DN from the username domain + 'domain_base_dn' => '', + 'domain_filter' => '', // Optional map of replacement strings => attributes used when binding for an individual address book 'search_bind_attrib' => array(), // e.g. array('%udc' => 'ou') // Default for %dn variable if search doesn't return DN value -- Gitblit v1.9.1