diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-11-09 11:50:33 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-11-09 11:50:33 +0100 |
commit | 3f250a0fe63725f3daca904d93fd63d5eb437c56 (patch) | |
tree | 977d0ab21ecd01ccc15f56f1d5baaeca5e519e82 /config | |
parent | 91c0990385b310bfbae0bbb77489584cb2bdfa6d (diff) |
Add config options to automatically generate LDAP attributes for new entries
Diffstat (limited to 'config')
-rw-r--r-- | config/main.inc.php.dist | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist index dafee72f1..35fe0e8f6 100644 --- a/config/main.inc.php.dist +++ b/config/main.inc.php.dist @@ -636,6 +636,11 @@ $rcmail_config['ldap_public']['Verisign'] = array( ), // Map of contact sub-objects (attribute name => objectClass(es)), e.g. 'c' => 'country' 'sub_fields' => array(), + // Generate values for the following LDAP attributes automatically when creating a new record + 'autovalues' => array( + // 'uid' => 'md5(microtime())', // You may specify PHP code snippets which are then eval'ed + // 'mail' => '{givenname}.{sn}@mydomain.com', // or composite strings with placeholders for existing attributes + ), 'sort' => 'cn', // The field to sort the listing by. 'scope' => 'sub', // search mode: sub|base|list 'filter' => '(objectClass=inetOrgPerson)', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act |