File: ykksm-config.php

package info (click to toggle)
yubikey-ksm 1.15-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 268 kB
  • ctags: 91
  • sloc: perl: 416; php: 143; sh: 123; makefile: 87; sql: 12
file content (19 lines) | stat: -rw-r--r-- 491 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
//ykksm will use the configuration stored in /etc/yubico/ksm/config-db.php, if that file exists. If it does not exist, the below values will be used.

if(!include '/etc/yubico/ksm/config-db.php') {
	$dbuser='ykksmreader';
	$dbpass='yourpassword';
	$basepath='';
	$dbname='ykksm';
	$dbserver='';
	$dbport='';
	$dbtype='mysql';
}

$db_dsn      = "$dbtype:dbname=$dbname;host=127.0.0.1";
$db_username = $dbuser;
$db_password = $dbpass;
$db_options  = array();
$logfacility = LOG_AUTH;
?>