You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/11/16 13:05:49 UTC

[GitHub] [superset] Rohit-pawar902 opened a new issue, #22139: Ldap Auth setup can't debug what is the problem

Rohit-pawar902 opened a new issue, #22139:
URL: https://github.com/apache/superset/issues/22139

   A clear and concise description of what the bug is.
   
   **My configurations**
   ```
   from flask_appbuilder.security.manager import AUTH_LDAP
   
   AUTH_TYPE = AUTH_LDAP 
   AUTH_ROLE_ADMIN = 'admin'
   AUTH_USER_REGISTRATION = True 
   AUTH_LDAP_SERVER = "ldap://localhost:389"
   # AUTH_LDAP_SEARCH="ou=people,dc=superset,dc=com"
   AUTH_LDAP_SEARCH= "cn=admin,dc=ramhlocal,dc=com"
   # AUTH_LDAP_APPEND_DOMAIN = "XXX.com"
   AUTH_LDAP_UID_FIELD="cn"
   AUTH_LDAP_FIRSTNAME_FIELD= "Rohit"
   AUTH_LDAP_LASTTNAME_FIELD= "sn"
   AUTH_LDAP_USE_TLS = False
   
   AUTH_LDAP_BIND_USER= "ou=people,dc=superset,dc=com"
   
   AUTH_LDAP_ALLOW_SELF_SIGNED= True
   AUTH_LDAP_APPEND_DOMAIN= False```
   
   
   ###Expected results
   It will make me log onto superset by using ldap user.
   
   ### Actual results
   I can't log to superset by normal password as well the ldap one password. 
   And I can be able to debug because no error came related to ldap.
   
   ### Environment
   - superset version: `superset-2.0.0-dev`
   
   **I already did**
   I install the python-ldap package in my container.
   
   Just I want a way to get **logs** of what i am making wrong , yet i can't get any msg related to ldap in al container logs .
   
   
   


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] Rohit-pawar902 commented on issue #22139: Ldap Auth setup can't debug what is the problem

Posted by GitBox <gi...@apache.org>.
Rohit-pawar902 commented on issue #22139:
URL: https://github.com/apache/superset/issues/22139#issuecomment-1336378534

   @parkjiyeon0  
   What is the problem just run it!


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] Rohit-pawar902 commented on issue #22139: Ldap Auth setup can't debug what is the problem

Posted by GitBox <gi...@apache.org>.
Rohit-pawar902 commented on issue #22139:
URL: https://github.com/apache/superset/issues/22139#issuecomment-1336379864

   For Ldap problem anyone can Refer this :- 
   
   ```
   from flask_appbuilder.security.manager import AUTH_LDAP
   
   AUTH_TYPE = AUTH_LDAP 
   AUTH_ROLE_ADMIN = 'admin'
   AUTH_USER_REGISTRATION = True 
   AUTH_LDAP_SERVER = "ldap://xxxx/389"
   AUTH_LDAP_SEARCH= "dc=xxx,dc=io"
   AUTH_LDAP_UID_FIELD="cn"
   AUTH_LDAP_FIRSTNAME_FIELD= "admin"
   #AUTH_LDAP_LASTTNAME_FIELD= "sn"
   AUTH_LDAP_USE_TLS = False
   
   AUTH_LDAP_BIND_USER = "cn=admin,dc=xxxx,dc=io"
   AUTH_LDAP_BIND_PASSWORD = "your main password for login in ldap"
   ```
   Might need for installing dependency inside the container
   
   sudo apt-get install python-dev libldap2-dev libsasl2-dev libssl-dev
   sudo pip install python-ldap
   
   
   #13836 
   
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] parkjiyeon0 commented on issue #22139: Ldap Auth setup can't debug what is the problem

Posted by GitBox <gi...@apache.org>.
parkjiyeon0 commented on issue #22139:
URL: https://github.com/apache/superset/issues/22139#issuecomment-1338808609

   @Rohit-pawar902 Thanks


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] Rohit-pawar902 closed issue #22139: Ldap Auth setup can't debug what is the problem

Posted by GitBox <gi...@apache.org>.
Rohit-pawar902 closed issue #22139: Ldap Auth setup can't debug what is the problem
URL: https://github.com/apache/superset/issues/22139


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] parkjiyeon0 commented on issue #22139: Ldap Auth setup can't debug what is the problem

Posted by GitBox <gi...@apache.org>.
parkjiyeon0 commented on issue #22139:
URL: https://github.com/apache/superset/issues/22139#issuecomment-1334979932

   I'm a beginner and I've built in docker-compose, what can I do?
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org