New Home Assistant Alpine Docker image - curl "ldaps" not supported

Hi @all,

I am running Home Assistant Docker image and I’ve been using the Command Line auth provider to authenticate against my LDAP server. After upgrading to the latest Home Assistant version 0.98.1 which is now based on Alpine. I can no longer authenticate against my LDAP server as the curl version inside the Docker doesn’t support ldaps:

Protocol "ldaps" not supported or disabled in libcurl

Is there an alternative to the shell script linked in the docs https://www.home-assistant.io/docs/authentication/providers/?

Should I raise a bug report/feature request?

Thanks in advance!

Regards
Ingo

I would do this, otherwise it looks like you may need recompile CURL for this to work.

I just realized ldap was not working when trying to sign in on a new tablet. Have you raised an issue yet or found a workaround?

I ran into this issue while using the ldap-auth.sh. I just switched the CLIENT from “curl” to “ldapsearch” and its working again

Are you using the homeassistant/home-assistant:latest docker image, I am getting an error that “ldapsearch: not found”

I’m using 0.98.1

Hi,
I’m using 0.98.5 official docker image but there isn’t curl with ldap support and neither ldapsearch.

How do u get the image with ldapsearch?

I’m about to implement ldap in my setup. I am using Hass.io. Can someone confirm that this is working in 0.98.5?

For me, it is not currently working. The homeassistant docker image does not have ldap included in curl and it does not seem to have ldapsearch either.