Enterprise Authentication with LDAP / Active Directory

Enterprise Authentication with LDAP / Active Directory

Enterprise authentication with LDAP / Active Directory means users log in to systems with their single account in the company’s central directory instead of keeping a separate username and password for each application. For an MES, this means user joiners and leavers, group memberships and password policies are managed from a single point.

In brief

  • LDAP is a protocol; Active Directory is a directory service that supports this protocol.
  • Identity is verified against the directory; authorisation is usually defined as roles within the application.
  • Directory groups can be mapped to application roles to simplify permission management.
  • When a departing user’s access is disabled in the directory, it is disabled in all systems.
  • A local backup administrator account must be defined for when the directory is unreachable.

Why Central Identity?

A factory has ERP, MES, a file server, e-mail and various automation tools. When each keeps its own user list, three problems arise. First, a departing employee’s account remains open in some systems. Second, instead of many passwords, users tend to use the same simple password everywhere. Third, during a permission audit there is no single answer to “who can access what”.

Central authentication eases all three problems at once. Opening and closing accounts runs together with the HR process; the password policy follows the corporate standard; the access list can be reported from one place.

On the production side there is another concrete benefit: traceability. Who a quality record, a downtime entry or a work order approval belongs to only means something when accounts are personal. A record made with a shared terminal account does not get beyond “someone during the shift” in an audit. Central identity ties the person behind that record to a single real user in the corporate directory.

Identity or Authorisation?

ConceptAnswers the questionWhere is it managed?
AuthenticationIs this person really who they say they are?Directory (LDAP / Active Directory)
AuthorisationWhat can this person see and change?Application roles (MES)
Group mappingWhich directory group corresponds to which role?Where the two meet

Keeping this separation is important. A directory is not designed to carry the detailed permission logic of production screens; and the MES should not take on the corporate side of identity management.

Setup Steps

  1. Define the connection: The directory server address, secure connection settings and the service account used for queries are set.
  2. Set up user matching: Which directory field will be the MES user code is clarified; inconsistency makes logins fail.
  3. Map groups to roles: For example, the maintenance group in the directory is linked to the maintenance role in the MES.
  4. Prepare backup access: A local administrator account is defined against directory outages and stored securely.
  5. Plan the shop-floor scenario: A practical but personal method such as a card or PIN is chosen for operator terminals.
  6. Turn on auditing: Login attempts and permission changes are recorded.

Common Mistakes

  • Becoming completely dependent on the directory without defining a local backup account.
  • Giving the service account broader permissions than necessary.
  • Not documenting the group-role mapping and, over time, forgetting who is authorised and why.
  • Using shared accounts on operator terminals and losing traceability.
  • Using an unencrypted connection instead of an encrypted one.

Frequently Asked Questions

Are LDAP and Active Directory the same thing?
Not exactly. LDAP is a protocol used to access directory servers; Active Directory is Microsoft’s directory service that also supports this protocol. Applications usually connect to Active Directory via the LDAP protocol, which is why the two concepts are mentioned together.
Should operators also log in with corporate accounts?
Yes if possible, but the shop-floor reality should be taken into account. Typing long passwords on a touch terminal is not practical. In this case methods such as a card reader or a short PIN can be used as long as they remain personal; what matters is that accounts are not shared.
If the directory server is unreachable, can nobody log in?
A local backup administrator account should be defined against this risk. Otherwise nobody can log in to the production system during a directory outage. This account’s password should be stored securely and its use should be recorded in the audit trail.

LDAP / Active Directory in EFFIX MES

EFFIX MES supports LDAP and Active Directory integration within its administration module: users log in with their accounts in the corporate directory, while authorisation is managed through EFFIX’s user/role/permission structure. This way identity stays in one central place, while the detailed permission logic of production screens can be defined on the MES side. In multi-site installations, users’ scope can be limited per plant; actions taken are recorded with the hash-chained audit trail and can be linked to electronic signatures in critical quality steps. To learn more, visit the EFFIX MES page or request a demo.