LDAP: gitea admin cmd missing groups #13828

Closed
opened 2025-11-02 10:54:19 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @gregdymek on GitHub (Dec 15, 2024).

Description

I was trying to use gitea admin tool to setup ldap integration,
however the options I see running gitea admin auth add-ldap --help are limited comparing to what we see on the UI,
what we're missing is everything group related eg. group_dn, group_member_uid
are those options just missing in help or they are not supported?
thank you

Gitea Version

1.22.6

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

using docker compose

Database

PostgreSQL

Originally created by @gregdymek on GitHub (Dec 15, 2024). ### Description I was trying to use gitea admin tool to setup ldap integration, however the options I see running `gitea admin auth add-ldap --help` are limited comparing to what we see on the UI, what we're missing is everything group related eg. `group_dn, group_member_uid` are those options just missing in help or they are not supported? thank you ### Gitea Version 1.22.6 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? using docker compose ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 10:54:19 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Dec 15, 2024):

are those options just missing in help or they are not supported?

I think it a missing feature (not supported yet). Usually the history is like this: at the beginning, there is simple LDAP support and simple admin cli support, then some features are improved or changed, but the admin cli might not get updates at the same time.

Because many features are written by different contributors, so if the author didn't need or forgot something, then it would be missing and cause inconsistency. 🤣

@wxiaoguang commented on GitHub (Dec 15, 2024): > are those options just missing in help or they are not supported? I think it a missing feature (not supported yet). Usually the history is like this: at the beginning, there is simple LDAP support and simple admin cli support, then some features are improved or changed, but the admin cli might not get updates at the same time. Because many features are written by different contributors, so if the author didn't need or forgot something, then it would be missing and cause inconsistency. 🤣
Author
Owner

@gregdymek commented on GitHub (Dec 15, 2024):

ok, maybe I'll try to do it trough the UI (webscraping) or maybe with sql

@gregdymek commented on GitHub (Dec 15, 2024): ok, maybe I'll try to do it trough the UI (webscraping) or maybe with sql
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13828