Skip to main content

Okta LDAP E0000004

Description

This article discusses potential causes of a broken Okta LDAP connection in Jamf Pro. The Jamf Pro Server logs show Okta error Code E0000004, which indicates that authorization failed.

An example log entry is shown below:

2026-03-03T18:18:35,058 [DEBUG] [Tomcat-206 ] [LDAPPoolFactory          ] - Error creating directory context in 490 milliseconds. javax.naming.AuthenticationException: [LDAP: error code 49 - Authentication failed : (Refer to Okta error Code E0000004)]

Cause 1: The credential entered in the LDAP Connection settings of Jamf Pro are incorrect.

Verify the correct credentials have been entered and that the account isn’t locked or disabled in Okta.
​

Cause 2: Okta is blocking the Jamf Pro IP Addresses.

We can verify this by checking the logs in Okta for the following error:

To resolve this:

  1. Create a zone in Okta with the Jamf IP addresses: Security > Networks > Add Zone.

    Note: We only need to add the IP address for the jamf_cloud_services entry associated to the region.

  2. Next, add the Zone to ThreatInsight allow list: Security > General > ThreatInsight > Edit > Allowed Zones.

Did this answer your question?