Skip to main content
Skip table of contents

Active Directory and LDAP

This section describes how to configure SuperSTAR to authenticate users against an LDAP directory. LDAP (Lightweight Directory Access Protocol) is a very commonly used interface to user or account information. A very popular variant of LDAP is Microsoft Active Directory service.

When LDAP authentication is in use, SuperSTAR still performs authorisation via its own internal system. However, groups from the LDAP directory can be used to assign permissions in the SuperSTAR system.

Intended Audience

This document is for System Administrators setting up the SuperSTAR suite in an enterprise environment. It is expected that you are familiar with how to launch and login to the SuperADMIN Console command-line tool.

It is also expected that you are familiar with the basics of LDAP, including the use of Distinguished Names (DNs) to identify elements (e.g. users and groups) in the LDAP directory tree.

Authentication in SuperSTAR

In the SuperSTAR software suite, user access is managed by the SuperADMIN service. Other components (such as SuperSERVER and SuperWEB2) connect to SuperADMIN to authenticate users.

SuperADMIN uses the typical system of Users and Groups of users to manage authentication and authorisation. By default, SuperADMIN will use a locally maintained list of users and groups that you can manage using the SuperADMIN console.

However, organisations typically have an existing directory of users and user groups that they maintain. Rather than duplicating that user directory, you can configure SuperADMIN to use the existing external user directory directly.

Authentication Providers

SuperADMIN includes a set of authentication providers for connecting to authentication services or directories. The standard SuperADMIN installation includes the following providers:

ProviderDescription
STRLocal

The default user and group store managed entirely via the SuperADMIN console. This user store is private to SuperADMIN.

ActiveDirectory

Authentication against a Microsoft Active Directory system, optionally with Single Sign On using Kerberos.

eDirectory

Authentication using the eDirectory LDAP server.

LDAP

A generic authentication provider for all other LDAP servers.

ExternalJAASModule

Provides a plugin mechanism for advanced users to integrate SuperSTAR with an external authentication system. For example, a module could be written to authenticate via an Intranet portal system.

This is the most flexible authentication provider, but it requires custom code to be written. Contact Space-Time Research for further information on using this module.

The ActiveDirectory, eDirectory and LDAP providers are all different flavours of authentication using an external LDAP server. Most of the configuration settings are the same for each of these providers.

To view the list of providers available in your SuperADMIN installation, use the following console command:

CODE
auth providers

Authentication Services

A configured instance of an authentication provider is called an authentication service. To configure SuperADMIN to authenticate users against your LDAP server, you must create and configure a new authentication service.

If necessary, you can authenticate against multiple authentication providers by creating multiple authentication services.

The built-in authentication service (STRLocal) is used for initial configuration and as a fallback login method in case the external authentication service experiences problems. STRLocal cannot be removed or altered.

To view the details of the authentication services currently configured in your SuperADMIN installation, use the following console command (note that the built-in STRLocal service is not listed):

CODE
auth services

Create a New LDAP Authentication Service

To create a new LDAP authentication service, login to SuperADMIN as a user with administrative privileges (typically you should use the local SuperADMIN user to do the configuration), then complete the following steps:

Step 1 - Create the Service

Type the following command to create the service:

CODE
auth add <provider> <service_name>

Replace:

  • <provider> with either ActiveDirectory, eDirectory or LDAP (if you are not using Active Directory or eDirectory, use the generic LDAP provider for all other cases)
  • <service_name> with your chosen name for the service

For example:

CODE
auth add LDAP myService

Step 2 - Configure the Service

Use all the following commands (except those marked as optional) to configure the service parameters.

  • Each command starts with auth <service_name>, where <service_name> is the name you selected when you created the service.
  • You can type auth services at any time to review the settings you have already configured.
CommandConfiguresExample
auth <service_name> url <url>
The fully qualified domain name of your LDAP/Active Directory/eDirectory server.
auth myService url "ldap://ldaphost.company.com"
auth <service_name> port <port>

The port the LDAP server is running on (optional: only required if your server is running on a non standard port).

