From d1d2c4fb1d0e9b7a46693e617835850b0edc0fd5 Mon Sep 17 00:00:00 2001 From: svncommit Date: Sun, 8 Jan 2006 07:15:44 +0000 Subject: adding files and modifications for public ldap search --- config/main.inc.php.dist | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'config') diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index 17beaf188..e7ccc913d 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -131,6 +131,20 @@ $rcmail_config['generic_message_footer'] = ''; // this string is used as a delimiter for message headers when sending $rcmail_config['mail_header_delimiter'] = "\r\n"; +// public ldap servers to search for contacts +$rcmail_config['ldap_public'] = false; + +/** example config for Verisign directory +$rcmail_config['ldap_public']['Verisign'] = array('hosts' => array('directory.verisign.com'), + 'port' => 389, + 'base_dn' => '', + 'search_fields' => array('mail', 'cn'), + 'name_field' => 'cn', + 'mail_field' => 'mail', + 'scope' => 'sub', + 'fuzzy_search' => 0); +**/ + /***** these settings can be overwritten by user's preferences *****/ -- cgit v1.2.3