Open in the explorer

LDAP User Directory

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Collabora Office › Common › LDAP configuration backend User Configuration › Policies › Administrative Templates › Collabora Office › Common › LDAP configuration backend
Supported on
LibreOffice-from-Collabora 4.2 or higher
ADMX file
Collabora-Office.admx
Internal name
Collabora-Office/LDAPConfigBackendSettings

Explanation

Defines how to connect to LDAP server and retrieve user information used in User Data section

Note that the password to bind to LDAP server is stored unencrypted in client system's registry; you should use a restricted search account (only able to perform LDAP searches).

User unique attribute must correspond to the logged on user's Windows user name without domain.

This setting only takes effect in Collabora Office Classic and LibreOffice.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory
HKEY_CURRENT_USER\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: Collabora-Office/LDAPConfigBackendSettings
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\Server'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Server
Set-ItemProperty -Path $k -Name 'Value' -Value '<value>' -Type String
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\Port'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Port
Set-ItemProperty -Path $k -Name 'Value' -Value '389' -Type String
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\SearchUser'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Username to bind
Set-ItemProperty -Path $k -Name 'Value' -Value '<value>' -Type String
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\SearchPassword'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Password to bind
Set-ItemProperty -Path $k -Name 'Value' -Value '<value>' -Type String
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\BaseDN'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Base DN for search
Set-ItemProperty -Path $k -Name 'Value' -Value '<value>' -Type String
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\UserObjectClass'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# User object class
Set-ItemProperty -Path $k -Name 'Value' -Value '<value>' -Type String
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\UserUniqueAttribute'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# User unique attribute
Set-ItemProperty -Path $k -Name 'Value' -Value '<value>' -Type String

Disable

# Disable: Collabora-Office/LDAPConfigBackendSettings
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Collabora-Office/LDAPConfigBackendSettings
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\Server'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\Port'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\SearchUser'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\SearchPassword'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\BaseDN'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\UserObjectClass'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\UserUniqueAttribute'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (7)

LabelControlRegistry valueREG typeConstraints / details
Server:LDAPUDServerDefinition_ServerText boxtextValuein Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\ServerREG_SZ
Default (UI): example.com
Port:LDAPUDServerDefinition_PortNumeric boxdecimalValuein Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\PortREG_SZ
Default (UI): 389
Username to bind:LDAPUDSearchUserText boxtextValuein Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\SearchUserREG_SZ
Default (UI): example\bindLdap
Password to bind:LDAPUDSearchPasswordText boxtextValuein Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\SearchPasswordREG_SZ
Base DN for search:LDAPUDServerDefinition_BaseDNText boxtextValuein Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\ServerDefinition\BaseDNREG_SZ
Default (UI): cn=Users,dc=example,dc=com
User object class:LDAPUDUserObjectClassText boxtextValuein Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\UserObjectClassREG_SZ
Default (UI): user
User unique attribute:LDAPUDUserUniqueAttributeText boxtextValuein Software\Policies\LibreOffice\org.openoffice.LDAP\UserDirectory\UserUniqueAttributeREG_SZ
Default (UI): sAMAccountName

Application

Collabora Office / LibreOffice (Collabora) — November 2026 templates

Official templates downloaded on November 12, 2026.