How LDAP and Active Directory sign-in fits OpenMetadata
OpenMetadata can be configured to authenticate users against LDAP or Active Directory, so staff can sign in with the credentials they already use. The decision that matters most is that OpenMetadata does not run multiple authentication mechanisms at once, so directory sign-in replaces OIDC SSO or basic authentication on that instance rather than sitting beside it. Before you plan around this, confirm the exact LDAP settings, supported options and any release-specific behavior in the OpenMetadata security docs for the release you will deploy, because the directory fields and mappings are documented there and not in this summary.
LDAP-based sign-in suits organizations whose identity lives in an on-premises directory that cannot yet be federated, and where the catalog will be opened to many staff who need no separate password. Active Directory is the common case. Microsoft describes Active Directory Domain Services as the directory that stores users and computers and that most on-premises applications reach through LDAP, while SaaS applications usually need a federation layer. If your organization already federates to Entra ID or another identity provider, OIDC SSO is usually the better fit: it moves sign-in policy such as MFA, conditional access and deprovisioning to the identity provider, and it avoids giving OpenMetadata a direct bind path into the directory.
Before choosing, ask three questions. Who will administer the directory and the bind account, and how will that account be rotated? Which groups or roles in the directory map to OpenMetadata access, and is that mapping maintained by the identity team? And who owns the service and bot accounts that stay on basic or token access for ingestion, since those will not follow the directory. Document the answers in the same change record that switches the instance to directory sign-in, so the trust model is reviewed with the rest of the access design.
How a directory bind flows through OpenMetadata sign-in
The flow starts when a user submits directory credentials to the OpenMetadata server, not to the directory. The server then opens a bind to the directory server over LDAP with TLS, and the bind crosses the trust boundary between the OpenMetadata host and the directory side. The directory checks the user and group objects and returns either success or a bind error. Check the TLS leg first when a bind fails, then confirm the account and group objects the server searches.
Credentials cross to the directory over TLS, and bind results return to the server.
Choosing LDAP, Active Directory or SSO for OpenMetadata
This table compares the four ways a team can connect OpenMetadata to a corporate directory: a direct LDAP bind to Active Directory, a standalone LDAP directory, an identity provider brokering directory accounts over OIDC, and Entra ID synced through Entra Connect. Read each row against your directory estate and your team's operating capacity, and confirm each path in OpenMetadata's security documentation before committing. The main takeaway is that the option with the fewest moving parts is usually the one your identity team already runs and monitors.
| Option | When it fits | What your team must operate | What to confirm in OpenMetadata docs |
|---|---|---|---|
| Active Directory with direct LDAP bind | Windows-centric estates where OpenMetadata must validate usernames and passwords against AD domain controllers | LDAPS certificates, a dedicated read-only bind account, group and search base design, and domain controller reachability from OpenMetadata | Whether the LDAP authentication settings cover AD-specific search and bind behavior, and the TLS requirements |
| OpenLDAP or another LDAP directory | Linux-centric or mixed estates with an existing LDAP service that holds users for internal applications | slapd or equivalent patching, replication across providers, TLS, schema for user and group attributes, and backup of the directory | Supported LDAP versions and the exact attribute mappings for user identity and roles |
| Identity provider brokering directory accounts over OIDC | Organizations that already federate directory users through Keycloak, authentik or a similar provider and want one sign-in path | The broker's uptime, client registration, group claim mapping and the directory sync or federation settings inside the broker | Which OIDC providers are documented for SSO and how group or role claims map to OpenMetadata roles |
| Entra ID through Entra Connect | Hybrid organizations that already sync on-premises identities to Microsoft Entra ID with Entra Connect | Entra Connect sync health, the Entra application registration, and the sync scope that decides which accounts can sign in | Whether the documented Azure or OIDC SSO path applies, and whether any direct LDAP option exists for Entra ID |
| Decision check | Use this row to confirm your starting point before designing groups and roles | Named owner for the directory, the sign-in path and the break-glass account | Whether multiple authentication mechanisms can run together, since the docs state they cannot |
Configuration per deployment type: Kubernetes, bare metal and Docker
On Kubernetes, the LDAP settings are usually supplied through the Helm chart values that render the OpenMetadata server configuration, so the authentication block is managed as code alongside the rest of the release. The bind password should not be placed in plain values files committed to source control. Most teams reference a Kubernetes Secret, or an external secrets integration, and map it into the server environment so the value never appears in the chart. Confirm the exact Helm value names and secret reference format in the deployment docs for your chart version, because they change between releases.
- Settings location: LDAP parameters sit in the chart values for the authentication section, rendered into the server configuration on deploy.
- Secret delivery: The bind password is read from a Kubernetes Secret injected as an environment variable, not typed into values.
- Applying changes: A changed value triggers a Helm upgrade, which rolls the server pods so the new configuration loads.
- Behind ingress or a load balancer: Authentication callbacks and the public host name must match what the ingress serves, and TLS termination at the ingress affects how the LDAPS connection is handled.
- Multiple replicas: Every replica must receive identical settings, so confirm the rollout completes on all pods before testing sign-in.
Before go-live, confirm the chart version, the secret reference and the ingress host name against the deployment docs for your release.
On bare metal, the server reads its configuration from a file on the host, and the LDAP parameters live in that file alongside the database and search settings. The bind password is usually provided through an environment variable or a root-readable file that the service manager loads at startup, so the value stays out of the main configuration file. A change takes effect only after the OpenMetadata service restarts, so plan a maintenance window and keep a copy of the previous file for rollback. Confirm the exact configuration file path, variable names and service name in the bare metal deployment docs for your version.
- Settings location: LDAP parameters sit in the server configuration file on the host, with the path confirmed in the bare metal docs.
- Secret delivery: Load the bind password from an environment variable set by the service unit, with file permissions restricted to the service account.
- Applying changes: Edit the file, validate the syntax, then restart the OpenMetadata service through the service manager.
- Behind a load balancer: Every backend node needs the same file, and a rolling restart must keep at least one node serving sign-in during the change.
- Host hygiene: Restrict read access to the configuration file, since it names the directory service and may reference credentials.
Before go-live, check the file permissions, confirm the restart order across nodes, and test sign-in on each backend.
Docker is documented for local trials rather than production, and that matters for LDAP because a trial usually points at a test directory with throwaway accounts. The settings are typically passed as environment variables to the container, either on the command line or through a compose file. Because the container is recreated rather than edited, a configuration change means stopping and starting the container with the new environment. Use a non-production directory and disposable service accounts, and do not reuse a production bind password in a compose file that others can read. Confirm the image tag and variable names in the deployment docs before you begin.
- Settings location: LDAP values are environment variables in the compose file or the run command, with names confirmed in the deployment docs.
- Secret delivery: Use a
.envfile excluded from version control, or Docker secrets where your setup supports them, rather than inline values. - Applying changes: Update the environment and recreate the container, since editing settings inside a running container does not persist.
- Behind a proxy: A local reverse proxy adds a second host name and TLS layer, so check the external URL and certificate trust before testing.
- Scope limits: A trial setup is not a template for production hardening, so treat it as a test of directory queries and group mapping only.
Before relying on a trial, confirm that the directory test account and the image version match the release you plan to deploy.
Setting up directory sign-in step by step
This sequence takes a self-hosted OpenMetadata server from no directory sign-in to tested LDAP or Active Directory sign-in for standard and admin users. Each step ends with a check you can run, and a rollback note tells you how to undo that step if the check fails.
Confirm the release and auth mode
The platform owner records the OpenMetadata version in production and reads the security documentation for that version to confirm which directory authentication options it supports and what settings each one expects. OpenMetadata does not run multiple authentication mechanisms at once, so plan the cutover from your current sign-in method and confirm how a local break-glass admin account will stay available during testing. Check: a written note listing the version, the chosen auth mode, and a break-glass admin account that you have signed in with at least once. Rollback: nothing has changed yet, so there is nothing to undo.
Create a read-only bind account
A directory administrator creates a dedicated service account that OpenMetadata uses only to search for users and groups before a user's password is checked. Grant it read access to the user and group objects and the attributes you plan to map, such as login name, email and group membership, and no write or password reset rights. Record its distinguished name and the directory scope it can read. Check: from the OpenMetadata host, run a test search with an LDAP client such as ldapsearch using this account and confirm it returns a known test user. Rollback: disable the account, since no other system depends on it yet.
Verify encrypted transport with the directory CA
Export the certificate authority that issued the domain controllers' certificates and place it where the OpenMetadata server reads trusted certificates. Then confirm that the secure LDAP port (LDAPS) or StartTLS works from the OpenMetadata host, for example with openssl s_client against a domain controller. Use the directory hostname that appears in the certificate so validation does not fail on a name mismatch. Check: the TLS handshake completes and the certificate chain validates against your CA. Do not send bind passwords over plaintext LDAP. Rollback: remove the imported CA and restore the previous directory URL setting.
Set the search base and attribute mapping
Set the base distinguished name for user searches, the user search filter, and the directory attributes that map to the OpenMetadata user name, email and display name. Confirm the attribute names with your directory team against your own schema, since logon name and email attributes differ between Active Directory forests and other directories. Set the group filter if admin rights will come from directory group membership. Check: a test search using the same base and filter returns exactly the intended users, and the admin group returns the expected members. Rollback: restore the saved copy of the previous settings and repeat the test search.
Store bind credentials in a secrets store
Place the bind account password in the secrets manager your platform already uses, and give the OpenMetadata service identity read access to only that secret. Keep the password out of configuration files, container definitions and version control. Confirm the exact way your deployment type reads a secret from the documentation for your release before you change the configuration. Check: the server starts and reads the secret, and a search of the configuration directory and repository for the password value returns no matches. Rollback: if the password was ever written in plain text, rotate it in the directory, update the secret, and remove the plain text copy.
Restart the server and check logs
Restart OpenMetadata the way your deployment runs it, such as a Kubernetes rollout, a systemd service, or a container restart, and watch the startup logs for directory connection messages. The platform owner confirms that the bind account authenticates and that searches run without repeated errors. If a bind error appears, such as data 52e, check the bind password and the account lock state before you change any filter, since the troubleshooting section covers the common causes. Check: the server reports healthy and the logs show a successful bind with no repeated failures. Rollback: restore the previous configuration version and restart again.
Test sign-in with standard and admin users
Sign in with a standard directory user who should have default access and confirm the account is matched or created with the expected name and email. Then sign in with a directory user in the admin group and confirm that admin functions appear for that account only. Also test a user who has been removed from the directory group and confirm the change takes effect at the next sign-in, which you should verify for your release. Check: all test sign-ins succeed and the rights match the directory groups. Rollback: if a test user receives the wrong rights, disable directory sign-in, use the break-glass account to correct the group mapping, and repeat the tests.
Diagnosing data 52e and other bind failures
Most LDAP sign-in failures in OpenMetadata come from a small set of causes: a rejected bind, a search that finds nothing, a certificate the host cannot verify, or a directory account that cannot read what it needs. Work through these cards in order, because the first check usually separates a credential problem from a configuration problem.
Data 52e on bind
The symptom is a bind rejected with data 52e, which Active Directory uses to report invalid credentials. It means the bind DN or password was refused by the directory, so the search base and filter are not the first suspects. Start by confirming the bind account's DN format and password with a separate LDAP client from the OpenMetadata host. In OpenMetadata's logs, look for the authentication error at the time of the attempt and compare it with the directory's own failure record for that account.
Security docsWrong user search base or filter
The symptom is a successful bind followed by a sign-in that reports the user does not exist. The likely cause is a search base that does not contain the user's container, or a user filter that does not match the attribute your directory uses for the login name. Check the base DN and filter against a known user with an LDAP search tool, then confirm the same values in the OpenMetadata authentication settings. Also confirm whether the user sits in a child OU that a subtree search would reach.
Certificate chain not trusted
The symptom is a TLS handshake failure when OpenMetadata connects to the directory over LDAPS or StartTLS. The likely cause is that the host does not trust the issuing certificate authority, often an internal root or an intermediate missing from the chain. Verify the chain from the OpenMetadata host with a TLS client, and confirm the certificate name matches the host name you configured. Ask your PKI team for the full chain, and confirm where the Java trust store used by the server expects it to be installed.
Locked or expired account
The symptom is a sign-in that fails for one user while others on the same directory succeed. The likely cause is an account that is disabled, locked after repeated failures, or past its password expiry, which the directory enforces before OpenMetadata receives a result. Check the account state in the directory first, including lockout status and expiry attributes. Then confirm in OpenMetadata's logs whether the failure is a credential rejection, so you do not reset a password that was never the problem.
Bind account lacks read permission
The symptom is that the bind succeeds, but user lookups return nothing or only partial attributes such as a missing email. The likely cause is a service bind account that has no read access to the target OU or to the attributes OpenMetadata needs. Confirm the bind account's delegated permissions by searching as that account from a separate client, and compare results against an administrator search. Ask your directory team to document exactly which attributes the account can read, because that list defines what the user record can contain.
Clock skew and name resolution
The symptom is an intermittent failure, a Kerberos-style time error, or a connection that works by IP address but not by host name. The likely cause is clock drift between the OpenMetadata host and the domain controllers, or a DNS record for the directory that the host cannot resolve or resolves to the wrong server. Confirm the host resolves the directory name to the expected domain controller, and check that its time source matches the directory's. Record the server address and time in the logs when you reproduce the fault, so the cause can be compared across hosts.
Active Directory, OpenLDAP or Entra ID: which directory to point at
Point OpenMetadata at the directory your users already sign in to, and make that choice before you touch any configuration. In most organizations that directory is Active Directory Domain Services, a Windows Server role that stores users, computers and other objects, replicates directory data to every domain controller in a domain, and provides a schema, a global catalog and a query and index mechanism. Microsoft notes that most on-premises applications authenticate against Active Directory through LDAP, Windows-integrated authentication (NTLM and Kerberos) or header-based authentication. For OpenMetadata, the relevant path is LDAP, so your platform team needs the domain controller hostnames, the LDAP port and the search base for the users who should get accounts.
Organizations that already run Active Directory often also use Microsoft Entra ID for cloud applications. Microsoft's comparison describes Entra Connect as the tool that syncs existing Active Directory identities to Entra ID. That sync does not give OpenMetadata an LDAP endpoint, so a Entra ID tenant alone does not answer the LDAP question. If your identities live in Entra ID and you want browser sign-in, the sibling SSO topics are the better fit. Separately, Microsoft explains that Active Directory needs a federation system such as AD FS for SaaS applications, so confirm which federation path your identity team actually operates before choosing a protocol.
Linux-centric estates usually have a different directory question. OpenLDAP is an open-source LDAPv3 directory server; its current releases are the feature release 2.7.1 and the long term support release 2.6.15, and slapd supports TLS and SASL. FreeIPA is another option for Linux identity, and it can establish a cross-forest trust with an Active Directory domain so Active Directory users can reach Linux resources. Whichever you choose, confirm three things with the directory owner: that the OpenMetadata server and its ingestion components can reach the directory endpoints over the required ports, that the directory is served over TLS, and that the release you run supports the LDAP settings you plan to use. Verify these against your own OpenMetadata release's documentation, since the directory integration details depend on it.
Security considerations for directory sign-in
Pointing OpenMetadata at a directory moves credential handling, administrator assignment and account removal into systems your identity team already runs. The cards below cover the trust decisions that connect the OpenMetadata server, the directory and the policy model, and the checks to make before exposing sign-in to the whole company.
The server sees passwords in transit
During an LDAP bind, OpenMetadata receives the password a user typed and passes it to the directory. Without an encrypted channel, that password crosses the network in a form an attacker on the path can capture. Require LDAPS or StartTLS between the OpenMetadata server and every directory server, and confirm in the security docs which certificate settings the server validates. Do not accept a connection that skips certificate checks.
Security docsA least-privilege bind account
OpenMetadata authenticates to the directory with a service account it holds the credentials for, so that account's password is a high-value secret. Give it read access to the user search base and the group attributes used for mapping, and nothing more. Ask the directory team to exclude it from interactive logon and password reset rights, and plan a rotation process that updates the value wherever OpenMetadata reads it.
Group mapping sets administrators
Whoever belongs to a directory group that maps to an OpenMetadata admin role can change services, policies and ingestion. A broad group such as all engineers, or a nested group that picks up contractors, quietly widens that power. Review each mapping with the people who own the directory group, and confirm in the security docs how role assignment from groups is configured and whether it applies at each sign-in.
Offboarding depends on the directory
OpenMetadata checks credentials against the directory at sign-in, so a disabled or deleted account stops working only if the directory reflects that change. Local accounts or cached sessions outside the directory can outlast a departure. Agree with the identity team which deprovisioning events apply to OpenMetadata, test a disabled account in a staging instance, and confirm how existing tokens and sessions are invalidated.
Log failed binds and role changes
Failed bind attempts reveal password guessing, a disabled account being retried, or a misconfigured bind account after a password change. Successful sign-ins and role changes show who gained access and when. Confirm in the security docs which authentication events and administrative actions OpenMetadata records, where the logs go, and how long your team keeps them, then forward them to the same monitoring your security operations use.
Roles interact with the policy engine
Directory sign-in only establishes who the user is. What that user can do comes from OpenMetadata's policy engine, and unowned services and pipelines fall under a default policy that many teams do not review. Before opening access to everyone, decide which directory groups map to which policies, and read the service ownership risk guidance so that a new user inherits nothing they should not reach.
What do teams ask before hiring help with LDAP sign-in?
What drives the cost of setting up LDAP sign-in for OpenMetadata?
The main cost driver is how many directory environments you must reach and how much of the directory team's time the work consumes. Cost splits into one-time work (scoping, configuration, testing, documentation and handover) and recurring work (keeping the bind account, certificates and group mappings current as the directory changes). Ask for a quote that separates these, lists each deployment target (Kubernetes, bare metal or Docker for trials) and states who holds the directory changes, the certificate work and the sign-off on the test results.
Can our internal team set up LDAP authentication for OpenMetadata alone?
Yes, a team with access to the OpenMetadata configuration, a directory administrator and someone who can manage TLS certificates can usually do the work in house. The gaps tend to be in directory knowledge (service account rights, group structure, nested groups), TLS trust chains and reproducing bind errors across environments. Before deciding, check whether your engineers can read directory attributes and test binds from the OpenMetadata host, and whether anyone owns the setup after go-live.
How long does LDAP sign-in work take, and what sets the duration?
Duration depends on the directory structure, how many OpenMetadata deployments need the same configuration, and how quickly the directory team can approve a bind account and certificate. Work that involves a single clean directory and one deployment is shorter than work spanning several forests, multiple domain controllers or air-gapped networks. Ask the provider for a written timeline tied to the agreed scope, with the dependencies on your directory team listed as separate milestones.
What does the directory team need to provide for this work?
The directory team typically provides a dedicated read-only bind account, the search base and user and group attributes, the group membership needed for access decisions, and the domain controller or LDAP endpoint names. They also need to confirm whether LDAPS is available and which certificate authority signs it. Agree on these inputs before the build starts, because most delays come from waiting for a bind account or a certificate chain rather than from OpenMetadata configuration.
Should we choose SSO or LDAP for OpenMetadata sign-in?
Choose SSO through OIDC or SAML when your identity provider can issue tokens for OpenMetadata, because it moves login, multi-factor policy and session control to the identity provider. Choose LDAP when your directory is the only identity source the teams can use and no federation layer exists. OpenMetadata does not support combining SSO and basic authentication at once, so the choice is a single mechanism per deployment. Confirm with your identity team which path matches your current directory and access review process before scoping the work.
How do we test LDAP sign-in without exposing the whole company?
Start in a non-production OpenMetadata instance connected to a test directory or a pilot group, then move to production with a limited set of users. Verify successful binds, rejected passwords, group-based access, account disablement and the behavior when the directory is unreachable. Keep at least one local administrator path documented and tested so that a directory outage does not lock out the platform owners. Ask the provider to include a written test plan and a rollback step in the scope.
What should a quote for LDAP sign-in include?
A useful quote names the OpenMetadata version and deployment type, the directory products and number of domains or forests in scope, the TLS approach, the group mapping rules and the test cases. It should list the deliverables (configuration, test evidence, runbook, handover session) and state which tasks are the client's responsibility, such as the bind account and certificate issuance. Ask for the assumptions behind the price and duration, and for a clear statement of what happens if the directory structure differs from what was described during scoping.
Limits to confirm in your environment
Directory authentication for OpenMetadata depends on details the documentation may not settle for your release and your directory. The cards below list the questions to put to the vendor, your directory team and your own test environment before any user signs in.
Supported LDAP options in your release
Ask the OpenMetadata maintainers which LDAP settings the release you plan to run actually supports, including TLS modes, port usage, user search filters and attribute mappings. Confirm this against the exact version in your deployment, since options can change between releases. Test each setting in a non-production instance before you rely on it.
Security docsNested groups and group-based roles
Ask whether OpenMetadata reads nested group membership from Active Directory and whether it can map directory groups to its own roles. Many organizations grant access through nested groups, so a flat lookup may miss users who should have access. Test with a user who is only a member of a nested group and record which OpenMetadata role they receive.
Bind account password rotation
Confirm how the service account used for the directory bind is configured and how its password can be changed without a restart or outage. Ask the directory team whether the account has a password expiry policy that would silently break sign-in. Decide where the password is stored and who can read it, and rehearse a rotation in a test environment.
Directory certificate chain availability
Ask the directory team for the full certificate chain for the LDAPS endpoint, including any internal certificate authority. Confirm where OpenMetadata reads trusted certificates from and how they are updated when the directory certificate renews. A missing intermediate certificate is a common cause of connection failures that look like credential errors.
Authentication settings across upgrades
Check how authentication configuration carries across upgrades before you move to a new major release. Review the 2.0 breaking changes in the release notes and confirm which configuration keys change, are renamed or are removed. Keep a copy of the working authentication settings so you can compare them after each upgrade.
2.0 release notesDirectory reachability from every component
Confirm which OpenMetadata components perform directory lookups, such as the web server, the API server and ingestion workers, and whether each can reach the directory on the required port. Network rules often allow the web tier but block workers or containers in a separate network segment. Test reachability from each component's actual network location, not from a workstation.
How DeployOpen scopes and delivers directory sign-in
DeployOpen plans, implements, tests and documents LDAP and Active Directory sign-in for OpenMetadata inside your own infrastructure. Each engagement starts with a written scope that names your directory, your deployment type and the users and groups who need access.
How we scope
- Confirm the directory type, domain structure, LDAP endpoints and whether TLS is available for every bind.
- Agree in writing which deployment type applies, such as Kubernetes or bare metal, and who owns each configuration change.
- Define the group mapping, admin accounts, fallback access and the test users used to verify sign-in before go-live.
How we build
- Set up a dedicated read-only bind account with the permissions needed to search users and groups, and nothing more.
- Configure the LDAP provider settings in OpenMetadata, keeping the bind password in your secrets handling rather than in plain configuration.
- Test failed binds, expired passwords, locked accounts and users outside the search base, and document the error codes found.
How we hand over
- Deliver the final configuration, with secrets referenced by name, plus a record of each test case and its result.
- Provide a runbook for diagnosing bind errors, including how to read directory error codes such as 52e in your environment.
- Walk your identity and platform teams through the setup so they can review it and change it without us.
How we support
- Engagements are fixed-scope, so changes after handover are scoped and quoted as separate written work.
- Ongoing support, upgrades and retesting after OpenMetadata or directory changes are available as a retainer.
- Ask any partner, including DeployOpen, to confirm which LDAP and directory features your OpenMetadata version supports.

