~/.config/loom-ldapbrowser/config.toml. This file contains connection profiles, keybindings, theme settings, and other preferences.
Configuration File Location
The default configuration file is located at:- Linux/macOS:
~/.config/loom-ldapbrowser/config.toml - Windows:
%APPDATA%\loom-ldapbrowser\config.toml
-c or --config command-line flag.
Full Configuration Example
General Settings
The[general] section contains application-wide settings.
Theme name. Built-in options:
dark, light, solarized, nord, matrix. You can also create custom themes in ~/.config/loom-ldapbrowser/themes/.UI refresh rate in milliseconds. Lower values make the interface more responsive but use more CPU.
Logging verbosity. Options:
trace, debug, info, warn, error.Enable autocomplete suggestions for DN-valued attributes when editing entries.
Enable live search results as you type in the search input.
Enable the encrypted vault for storing credentials. When enabled, loom prompts for a master password on startup.
Connection Profiles
Connection profiles are defined using[[connections]] array blocks. Each profile represents a saved LDAP server configuration.
Required Fields
Display name for the connection profile. This appears in the profiles list and tab bar.
LDAP server hostname or IP address.
Optional Fields
LDAP server port. Common ports are 389 (LDAP), 636 (LDAPS), and 3268/3269 (Active Directory Global Catalog).
TLS connection mode. See TLS Modes for details.Options:
auto- Try LDAPS, fall back to StartTLS, then plaintextldaps- LDAPS (TLS on connect) on port 636starttls- StartTLS upgrade on port 389none- Plaintext, no encryption
Distinguished Name to bind as. Leave empty for anonymous bind.
Base DN for browsing and searching. This is the root of the directory tree displayed in the browser.
How to obtain the bind password. See Credentials for details.Options:
prompt- Interactive password promptcommand- Execute a shell commandkeychain- Use OS keychain (macOS Keychain, GNOME Keyring, Windows Credential Manager)vault- Use encrypted vault (requiresvault_enabled = true)
Shell command to execute when
credential_method = "command". The command’s stdout (trimmed) is used as the password.Example: "pass show ldap/prod"LDAP paged results control size. Larger values fetch more entries per request but may cause timeouts on slow servers.
Connection and operation timeout in seconds.
Send the LDAP Relax Rules control with modify/delete operations. This bypasses some server-side schema validation and is useful with directory plugins that enforce strict constraints.
When
true, prevents all write operations (add, modify, delete) on this connection. Useful for production servers.Folder path for organizing profiles in the profiles tree. Use
/ as a separator for nested folders.Example: "Production/US-East"When
true, uses an in-memory demo directory instead of connecting to a real server. Useful for testing and demonstrations.Folders
The[[folders]] array defines folder descriptions displayed in the profiles layout.
Folder path matching the
folder field in connection profiles.Description text displayed when the folder is selected.
Trusted Certificates
The[[trusted_certificates]] array stores permanently trusted TLS certificate fingerprints. This is populated automatically when you choose “Trust Always” in the certificate trust dialog.
Hostname of the server.
Port number.
SHA-256 fingerprint of the certificate in colon-separated hex format.
Certificate subject DN for display purposes.
Keybindings
The[keybindings] section allows customization of global keyboard shortcuts. See Keybindings for the complete reference.
Environment Variables
Loom LDAP Browser respects the following environment variables:LOOM_PASSWORD- Default bind password whencredential_method = "prompt"LOOM_VAULT_PASSWORD- Vault master password (avoids interactive prompt)
Config Validation
Loom validates the configuration on startup. Common errors:- Duplicate connection names - Each profile must have a unique
name - Invalid TLS mode - Must be one of:
auto,ldaps,starttls,none - Invalid credential method - Must be one of:
prompt,command,keychain,vault - Missing password_command - Required when
credential_method = "command"