auth myService port 389
auth <service_name> basedn <base>
The default base location for LDAP searches.
auth myService basedn "dc=company,dc=com"
auth <service_name> user basedn <base>
auth <service_name> group basedn <base>
The default search location when searching for users or groups (optional).
auth myService user basedn "cn=users,dc=company,dc=com"
auth myService group basedn "cn=groups,dc=company,dc=com"
auth <service_name> user userClass <attribute>
The LDAP "object class" of the objects that represent users or accounts (the standard Active Directory value is person).
auth myService user userClass person
auth <service_name> user groupAttr <attribute>
The name of the attribute of the LDAP user/account objects that indicates which groups the user is a member of (the standard Active Directory value is memberOf).
auth myService user groupAttr memberOf
auth <service_name> user idAttr <attribute>
The name of the attribute of the LDAP user/account object that holds the unique ID of the user (the standard Active Directory value is sAMAccountName).
auth myService user idAttr sAMAccountName
auth <service_name> group groupclass <attribute>
The LDAP "object class" of the objects that represent groups of users or accounts (the standard Active Directory value is group).
auth myService group groupclass group
auth <service_name> group memberAttr <attribute>
The name of the attribute of the LDAP group objects that indicates which users are members of the group (the standard Active Directory value is member).
auth myService group memberAttr member
auth <service_name> group idAttr <attribute>
The name of the attribute of the LDAP user/account object that holds the unique ID of the group (the standard Active Directory value is cn).
auth myService group idAttr cn
auth <service_name> adminGroup <group>

The name of a group of users from the LDAP server who should have administrator rights in SuperADMIN.

Specify the group using just its name (you do not need a full DN).

auth myService adminGroup "SuperSTAR Administrators"
auth <service_name> group filter <groups>

The names of specific LDAP groups SuperADMIN will use for authorisation purposes. This is optional: if you omit this command then SuperADMIN will use all the groups defined in LDAP.

auth myService group filter "Group1,Group2,Group3"
auth <service_name> contextLogin true

Use this command and the following two commands to specify the LDAP user that SuperADMIN will use to login to the LDAP server.

You are recommended to create a dedicated user for use by SuperADMIN.

auth myService contextLogin true
auth <service_name> contextLogin userdn <user>
The LDAP user that SuperADMIN will use to connect to the LDAP server.
auth myService contextLogin userdn "cn=superadmin,cn=Users,dc=domain"
auth <service_name> contextLogin password <password>
The password for the LDAP user that SuperADMIN will use to connect to the LDAP server.
auth myService contextLogin password "autobuild"
auth <service_name> priority <priority>

The priority for this authentication service.

Each configured service has a priority: the service with the highest priority is tried first. If the login to the service fails, the next service is tried, and so on.

The built-in STRLocal service has a priority of 100, so you should set your LDAP service to have a priority greater than 100. If you are adding multiple authentication services you can use the priority to control the order in which they will be tried.

auth myService priority 200

Step 3 - Activate the Service

When you have finished configuring all the service parameters, use the following command to activate your new service (replace <service_name> with the name of your service). Once you have activated the service it will be used to perform authentication if necessary:

CODE
auth <service_name> active true

If you need to temporarily disable the authentication service for any reason, you can use the following command. This deactivates the service without deleting it:

CODE
auth <service_name> active false

Important Note

Up to this point, you have most likely been using an administrator account that is defined by the STRLocal authentication service (the internal SuperADMIN authentication service).

Once you activate an external authentication service, such as LDAP, you need to switch to using an administrator account from that external authentication service (i.e., a user that belongs to the administrator group you specified using the auth <service_name> adminGroup <group> command).

You will not be able to manage user permissions for the users defined by this external authentication service unless you are logged in using an administrator account for that service.

If you set up multiple external authentication services, and you want to manage a user's account, then you must make sure you log in with an administrator account that belongs to the same authentication service as the user you want to manage. For example, this is important if you need to unlock a user account when the user has authenticated through Active Directory/LDAP.

Learn More

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.