User Tools

Site Tools


  Main   About   Help   Download
nconf:help:documentation:detail:authentication:main

Table of Contents

Authentication specific options

The following configuration options are available under config/authentication.php:

General


AUTH_ENABLED

Enable or disable user authentication. If disabled, no login is prompted to access the GUI and all features will be available (admin privs).

Possible values: "0", "1"
Default value:   "0"


AUTH_TYPE

How to authenticate, if authentication is enabled.

Possible values:
"file"	   - authenticate using a textfile with "user::pass" pairs 
"ldap"	   - authenticate using an LDAP server
"ad_ldap"  - authenticate using an Active Directory LDAP server
"sql"	   - authenticate using an SQL database
Default value: "file"


AUTH_METHOD

Select the login authentication method.

Possible values:
"login"	   - authenticate using the ordinary NConf login form
"basic"	   - authenticate using HTTP Basic Authentication (pop-up window for username/password)
Default value:   "login"

Using HTTP Basic Auth can be useful if you want users to only authenticate once for both NConf and Nagios.


BASICAUTH_REALM

The HTTP Basic Auth Realm to display when using auth method “basic”.

Possible value: "your text"
Default value:   "NConf Basic Auth"


AUTH_FEEDBACK_AS_WELCOME_NAME

This defines the user name in the history table and in the welcome message.

Possible values: "0", "1"
Default value:   "0"

If set to “0”, the username will be used. If set to “1”, the real name will be fetched, depending on which AUTH_TYPE you selected.

  • file:
    the last attribute will be the user's full name (details in Auth by File)
  • ldap:
    the “cn” attribute will be user's full name (details in Auth by LDAP)
  • ad_ldap:
    the configured AD_USERNAME_ATTRIBUTE (default: displayname) attribute will be user's full name (details in Auth by AD LDAP)
  • sql:
    the result returned from your SQL query will be the user's full name (details in Auth by SQL)


LOG_REMOTE_IP_HISTORY

Enable / disable logging of the remote-IP / hostname to the history.
If set to “1”, the remote-IP is written to the history after a user logs in.
In case “HostnameLookups” is set to On in the apache config, the hostname will be used instead.

Possible values: "0", "1"
Default value:   "1"

Group

GROUP_USER

When NConf parses the output from one of the authentication modules, it will look for this pattern to determine if an account should be regarded as an ordinary user.

Default value: "user"

GROUP_ADMIN

When NConf parses the output from one of the authentication modules, it will look for this pattern to determine if an account should be regarded as an admin account.

Default value: "admin"

GROUP_NOBODY

Do not change this

Default value: "0"

Types

nconf/help/documentation/detail/authentication/main.txt · Last modified: 10.02.2012 00:34 by agargiulo