37 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
<?php	
 | 
						|
/*****************************************************************************
 | 
						|
IP Reg, a PHP/MySQL IPAM tool
 | 
						|
Copyright (C) 2007-2009 Wietse Warendorff (up to v0.5)
 | 
						|
Copyright (C) 2011-2023 Thomas Hooge
 | 
						|
 | 
						|
SPDX-License-Identifier: GPL-3.0-or-later
 | 
						|
*****************************************************************************/
 | 
						|
 | 
						|
// db connection
 | 
						|
$config_mysql_host = 'localhost';
 | 
						|
$config_mysql_username = 'ipreg';
 | 
						|
$config_mysql_password = 'changeme!';
 | 
						|
$config_mysql_dbname = 'ipreg';
 | 
						|
 | 
						|
// default values for IP blocks
 | 
						|
$config_color_blocked = 'dcdcdc';
 | 
						|
$config_color_unused = 'ffffff';
 | 
						|
$config_color_dynamic = 'e0e0e0';
 | 
						|
 | 
						|
// language
 | 
						|
$config_lang_default = 'en';
 | 
						|
 | 
						|
// auth
 | 
						|
$config_auth_ldap = false;
 | 
						|
$config_ldap_host = array('localhost', 'otherhost.example.com');
 | 
						|
$config_ldap_port = 389;
 | 
						|
$config_ldap_v3 = true;
 | 
						|
$config_ldap_base_dn = 'ou=organizationalunit,dc=example,dc=com';
 | 
						|
$config_ldap_login_attr = 'uid';
 | 
						|
 | 
						|
// ldap search user
 | 
						|
$config_ldap_bind_dn = 'cn=dummy,ou=organizationalunit,dc=example,dc=com';
 | 
						|
$config_ldap_bind_pass = 'secret';
 | 
						|
 | 
						|
?>
 |