Hey I have AD at home, has anyone had any luck configuring ldap with hassio? It looks like it is possible but I can’t figure out how to install additional packages to make it work.
You don’t install additional packages in hassio.
Are you looking to do this for authentication purposes?
Hey,
Yes I was. And looking at https://www.home-assistant.io/docs/authentication/providers/ look like it is possible. But I would need a ldapsearch to use https://github.com/efficiosoft/ldap-auth-sh
Are you using hassio on hassos or on some other OS.
I’m using hassio
which OS? hassos?
sorry yes, hassos
Did you have any luck with this?
These would be the best feature as no system has it. Indigo Pro has a single user and does digest auth, it’s ridiculous. Super high-end, dealer-installed systems may have users but they’re not directory users.
To add “multiple users” to Indigo, and since it runs on a Mac anyway, I used the built-in Apache httpd web server that automatically gets Kerberos support to proxy to the Indigo server and then used ADFS/ADFSWAP to have forms auth, in and out of the network. It works fine but it’s not truly user-aware, much less directory-backed.
I’ve been playing with Keycloak and it makes it seems that it can integrate with pretty much anything. TBH is so complex I’m barely keeping up, it’s beyond my skills but so worth the shot. Maybe you fare better. It’s at least better documented than ADFS.
Hi, anyone have try with success to Active Directory login?
Hi all,
I’m new to Home Assistant, but I’d love to use the LDAP feature. I thought I had solved the puzzle, but …
I have hassos on my raspberry pi3 and setup the ldap script by https://github.com/efficiosoft/ldap-auth-sh to my environment.
However, I have to install ldapsearch in order to use the script. After I ran
$ apk add openldap-clients
in the terminal, the script works fine and I can authenticate successfully - at least in the terminal by export username and password as environment variables.
But when I activate the auth provider and reboot the system I cannot login.
When I switch the auth provider off again and reboot the system, I cannot find the ldapsearch program anymore. How do I install additional programs permanently?
Thanks
Hey I started working on a PR to upstream LDAP/Active Directory auth as a built in auth provider:
As of right now it roughly works (tested against FreeIPA)
I see that the : https://github.com/home-assistant/core/pull/37645 has been canceled. Are there any other future plans to integrate ldap ?
+1 for this.
Definitely +1
I have now had this working for a few years without issues: GitHub - frenchface/hassioldap: LDAP with Home Assistant