LDAP/SMTP Connectivity testing
Created: 2025-12-04 12:38:22Modified: 2025-12-11 13:51:36
Tags: Troubleshooting
Within UnitySync UI and run from shell.exe, various methods of connectivity are required.
Source/Destination tab’s Test/Verify
Discovery/Sim/Sync run from UnitySync UI
Discovery/Sim/Sync run from the command line, using shell.exe
Discovery/Sim/Sync run from a scheduled task (script that calls shell.exe)
If you run into errors, please try the following to troubleshoot the issue.
Test-NetConnection -ComputerName your.smtp.server -Port port
Examples:
Test connectivity to your SMTP Server (for UnitySync’s Global SMTP Notifications)
Test-NetConnection -ComputerName your.smtp.server -Port 25
Further, You can use our smtp server to test functionality and confirm the problem lies on your SMTP/connectivity.
Test-NetConnection -ComputerName smtp.dirwiz.net -Port 25
Note: This command will work for any TCP port.
SMTP
LDAP(s)
HTTP(s)
etc
Example:
Test-NetConnection -ComputerName your.domain.com -Port 389
The equivalent command in Linxu:
nc -zvw5 smtp.dirwiz.net 25