This message was deleted.
# dev
s
This message was deleted.
k
Hi @Ahemad Ali Shaik - have you tried setting up multiple authenticators/authorizers in a chain - something like (abbreviated):
Copy code
druid.auth.authenticatorChain=["ldapauth1", "ldapauth2"]
druid.auth.authenticator.ldapauth1.type=basic
druid.auth.authenticator.ldapauth1.credentialsValidator.type=ldap
druid.auth.authenticator.ldapauth1.credentialsValidator.url=<ldap://ldapserver1:389>
druid.auth.authenticator.ldapauth1.authorizerName=ldapauth1
druid.auth.authenticator.ldapauth2.type=basic
druid.auth.authenticator.ldapauth2.credentialsValidator.type=ldap
druid.auth.authenticator.ldapauth2.credentialsValidator.url=<ldap://ldapserver2:389>
druid.auth.authenticator.ldapauth2.authorizerName=ldapauth2

druid.auth.authenticator.ldapauth1.skipOnFailure=true
druid.auth.authenticator.ldapauth2.skipOnFailure=true
a
Hi @Kyle Hoondert let me give a try and let you know how it goes
@Kyle Hoondert it worked for multiple ldap servers , thank you
@Kyle Hoondert we are trying to implement ldap and basic authentication, it worked but it’s not allowing you to have different passwords for LDAP and basic any thoughts here
k
Pretty sure Druid is going to evaluate your username and authenticate on the the first authenticator which matches that username… you would probably need to do something like `basic_username`: username_basic `LDAP_username`: username
a
@Kyle Hoondert I have different username for ldap authentication (ldap_user) and basic authentication (admin), working fine but it’s working with same password, when I try to give different passwords for these users router and broker services are not coming up failing with 401 error