From 078e4f234126700ab26172e55f73c68200dafa09 Mon Sep 17 00:00:00 2001 From: MiXaiLL76 Date: Fri, 23 Jan 2026 20:52:14 +0300 Subject: [PATCH] add LDAP_USE_AD_SID env docs --- docs/getting-started/env-configuration.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/getting-started/env-configuration.mdx b/docs/getting-started/env-configuration.mdx index 5dbe5bf35..3e0b90d83 100644 --- a/docs/getting-started/env-configuration.mdx +++ b/docs/getting-started/env-configuration.mdx @@ -4882,6 +4882,14 @@ This is useful when you need a JWT access token for downstream validation or whe - Description: Specifies the LDAP attribute that contains the user's group memberships. `memberOf` is a standard attribute for this purpose in Active Directory environments. - Persistence: This environment variable is a `PersistentConfig` variable. +#### `LDAP_USE_AD_SID` + +- Type: `bool` +- Default: `False` +- Description: Enable using Active Directory Security Identifier (SID) as the user ID in LDAP authentication instead of generating a random UUID. When enabled, the user's AD SID will be extracted from the `objectSid` attribute and used as the user ID in Open WebUI. +- Persistence: This environment variable is a `PersistentConfig` variable. + + ## SCIM #### `SCIM_ENABLED`