LDAP

The Lightweight Directory Access Protocol (LDAP) is a network protocol for querying user information (e.g. user names, groups) from a directory service. The directory service (e.g. Active Directory from Microsoft) is often used in larger companies to centrally manage users and groups.

Application scenario

The TwinCAT HMI LDAP extension enables access to an LDAP server so that the user groups in the TwinCAT HMI server are available for user management.

Advantages

Architecture

The LDAP server extension runs in the .NET extension container (1) in an independent process and connects to the server (2) via LDAP. The HMI server and LDAP extension communicate as usual via Websocket (3).

Within the HMI project, authorizations cannot be configured directly with the LDAP groups. HMI groups are created and configured in the usual way. In the LDAP extension, the HMI and LDAP groups can be connected via group mappings (1, 2). The HMI server creates the LDAP users as HMI users at the first login (3).

LDAP 1: