https://github.com/lldap/lldap logo
Configuring QNAP for LLDAP
# troubleshooting
s
OK, here's what I have: - Podman (Container engine) - PostgreSQL container - LLDAP container - LDAP accounts confirmed present in PostgreSQL database - LLDAP's WebUI is behind Caddy (reverse proxy) - Unencrypted LDAP traffic from port 389 is reaching the LDAP server inside LLDAP. - Bare metal reboot tested Now I have a QNAP NAS I'm trying to configure, but I can't seem to get "Domain Users" to show up. Domain Security/LDAP authentication - Select the type of LDAP server: Remote LDAP server - Status: Online / You are not authorized to use this function. - LDAP server host: ldap.mydomain.lan - LDAP security: ldap:// - Base DN: dc=mydomain,dc=lan - RootDN: uid=customadmin,ou=people,dc=mydomain,dc=lan - Password:
Password manager special, copy-pasted as CustomAdmin's password as well
Search scope: Subtree Users base DN: dc=mydomain,dc=lan Group base DN: dc=mydomain,dc=lan Notes: - Omitting the ou's from the Users/Group base DN fields was the idea of my AI agent, citing LLDAP's "flat" structure. - I used TCPDump/Wireshark to examine LLDAP's rejection packets and changed
id
to
uid
and added
ou=people
. - LDAP appears to be complaining to my NAS about "invalidCredentials:"
LDAP 86 bindResponse(1) invalidCredentials
. So, I guess my big question right now is, which credentials am I supposed to give QNAP?
a
message has been deleted
s
Situation update: Apparently, LLDAP is telling my QNAP that my admin account in the
lldap_admin
group that it doesn't have permission to search.
Situation update: LLDAP does not appear suitable for QNAP. After using a simple password (no special characters), I was able to authenticate, but it appears QNAP expects a full POSIX account, which LLDAP doesn't provide by design. It all depends on what parts QNAP insists on. If one cannot be replaced, or if the tweaks are sufficiently involved, the project is a no-go. I expect to hear from QNAP support within an hour or two, based on when I've gotten previous replies. If I haven't given an update in a day, it can be safe to assume this project is a flop by design.
Correction: QNAP only appears to allow password length of 64 or less. Special characters DO work.
I have a support ticket. I plan on updating with the professional result when I get it.
2 Views