feat: enable basic LDAP functionalities#77
feat: enable basic LDAP functionalities#77stevapple wants to merge 7 commits intojuicedata:new-basefrom
Conversation
|
I failed to test successfully using your method. Could you please help me see where the problem lies Steps to Reproduce
|
|
@Xuyuchao-juice If you're using plain-text LDAP (port 389), you'll need to specify The default protocol for MinIO is LDAPS. Have you noticed any connection failure in the gateway log? |
|
I added MINIO_IDENTITY_LDAP_SERVER_INSECURE=true to the environment variable, but it still didn't work. |
|
Currently, when using Windows PowerShell and executing the command "minio.exe server ./data", an error is reported +---------------------------------------------------------------+ Waiting for all MinIO sub-systems to be initialized.. possible cause (Unable to list buckets to heal: disk not found) API: SYSTEM() |
Description
LDAP support exists in Apache-2.0 MinIO, but it's lacking some key functionalities. In this PR we add:
This PR is the core of unblocking juicedata/juicefs#5368
Motivation and Context
See juicedata/juicefs#5368
How to test this PR?
Suppose you have an LDAP server running on
ldaps://ldap.example.com:636with root DNdc=example,dc=com, and a test FSsqlite3://test.db.You can use the browser to log into the gateway via http://localhost:9000/minio.
Types of changes
Checklist:
commit-idorPR #here)