mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 16:26:55 +02:00
move ldap example settings to defaults.inc.php
git-svn-id: http://www.observium.org/svn/observer/trunk@1751 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -32,13 +32,6 @@ $config['snmp']['internal'] = false; # Enable php_snmp functions to make g
|
|||||||
$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
|
$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
|
||||||
#$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
|
#$config['http_auth_guest'] = "guest"; # remember to configure this user if you use http-auth
|
||||||
|
|
||||||
# LDAP module configuration
|
|
||||||
#$config['auth_ldap_server'] = "ldap.yourserver.com";
|
|
||||||
#$config['auth_ldap_port'] = 389;
|
|
||||||
#$config['auth_ldap_prefix'] = "uid=";
|
|
||||||
#$config['auth_ldap_suffix'] = ",ou=People,dc=example,dc=com";
|
|
||||||
#$config['auth_ldap_group'] = "cn=observium,ou=groups,dc=example,dc=com";
|
|
||||||
|
|
||||||
### List of networks to allow scanning-based discovery
|
### List of networks to allow scanning-based discovery
|
||||||
$config['nets'][] = "172.22.0.0/16";
|
$config['nets'][] = "172.22.0.0/16";
|
||||||
$config['nets'][] = "192.168.0.0/24";
|
$config['nets'][] = "192.168.0.0/24";
|
||||||
|
|||||||
@@ -214,6 +214,11 @@ $config['syslog_filter'] = array("last message repeated", "Connection from UDP:
|
|||||||
### LDAP Authentication
|
### LDAP Authentication
|
||||||
|
|
||||||
$config['auth_ldap_version'] = 3; # v2 or v3
|
$config['auth_ldap_version'] = 3; # v2 or v3
|
||||||
|
$config['auth_ldap_server'] = "ldap.yourserver.com";
|
||||||
|
$config['auth_ldap_port'] = 389;
|
||||||
|
$config['auth_ldap_prefix'] = "uid=";
|
||||||
|
$config['auth_ldap_suffix'] = ",ou=People,dc=example,dc=com";
|
||||||
|
$config['auth_ldap_group'] = "cn=observium,ou=groups,dc=example,dc=com";
|
||||||
|
|
||||||
### Hardcoded ASN descriptions
|
### Hardcoded ASN descriptions
|
||||||
$config['astext'][65333] = "Cymru Bogon Feed";
|
$config['astext'][65333] = "Cymru Bogon Feed";
|
||||||
|
|||||||
Reference in New Issue
Block a user