3 // LDAP URL; if set, takes precedence over ldapserver and ldapport
4 #$conf['ldapurl'] = 'ldaps://ldap.example.com/';
6 // Which LDAP Server to use?
7 $conf['ldapserver'] = 'ldap';
9 // Which LDAP Port Server to use? (389 is standard, 636 for ssl)
10 $conf['ldapport'] = 389;
12 // Use LDAP protocol version 3? (0|1)
15 // What is the root dn on this Server?
16 $conf['ldaprootdn'] = 'o=cosmocode, c=de';
18 // Where are the user Accounts stored?
19 $conf['usertree'] = 'ou=people, '.$conf['ldaprootdn'];
21 // How to match users? %u is replaced by the given login
22 $conf['userfilter'] = '(&(uid=%u)(objectClass=posixAccount))';
24 // Show the users as contacts, too?
25 $conf['displayusertree'] = 0;
27 // Use these values to bind to the ldap directory when not logged in (leave blank for anonymous bind)
28 $conf['anonbinddn'] = '';
29 $conf['anonbindpw'] = '';
31 // Which language to use (see lang directory)
34 // Where to store public contacts?
35 $conf['publicbook'] = 'ou=contacts, '.$conf['ldaprootdn'];
37 // Where to store private contacts (relative to $conf['usertree'])
38 $conf['privatebook'] = 'ou=contacts';
40 // What fields to look at when searching?
41 $conf['searchfields'] = array('uid','mail','name','givenname','o');
43 // Should the public address book be viewable by logged in users only? (0|1)
44 $conf['userlogreq'] = 0;
46 // Should we try to login using the username and password provided by httpd? (0|1)
47 $conf['httpd_auth'] = 0;
49 // Store the first 4 tags in Thunderbird's custom fields when using ldapab.schema
50 $conf['tbtaghack'] = 1;
52 // Dateformat for birthdays and anniversary
53 // see http://www.php.net/manual/en/function.strftime.php
54 $conf['dateformat'] = '%Y/%m/%d';
55 #$conf['dateformat'] = '%d.%m.%Y';
57 // Google maps key, you can specify multiple when running the app through different vhosts
58 $conf['gmaps'] = array(
59 'localhost' => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSoniRWQPYZHIWuWPbij8hFqvrEuw',
60 'intranet.cosmo' => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RTxyuybgLnXtMVD7dljhze3zUboVhTqk9yc-rQVvv2YwFFJN20RCNbIVA',
61 'intranet' => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RTjlGRJ-JcA4ENdYSxSTUELqnaldxSOyZdbUNylw_BZHH1bBLrQNGtjZg',
62 'fileserver.cosmo' => 'ABQIAAAAwcgTzX14Lq48uGhuAgaC-RQ2oMD1p7-NjsUZiDyjvzpK3IuhixTXdHGQRp8jtjwAl-P4oPPEB_hGgw',
65 // Force recompilation of smarty templates?
66 $conf['smartycompile'] = 0;