mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #3565] [CLOSED] Add support LDAP and portable database MySQL #5442
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/3565
Author: @konstpic
Created: 9/26/2025
Status: ❌ Closed
Base:
main← Head:main📝 Commits (2)
51b5d10add ldap support and portable database MySQLdf3e483see to changelog📊 Changes
150 files changed (+78853 additions, -7241 deletions)
View changed files
📝
DockerInit.sh(+1 -1)📝
Dockerfile(+20 -8)📝
README.ar_EG.md(+14 -14)📝
README.es_ES.md(+13 -14)📝
README.fa_IR.md(+13 -14)📝
README.md(+13 -14)📝
README.ru_RU.md(+13 -14)📝
README.zh_CN.md(+13 -14)➕
build/x-ui(+0 -0)➕
changelog_RU_EN.md(+121 -0)➕
changelog_RU_EN.txt(+121 -0)📝
config/config.go(+11 -92)📝
config/version(+1 -1)📝
database/db.go(+35 -35)📝
database/model/model.go(+34 -46)📝
docker-compose.yml(+121 -6)📝
go.mod(+41 -36)📝
go.sum(+158 -84)📝
install.sh(+16 -50)📝
logger/logger.go(+1 -19)...and 80 more files
📄 Description
Add LDAP Integration and External MySQL Support
What is the pull request?
This PR introduces two major improvements:
LDAP Integration for Client Access Management
client.email(local status storage, no LDAP lookup on connect).deny.ldapFlagField(fallback:ldapVlessField).ldapTruthyValues(default:true, 1, yes, on).ldapInvertFlag(useful forshadowInactive).External MySQL Database Support
Which part of the application is affected by the change?
Type of Changes
Implementation Details
LDAP
web/job/ldap_sync_job.goutil/ldap/ldap.go(go-ldap/ldap/v3)web/service/setting.go,web/entity/entity.goweb/assets/js/model/setting.jsweb/html/settings/panel/general.htmlweb/html/settings.htmlExternal MySQL
Upgrade Notes
config/version) → please hard refresh browser (Ctrl+F5) after update.vless_enabled, you can now configure access flags vialdapFlagField + ldapTruthyValues + ldapInvertFlag.ldapInboundTags) and setldapAutoCreate = true.Screenshots
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.