Created on 03-04-2019 11:14 AM - edited 09-16-2022 07:12 AM
Hi all,
Currently using CDH 5.14.4 and looking to enable user authention on HiveServer2 using OpenLDAP. The two connection options I'm seeing are LDAP and LDAPS, but we currently don't have LDAPS configured with our OpenLDAP server. Hue supports LDAP with StartTLS so I figured Hive would too. I'm wondering if StartTLS is an option that I'm not finding documentation for or if its not supported.
Thanks for your help!
Created 03-06-2019 04:30 PM
Created 03-06-2019 03:04 AM
Hello @Steve206,
Yup, you are right mate. Most of the documentation that I came across talks about ldaps implementation support for hs2.
Thinking loud here.. hypothetically if there was an option and with above setup of no-ssl on ad server. starttls secure connection neg. will fail anyways and it will be a standard connection.
There is an option to write pluggable class and then set authentication to custom.
Hope that helps.
Created 03-06-2019 04:30 PM
Created 03-07-2019 08:21 AM
Thank you for the confirmation. Yes, I'll make a feature request.
Created 03-07-2019 08:19 AM
Thanks for the quick response. I'll look at enabling LDAPS before writing anything custom. I was being optimistic with only wanting to support StartTLS on OpenLDAP but we'll most likely come across another application at some point that only works with LDAPS.