ixiaoyi93 commented on issue #16057:
URL: 
https://github.com/apache/dolphinscheduler/issues/16057#issuecomment-2132532766

   @ruanwenjun Sorry, it was a misconfiguration on my part before.After 
modifying the configuration, my ldap user was able to log in to 
dolphinscheduler. but my admin account admin was never able to log in, I tried 
the ldap admin user password as well as the local password.
   
   The ldap configuration is as follows:
   ```
   security:
     authentication:
       # Authentication types (supported types: PASSWORD,LDAP,CASDOOR_SSO)
       type: LDAP
       # IF you set type `LDAP`, below config will be effective
       ldap:
         # ldap server config
         urls: ldap://192.168.246.8:389/
         base-dn: dc=alphalawyer,dc=cn
         username: cn=admin,dc=alphalawyer,dc=cn
         password: xxxxxx
         user:
           # admin userId when you use LDAP login
           admin: admin
           identity-attribute: uid
           email-attribute: mail
           # action when ldap user is not exist (supported types: CREATE,DENY)
           not-exist-action: CREATE
         ssl:
           enable: false
           # jks file absolute path && password
           trust-store: "/ldapkeystore.jks"
           trust-store-password: "password"
   ```
   The logs are shown below:
   ![Uploading image.png…]()
   
   My ldap user yangsheng is able to log in, but it doesn't have admin rights. 
I want to have an admin user to manage it, but I realized that I can't log in 
with the admin account now, how can I troubleshoot this?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to