ansible/roles/racktables/templates/secret.php.j2

56 lines
2.1 KiB
Plaintext
Raw Normal View History

2016-06-18 14:44:59 +02:00
<?php
$pdo_dsn = 'mysql:host=localhost;dbname={{ racktables_dbname }}';
$db_username = '{{ racktables_dbuser }}';
$db_password = '{{ racktables_dbpass }}';
# Setting MySQL client buffer size may be required to make downloading work for
# larger files, but it does not work with mysqlnd.
# $pdo_bufsize = 50 * 1024 * 1024;
# Setting PDO SSL key, cert, and CA will allow a SSL/TLS connection to the MySQL
# DB. Make sure the files are readable by the web server
# $pdo_ssl_key = '/path/to/ssl/key'
# $pdo_ssl_cert = '/path/to/ssl/cert'
# $pdo_ssl_ca = '/path/to/ssl/ca'
$user_auth_src = 'database';
$require_local_account = TRUE;
# Default setting is to authenticate users locally, but it is possible to
# employ existing LDAP or Apache user accounts. Check RackTables wiki for
# more information, in particular, this page for LDAP configuration details:
# http://wiki.racktables.org/index.php?title=LDAP
#$LDAP_options = array
#(
# 'server' => 'localhost',
# 'domain' => 'example.com',
# 'search_attr' => '',
# 'search_dn' => '',
# // The following credentials will be used when searching for the user's DN:
# 'search_bind_rdn' => NULL,
# 'search_bind_password' => NULL,
# 'displayname_attrs' => '',
# 'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3),
# 'use_tls' => 2, // 0 == don't attempt, 1 == attempt, 2 == require
#);
# For SAML configuration details:
# http://wiki.racktables.org/index.php?title=SAML
#$SAML_options = array
#(
# 'simplesamlphp_basedir' => '../simplesaml',
# 'sp_profile' => 'default-sp',
# 'usernameAttribute' => 'eduPersonPrincipName',
# 'fullnameAttribute' => 'fullName',
# 'groupListAttribute' => 'memberOf',
#);
# This HTML banner is intended to assist users in dispatching their issues
# to the local tech support service. Its text (in its verbatim form) will
# be appended to assorted error messages visible in user's browser (including
# "not authenticated" message). Beware of placing any sensitive information
# here, it will be readable by unauthorized visitors.
#$helpdesk_banner = '<B>This RackTables instance is supported by Example Inc. IT helpdesk, dial ext. 1234 to report a problem.</B>';
?>