Hi team! Can someone help me how to run datahub wi...
# all-things-deployment
c
Hi team! Can someone help me how to run datahub with ldap authentication using jaas? I wrote jaas.conf and deploy datahub-frontend locally but doens't work.
i
Hello Paulo, Did you post about this in another channel? Please refrain from posting the same questions on multiple channels as that makes it harder for the core team to keep track of everything.
c
No. About LDAP authentication with jaas I posted here only. What I did: comented into a post of another people that are with the same issue, and I talked about this problem in private message to Maggie too. I need help.
i
My apologies then. How did you deploy the updated jaas file? How was datahub-frontend deployed?
c
Hi Pedro! We are doing a POC with Datahub, and here we need to implement Datahub using LDAP authentication of the same way others applications like Metabase, Redash ,... We cloned repo, changed JAAS.CONF, and changed docker-compose.yml file according doc - Custom JaaS Configuration Item: https://datahubproject.io/docs/how/auth/jaas My doubt is how I deploy It? What is the next step? I tried run "quickstart.sh" on folder datahub/docker but doesn't work.
i
How are you deploying datahub?
c
I'm going to folder "/datahub/docker/" and run this command "docker-compose -f docker-compose.yml -f docker-compose.override.yml pull && docker-compose -p datahub -f docker-compose.yml -f docker-compose.override.yml up --scale datahub-frontend-react=1"
b
So 2 simple steps Paulo: 1. From root of repository, run ./gradlew datahub-frontend:build 2. Then run
cd docker && ./dev.sh
This should pick up your new Jaas.conf file!
c
@big-carpet-38439 @incalculable-ocean-74010 @little-megabyte-1074 Finally, I managed to deploy datahub with LDAP authentication. The error was in the LDAP parameters values at jaas.config, because I needed BIND LDAP authentication. • java.naming.security.principal • java.naming.security.credentials After pass these parameter It's working. Wishing you an awesome day ahead. Tks a lot for help me!
thank you 1
teamwork 1
b
Super glad to here it -- thank you for circling back @cool-actor-73767. Do let us know if we can help with anything else 🙂
f
@cool-actor-73767 Currently I'm logging in with any input i entered. How can i connect datahub frontend with ldap server in jaas.conf? What did you do