-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP authentication #8569
Comments
After some more trials, i get:
in server.log :
Does anyone have any clue about what's configured wrong ? |
Can you share your configuration file? Also, there is a troubleshooting section in the documentation, give it a try if you haven't already. |
Certificates
Server certificate hosting presto and ldap are configured with FQDN pasted from
On the coordinator
openldap configured with SSL but listening on port 389 Starting presto-cli with following options , i get :
in server.log :
|
@moshir Couple of things.
|
Hi @anusudarsan Our team faced the similar issue. It looks like the current implementation doesn't make an authorized with the bind user and pswd, instead it makes anonymous bind to the AD. When the AD allows anonymous bind it works but in many prod env anonymous bind is not enabled. Any suggestion to that or can we easily add support for setting bind username and pswd? Thanks! |
same here: version 1.67-t seems to try anonymous bind and hits Caused by: java.lang.RuntimeException: javax.naming.AuthenticationException: [LDAP: error code 49 - INVALID_CREDENTIALS: Bind failed: null] |
Hi, have you implemented presto security certification through AD? I also encountered a similar problem. |
@liusztc09 Hi, have you implemented presto security certification through AD? I also encountered a similar problem. |
@xor007 @BourneYu This issue is already fixed in the latest release of Presto from Starburst (a free download from www.starburstdata.com). Please let me know if that helped in your setup. |
Hi @kbajda @anusudarsan ,I install Presto(v0.213) and setup AD(LDAPS) integration as described in https://prestodb.io/docs/current/security/ldap.html#presto-cli-execution . bin/launcher run --verbose,I getting the below error : The steps are as follows:
configuration files are as follows:etc/config.properties: http-server.authentication.type=PASSWORD etc/password-authenticator.properties : Following the advice (https://github.com/prestodb/presto/pull/11714/files/77aa30df30bce996a23d07f511d3de0ca4df5822), I modified the code and redeployed it. Presto started successfully, but when logging in via https:https://10.205.92.157:8843/ui/, I reported the following error:
Thanks in advance!!! |
I don't know much about LDAP, but the error looks like it is coming from basic SSL setup and not LDAP in particular. This error |
This will be fixed in Presto 301 (trinodb/trino#97) |
I was facing similar issue, It worked for me when I added CERTIFICATE after password (Check your certificate as mentioned above before trying this) |
This issue has been automatically marked as stale because it has not had any activity in the last 2 years. If you feel that this issue is important, just comment and the stale tag will be removed; otherwise it will be closed in 7 days. This is an attempt to ensure that our open issues remain valuable and relevant so that we can keep track of what needs to be done and prioritize the right things. |
Hi
I setup LDAP integration as described in Presto & Terrada documentation with a local openldap server on the same host as presto coordinator.
I keep on getting the same error :
Java ssl log shows my certificates are found :
Certificates I'm using are found in the keystore :
Openldap is configure locally with the same certificates as my presto keystore:
slapd.conf
cn=config.ldif
I dont have kerberos setup.
Do i need it ? There's a line in the ldap documentation talknig about a principal :
Apart from that, I'm not sure what i'm doing wrong and would really appreciate some guidance to debug.
Also, is there anyway to have basic user/password working with Presto, even without LDAP ?
Thank you !
The text was updated successfully, but these errors were encountered: