scoold: para LDAP config is not picked up correctly
I’m setting up server like this:
scoold server
- application.conf
- para.security.ldap.server_url = "ldap://test.com"
- (...other)
para server
- application.conf
at first try, everything is working but after adjust some of the configuration. I am not sure what is the root cause. now suddenly there is an error cannot authenticate with LDAP server localhost:8389 (which is the default)
my workaround is:
I have to also put the config inside the para (application.conf) too and now it is working again.
scoold server
- application.conf
- para.security.ldap.server_url = "ldap://test.com"
- (...other)
para server
- application.conf
- para.security.ldap.server_url = "ldap://test.com"
- (...other)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 31 (20 by maintainers)
I’m having a hard time configuring scoold for AD auth using the UPN. This one works for me:
As you probably guessed, this lets you in with
user.name
. But I want to log in with the full email address. So I tried withNone of them works. I’m afraid the
@
might not be escaped correctly somehwere. Any ideas?For the record, here’s everything LDAP-related:
@albogdano I apologize for being MIA for a couple days. I have tried that. That is when I start getting <ROOT> showing up in the network trace. I’m going to dig more into that as well as other ways to BIND (eg. full DN).
I spent basically the whole day trying to make this work, because I didn’t think to be watching the LDAP logs, but here’s the config that works for me:
Edit
scoold.env
and setBOOT_SLEEP=10
for the Scoold container. This will tell Scoold to wait a bit longer for Para to start.By creating a new app I meant calling
para-cli new-app "scoold" --name "Scoold"
with the keys for the root app. It’s recommended to have a separate app namespace for Scoold.