https://github.com/lldap/lldap logo
Error while trying to authenticate home assistant ...
# troubleshooting
j
I am attempting to setup LLDAP as the backend for my home assistant users but am having a problem authenticating. I have enabled verbose logging and this is the error message I am getting in LLDAP. I am using the script provided on Github but am unsure what i have done wrong. Thanks for the help.
Copy code
lldap  | 2024-12-04T17:03:47.872151636+00:00  INFO     ๏ฝ‰ [info]: LDAP session start: b411daa3-3db1-4f65-8a3b-05093964a666
lldap  | 2024-12-04T17:03:47.872195089+00:00  ERROR    ๐Ÿšจ [error]: Message is not constructed
lldap  | 2024-12-04T17:03:47.872206950+00:00  INFO     LDAP request [ 3.41ยตs | 100.00% ] session_id: b411daa3-3db1-4f65-8a3b-05093964a666
lldap  | 2024-12-04T17:03:47.872312744+00:00  ERROR    ๐Ÿšจ [error]: [LDAP] Service Error: while handling incoming messages: while receiving LDAP op: The LDAP msg contains invalid BER
a
message has been deleted
j
I figured it out. I was using the wrong port. ๐Ÿ™„ Closing this thread.
n
For the record (and correct me if I'm wrong), but that was an LDAPS message sent to the LDAP port, correct?
j
I believe it was a HTTP request (according to the logs). I was using the ldap port that authelia uses. Now I just need to figure out why I can't log in with anything but a system user. Baby steps I guess.