How to configure of external authentication (LDAP and Active Directory)

External authentication is available for CFEngine 3 Nova 2.1 and later versions, but by default the Mission Portal will use the embedded database to store user information (default user name and password on the Mission Portal login page are "admin" and "admin"). Note that users in the default database will be locked out of the Mission Portal upon configuration of external authentication. They will regain access if external authentication is deactivated by selecting the Database button on the Mission Portal Settings page (see below).

To enable external authentication on a fresh install, log on to the Mission Portal with the default user and password and go to Settings). Click "Mission Portal Settings" and enter the appropriate configuration for LDAP or Active Directory as described below. Note that the actual setup of LDAP or Active Directory (definition of users, directory hierarchy, etc.) has to be done independently and is not covered in this document.

Configure LDAP

Select the LDAP button and enter the appropriate configuration settings for your system.


Configure LDAP

Form fields:

  • LDAP host: Address of the LDAP machine
  • Base dn: LDAP root, the top entry (starting point) in the directory
  • Login attribute: Field name used to match user name, e.g. uid.
  • User directory: Directory name where user names are stored, e.g. cn=users or ou=people
  • Encryption: Chose the encryption protocol to be used for authentication
  • LDAP user name: Enter the LDAP user name of the person that is supposed to have admin rights
  • LDAP password: Enter the LDAP password of the above user

If you wish to use RBAC in combination with external authentication, we recommend that you wait to turn on RBAC until you log on with the LDAP user that has been designated a Mission Portal admin (i.e do not turn RBAC on while logged on with an internal database user in this case).

Configure Active Directory

Select the Active Directory button and enter the appropriate configuration settings for you system.

Configure Active Directory

Form fields:

  • LDAP host: Address of the Active Directory machine
  • Base dn: LDAP root, the top entry (starting point) in the directory
  • Login attribute: Field name used to match user name, e.g. uid.
  • User directory: Directory name where user names are stored, e.g. cn=users or ou=people
  • Active directory domain: Field name used to match directory domain on Windows machines, e.g. windows1.test.cfengine.com
  • Encryption: Chose the encryption protocol to be used for authentication
  • LDAP user name: Enter the LDAP user name of the person that is supposed to have admin rights
  • LDAP password: Enter the LDAP password of the above user

If you wish to use RBAC in combination with external authentication, we recommend that you wait to turn on RBAC until you log on with the AD user that has been designated a Mission Portal admin (i.e do not turn RBAC on while logged on with an internal database user in this case).

Have more questions? Submit a request

Comments

Powered by Zendesk