Pereiti prie turinio

LDAP directory

An LDAP directory domain connects Bastion to the organisation's directory: Active Directory, OpenLDAP or any compliant server. It is the type that needs the least upkeep: accounts and groups stay with their owner, and Bastion reads them without ever copying them.

A departure handled in the directory therefore closes access to Bastion, with no action from the administrator, which is the main benefit of this domain type.

Prerequisites

  • the address and port of at least one server, and the protocol (LDAP or LDAPS);
  • a service account allowed to browse the directory and, for password change by the user and the password rotation of vault aliases, to modify and reset the passwords of accounts;
  • the organizational unit (OU) in which to search for users and groups (the search base);
  • if the server presents a certificate signed by an internal authority, the root CA certificate in PEM format, base64-encoded.

High availability

A domain accepts several LDAP servers. Bastion switches automatically to an available server when the one it was querying stops responding. This is the only resilience mechanism for authentication: a domain with a single server turns the directory into a point of failure that blocks every login, administrators included.

Encryption of exchanges

LDAP over SSL is recommended even on an internal network: without it, credentials and passwords travel in clear between the Edge Gateway and the directory.

Two-factor through Radius

An LDAP domain can be paired with a Radius server, which adds a second factor to the password check. Two modes exist: quicklog, where the password is passed on as is, and challenge/response, where the server returns a challenge for the user to answer.

Radius enabled at creation

The Radius option can only be enabled at creation and cannot be changed afterwards. An LDAP domain created without Radius has to be recreated to benefit from it, which means re-importing its groups and redoing its access contracts. It is the most expensive decision to reverse in the whole module: it is made before the domain is created.

A second factor can also be obtained through an OTP token generator, which has no such constraint and is set at domain or access contract level.

RDS servers

The Enable RDS server management option makes the domain usable in RDS servers, which industrialises from the console the deployment of the recording agent on the directory's RDS servers and the bulk creation of RDS or HTML5 (RDP) applications. Without it, the domain does not appear in that module: the setting lies in the domain, not in the RDS module.

Limits

  • Bastion does not create accounts in the directory: it consults it, and only changes passwords there (password change by the user, rotation of vault aliases). Account management remains the directory's responsibility.
  • The password policy is the directory's. The complexity rules of the local directory do not apply here.
  • The domain cannot be deleted while an access contract, a notification profile or an assistance profile references it.
  • A malformed DN is refused on save.

The details of the fields (connection, search, tree, service account, user password, Radius option, certificate authorities, server grid) are described in the module reference.

The API endpoints that drive this object are described in the API reference.