---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Troubleshooting LDAP integration via MID Server

# Troubleshooting LDAP integration via MID Server {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Troubleshooting LDAP integration via MID Server

This guide helps ServiceNow customers troubleshoot common issues encountered during LDAP integration via MID Server.
Problems typically arise during connection testing, browsing LDAP directories, and importing data.
Troubleshooting involves examining message records in the External Communication Channel (ECC) Queue, which logs communication between ServiceNow and the MID Server.
Show full answer Show less  

## Key Troubleshooting Areas

* **Test Connection Issues:** When testing LDAP connections for Organizational Units (OUs), successful tests generate specific ECC Queue messages named *LDAPConnectionTesterProbe* . Confirm the input message shows **true** in the Name column and review the payload for error-free data.
* **Browse Issues:** Browsing LDAP directory records through the OU definitions triggers ECC Queue messages named *LDAPBrowseProbe* . Successful browsing is indicated by input messages showing **true** in the Name column, with error-free payloads upon inspection.
* **Load Import Issues:** Importing LDAP data, such as when using the "Test Load 20 Records" feature, generates ECC Queue messages *LDAPProbe* (output), *LDAPProbe* (input, in batches), and *LDAPProbeCompleted* (input). The Name column details the number of records processed. Monitor for any *LDAPProbeError* output messages and review error details by clicking the Name link.

## Additional Configuration Notes

* **LDAP Paging:** LDAP paging requires the server's paging size to be at least 1000. Ensure the MID Server property `glide.ldap.maxresults` is set to a value less than or equal to the LDAP server's paging limit to avoid paging failures.
* **Importing Binary Data:** To import binary LDAP attributes like user photos, add the binary attribute (e.g., `jpegphoto`) to the MID Server property `glide.ldap.binaryattributes`. This ensures binary data is correctly handled during import.

## What You Can Expect

By following these troubleshooting steps and verifying ECC Queue messages, ServiceNow customers can effectively identify and resolve LDAP integration issues via MID Server. Proper configuration of MID Server properties and careful monitoring of ECC Queue outputs enable smooth LDAP data import, browsing, and connection testing.  
You may encounter issues in the following areas while integrating LDAP via MID
Server.

You can troubleshoot these issues by viewing the outputs found in the External Communication
Channel (ECC) Queue (DiscoveryOutput and ArtifactsECC Queue).

## Test Connection Issues

When defining OUs within the server, there is a Test connection related list that is used to verify the LDAP connection. When you click this link, the ECC Queue should show a single output message with a topic name of LDAPConnectionTesterProbe. After the test has completed on the MID Server, the ECC Queue should show an input message with the same topic name. If the Name column for the input message shows true, the test was successful. Drill down into the record to view the payload and ensure it does not contain error messages.Figure 1. Test Connection

## Browse Issues

When defining OUs within the server, there is a Browse related list
that is used to view the LDAP directory records that the OU definition returns. When you click
this link, the ECC Queue should show a single output message with a topic name of
LDAPBrowseProbe. After data has been returned from the MID Server, the
ECC Queue should show an input message with the same topic name. If the
Name column for the input message shows true, the
test was successful. Drill down into the record to view the payload and ensure it does not
contain error messages.

## Load Import Issues

When uploading data (for example, using the Test Load 20 Records feature), the ECC Queue
should show a single output message with a topic name of LDAPProbe.

After data has been returned from the MID Server, the ECC Queue should show another input
message called LDAPProbeCompleted. The Name column
for this input message shows the total number of records returned.

An additional input messages, also named LDAPProbe, is displayed. The
Name column for this input message displays the highest record number in
the batch. If the total number of records returned is 258 and the batch size is 200 (the
default), two LDAPProbe (200, 258) incoming messages will be received, and one
LDAPProbeCompleted (258) incoming message will be received.  
Drill down into the record to view the payload and ensure it does not contain error messages.Figure 2. Import Load  
Also keep an eye out for an output message called LDAPProbeError.Figure 3. Error message

Click the link in the Name column to view the details of the error.

## LDAP paging

LDAP paging does not work if the paging size on the LDAP server is less than 1000. Set the MID
Server property glide.ldap.max_results to a value less than or equal to the
LDAP server paging size.

## LDAP fails to import binary data

To import binary data via LDAP, such as a user photo, you must include the binary attribute in
the MID Server property glide.ldap.binary_attributes. For the user photo
example, the attribute may be <kbd class="ph userinput">jpegphoto</kbd>.

*[\>]: and then


