UPSSO CONNECTIVITY TEST TOOL
This PowerShell script tests the integration pre-requisites for UPSSO.
- Test LDAP connection
- Test SMTP connection
- Test Syslog connection
- Test Port connectivity.
To use this test script. Open the PowerShell script with Windows PowerShell ISE and move to the script's bottom and uncomment the required test case.
Testing LDAP connection
- Uncomment 'Test-LDAPconn' and select run script.
- At the prompt, enter the fully qualified domain name of the domain controller.
- Continue to enter the port number which needs to be tested. 389 for LDAP and 636 for LDAPS.
- Enter the username and password to authenticate the domain controller.
- Once the username and password are validated, you will get a message "Successfully authenticated with domain" and print the domain name.
Testing SMTP connection
- At the bottom of the script, uncomment the SMTP script as per the below screenshot.
- Replace the parameters with the customer information and run the script.
- On the credential, pop-up fill in the username and password.
- Test if you have successfully received the email.
- If the program cannot send an email successfully, it will print the error message as below screenshot.
Testing port Connectivity
- At the bottom of the script, uncomment the port connectivity test as per the below screenshot.
- Replace the IP address and port number with the required value and run the script.
- If the port connectivity succeeded, it would return true as per the below screenshot.
- If the port connectivity failed, it would print like the below screenshot.
- Uncomment the Syslog script as per the below screenshot and replace the values with the required values.
- Run the script.
- If you are using a UDP port, the program will not print any error if it is not open since it is a connection-less protocol. It will print the number of bytes sent to the syslog server like the below screenshot.
- If you are using TCP and the port is not open, you will receive an error message below.