Problem connecting to jumpcloud LDAP

ricky222

Cadet
Joined
Oct 5, 2021
Messages
3
[edit updates and corrections on testing]

I'm having problems connecting TrueNAS 12.0–U8.1 and TrueNAS core 13.0-U5.3 to jump cloud LDAP services.

In both cases, I'm getting the same error:
Nov 9 23:11:35 nas1 1 2023-11-09T23:11:35.954591-05:00 oops-noname.com nslcd 987 - - [1880b9] <group=5006> no available LDAP server found: Server is unavailable: Resource temporarily unavailable


I created a dedicated service account to handle ldap.

I created a simple test script to verify that I could reach LDAP, and now it works on TrueNAS.

ldapsearch -H ldaps://ldap.jumpcloud.com:636 -x -b "ou=Users,o=$ORG_ID,dc=jumpcloud,dc=com" -D "uid=rickyservice,ou=Users,o=$ORG_ID,dc=jumpcloud,dc=com" -W "(objectClass=inetOrgPerson)"

On multiple linux systems on three different networks, the script works. I get a dump of all my entries in LDAP. On both of the TrueNAS systems, I get

nas1# bash ./test_ldap.sh
Enter LDAP Password:
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)


I now get the error:
[EINVAL] ldap_update: ldap.get_workgroup timed out after 10 seconds.

Networking to the outside seems to work (ping. https) but I keep getting the "can't contact LDAP server" when run on TrueNAS core.

Ideas??


Duh, advanced options has the ldap timeout set to 10 seconds. upped to 60, and it connects!
 
Last edited:
Top