Skip to content

LDAP "Admin Filter" stopped working #25985

Closed
@palto42

Description

@palto42

Description

After upgrading to Gitea 1.20.0 the LDAP Admin Filter stopped working and removed all LDAP based admin permissions.

The admin filter used is:

(memberOf=cn=git-admin,ou=group,o=company,ou=customers,dc=company,dc=net)

It worked in all previous Gitea versions and there hasn't been any change on the LDAP server used.

Gitea Version

1.20.0 - 1.20.4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

nothing visible in the logs

Screenshots

No response

Git Version

2.40.1

Operating System

RHEL 7.9

How are you running Gitea?

Docker based Gitea.
Docker version 24.0.6

Database

MariaDB
mariadb Ver 15.1 Distrib 10.5.11-MariaDB,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions