diff --git a/config.php.default b/config.php.default index 6293ebd58..9064d389d 100755 --- a/config.php.default +++ b/config.php.default @@ -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['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 $config['nets'][] = "172.22.0.0/16"; $config['nets'][] = "192.168.0.0/24"; diff --git a/includes/defaults.inc.php b/includes/defaults.inc.php index 9e0bc5ef7..bf96a6b4b 100644 --- a/includes/defaults.inc.php +++ b/includes/defaults.inc.php @@ -214,6 +214,11 @@ $config['syslog_filter'] = array("last message repeated", "Connection from UDP: ### LDAP Authentication $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 $config['astext'][65333] = "Cymru Bogon Feed";