Skip to content
Dremio-Specific Engine & Optimizations Last updated: May 29, 2026

Dremio LDAP Integration

The configuration of Dremio authentication to validate user credentials and map groups against LDAP or Active Directory servers.

dremio ldapdremio active directorydremio authentication

Dremio LDAP Integration

Dremio LDAP Integration enables enterprise administrators to delegate user authentication and group synchronization to Lightweight Directory Access Protocol (LDAP) servers or Microsoft Active Directory (AD). Integrating Dremio with an directory service ensures that database developers, data scientists, and business users can authenticate using their corporate credentials.

Configuration Workflow

To configure authentication, administrators must modify files on the coordinator nodes. The process requires editing the main configuration file and creating a supporting connection specification file.

1. Configuring dremio.conf

In dremio.conf, the authentication type must be set to ldap, and the location of the directory configuration file must be specified:

services: {
  coordinator.enabled: true,
  coordinator.web.auth.type: "ldap",
  ldap_config: "ad.json"
}

2. Specifying Connection Parameters in ad.json

The ad.json file contains parameters for establishing connections, binding credentials, and performing search queries for users and groups:

{
  "connectionMode": "LDAPS",
  "servers": [
    {
      "hostname": "ad.example.com",
      "port": 636
    }
  ],
  "bindUser": "cn=dremio-svc,ou=ServiceAccounts,dc=example,dc=com",
  "bindPassword": "encrypted_password_string",
  "userSearchBase": "ou=Users,dc=example,dc=com",
  "userSearchFilter": "(sAMAccountName={0})",
  "groupSearchBase": "ou=Groups,dc=example,dc=com"
}

Password Encryption

To secure the bind service account credentials, administrators must never store passwords in plaintext inside configuration files. Dremio provides a command-line tool to encrypt the password:

/* Run the encryption utility on a Dremio coordinator node */
bin/dremio-admin encrypt "plaintext_password"

The resulting secure ciphertext is copied directly into the bindPassword property inside the connection JSON file. After restarting the coordinator services, Dremio utilizes this identity to search the directory and validate incoming login requests.

๐Ÿ“š Go Deeper on Apache Iceberg

Alex Merced has authored three hands-on books covering Apache Iceberg, the Agentic Lakehouse, and modern data architecture. Pick up a copy to master the full ecosystem.

โ† Back to Iceberg Knowledge Base