r2780 - getDict(): correctly fill "refcnt" section for chapters 1 (RackObjectType...
[racktables] / local / secret-sample.php
1 <?php
2 /*
3 *
4 * RackTables secrets are here
5 *
6 */
7
8 $pdo_dsn = 'mysql:host=localhost;dbname=racktables';
9 $db_username = 'username';
10 $db_password = 'password';
11
12 // More info: http://racktables.org/trac/wiki/RackTablesUserAuthentication
13 $user_auth_src = 'database';
14 $require_local_account = TRUE;
15
16 // This is only necessary for 'ldap' authentication source
17 $LDAP_options = array
18 (
19 'server' => 'some.server',
20 'domain' => 'some.domain',
21 # 'search_dn' => 'ou=people,O=YourCompany',
22 'search_attr' => 'uid',
23 # 'displayname_attrs' => 'givenname familyname',
24
25 // LDAP cache, values in seconds. Refresh, retry and expiry values are
26 // treated exactly as those for DNS SOA record. Example values 300-15-600:
27 // unconditionally remeber successful auth for 5 minutes, after that still
28 // permit user access, but try to revalidate username and password on the
29 // server (not more often, than once in 15 seconds). After 10 minutes of
30 // unsuccessful retries give up and deny access, so someone goes to fix
31 // LDAP server.
32 'cache_refresh' => 300,
33 'cache_retry' => 15,
34 'cache_expiry' => 600,
35 );
36
37 ?>