diff options
author | alecpl <alec@alec.pl> | 2010-09-30 07:28:51 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-09-30 07:28:51 +0000 |
commit | 1148c6e936c487c72740ba93ae430b42837e6999 (patch) | |
tree | 28c25207a82578e21b225c72d6332c948d2a0763 /config | |
parent | 13ffa2810eaef30a0f69fc3af6ecbb5bc9dd0bdc (diff) |
- Add option do bind for an individual LDAP address book (#1486997)
Diffstat (limited to 'config')
-rw-r--r-- | config/main.inc.php.dist | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index c0c2b0321..167fb40fd 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -407,16 +407,22 @@ $rcmail_config['ldap_public']['Verisign'] = array( // For example %n = mail.domain.tld, %d = domain.tld 'hosts' => array('directory.verisign.com'), 'port' => 389, - 'use_tls' => false, + 'use_tls' => false, 'user_specific' => false, // If true the base_dn, bind_dn and bind_pass default to the user's IMAP login. // %fu - The full username provided, assumes the username is an email // address, uses the username_domain value if not an email address. // %u - The username prior to the '@'. // %d - The domain name after the '@'. // %dc - The domain name hierarchal string e.g. "dc=test,dc=domain,dc=com" + // %dn - DN found by ldap search when search_filter/search_base_dn are used 'base_dn' => '', 'bind_dn' => '', 'bind_pass' => '', + // It's possible to bind for an individual address book + // The login name is used to search for the DN to bind with + 'search_base_dn' => '', + 'search_filter' => '', // e.g. '(&(objectClass=posixAccount)(uid=%u))' + 'writable' => false, // Indicates if we can write to the LDAP directory or not. // If writable is true then these fields need to be populated: // LDAP_Object_Classes, required_fields, LDAP_rdn |