Hi everyone,
I’m trying to connect my TrueNAS SCALE (version 25.04.1) to an OpenLDAP server, and I’m running into some issues with SSH authentication.
I configured everything through Credentials → Directory Services → LDAP, entered the data, and saved. After that, the users are correctly synced from LDAP.
Then, I edited the SSH service from System → Services, allowing access only to the group that the LDAP users belong to.
The issue is as follows:
- For some users, when trying to connect via SSH, I get the following error:
Permission denied (publickey,gssapi-with-mic). - For other users, the system does prompt for a password, but no matter what, it is never accepted — it’s as if it’s always wrong.
All LDAP users have the same configuration and belong to the same group, so I don’t understand why there’s a difference in behavior.
Has anyone else experienced this? What is the correct way to integrate OpenLDAP with TrueNAS SCALE for SSH user authentication?
So far, the process seems quite complex. Even trying ChatGPT, it suggested editing system files, but after doing that, I ended up making the system unstable.
Any help or shared experiences would be greatly appreciated.
Thanks!