Skip to content

Document User Login Filter for LDAP authentication providers#2116

Open
moio wants to merge 6 commits into
rancher:mainfrom
moio:ldap_filter
Open

Document User Login Filter for LDAP authentication providers#2116
moio wants to merge 6 commits into
rancher:mainfrom
moio:ldap_filter

Conversation

@moio
Copy link
Copy Markdown
Contributor

@moio moio commented Dec 2, 2025

This was made with the help of Copilot, context is: moio#5 as part of experiments for my HackWeek project trying out Copilot agents.

Fixes #1682

Description

Documents the new User Login Filter configuration option introduced in v2.11.0 for LDAP authentication providers (Active Directory, OpenLDAP, FreeIPA). This optional LDAP filter expression restricts which users can log in to Rancher based on user attributes.

Active Directory (configure-active-directory.md):

  • Added Login Filter to User Schema table with example filter syntax

OpenLDAP (openldap-config-reference.md):

  • Added Search Filter and Login Filter to User Schema table
  • Added Search Filter to Group Schema table (previously undocumented per issue comments)

FreeIPA (configure-freeipa.md):

  • Added User Login Filter note section

Applied to: docs/, version-2.11, version-2.12, version-2.13

Comments

Related upstream issue: rancher/rancher#48071

The existing User Search Filter and Group Search Filter were also undocumented for OpenLDAP (noted in issue comments) — added those as well.

Copilot AI and others added 3 commits December 1, 2025 07:36
Co-authored-by: moio <250541+moio@users.noreply.github.com>
Document User Login Filter for LDAP authentication providers
@moio moio changed the title Initial plan Document User Login Filter for LDAP authentication providers Dec 2, 2025
pmatseykanets
pmatseykanets previously approved these changes Feb 19, 2026
Copy link
Copy Markdown
Contributor

@LucasSaintarbor LucasSaintarbor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@moio Thanks for the PR! Requesting a small change.

Co-authored-by: Lucas Saintarbor <lucas.saintarbor@suse.com>
@moio moio requested a review from LucasSaintarbor February 23, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User Login FIlter

4 participants