Need help with LDAP

Hello,

I am struggling reading the user from the LDAP, which is a windows server 2019.

Setup

  • TrueNAS Scale 25.10.2.1
  • Directory Service: LDAP
  • LDAP Server: Windows Server 2019

Configured the LDAP screen, connection to the server seems to work, it shows HEALTHY. In Wireshark running on the Windows Server I can see sucessful authentication.

For some reason,after saving new settings or choosing “rebuild directory cache” I always get the error message “[EFAULT] Timed out while waiting for domain to come online“ after the timeout.

Trying some debugging with wireshark on the Windows server and I can see that the requests seem to be wrong:

[…]
LDAPMessage searchRequest(12) “<ROOT>” baseObject
[…]
searchRequest baseObject: <MISSING>
[…]

I have no idea how to change that. Compared to other LDAP setups there are no missing things or “ROOT“ messages. Only TrueNAS seem to send such data to the LDAP.

Can somebody please help me to guide me the right direction or did I find a bug (which I don’t really believe)?

Thanks a lot.

Cheers
Kay

Since you have Server 2019 why aren’t you using active directory? SMB shares won’t work with plain LDAP configuration, NFS + KRB5 also won’t work with it.

1 Like

I tried, tis wanst working either, realm not working…

Just for auth at the device its fine.

Someone elsa any idea how to sync users?