UPSSO CONNECTIVITY TEST TOOL

Introduction

This PowerShell script tests the integration pre-requisites for UPSSO.

Capabilities

  • Test LDAP connection
  • Test SMTP connection
  • Test Syslog connection
  • Test Port connectivity.

Usage

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

  1. Uncomment 'Test-LDAPconn' and select run script.
  1. At the prompt, enter the fully qualified domain name of the domain controller.
  2. Continue to enter the port number which needs to be tested. 389 for LDAP and 636 for LDAPS.
  1. Enter the username and password to authenticate the domain controller.
  1. Once the username and password are validated, you will get a message "Successfully authenticated with domain" and print the domain name.

Testing SMTP connection

  1. At the bottom of the script, uncomment the SMTP script as per the below screenshot.
  1. Replace the parameters with the customer information and run the script.
  2. On the credential, pop-up fill in the username and password.
  3. Test if you have successfully received the email.
  1. If the program cannot send an email successfully, it will print the error message as below screenshot.

Testing port Connectivity

  1. At the bottom of the script, uncomment the port connectivity test as per the below screenshot.
  1. Replace the IP address and port number with the required value and run the script.
  2. If the port connectivity succeeded, it would return true as per the below screenshot.
  1. If the port connectivity failed, it would print like the below screenshot.

Syslog Testing

  1. Uncomment the Syslog script as per the below screenshot and replace the values with the required values.
  1. Run the script.
  2. 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.
  1. If you are using TCP and the port is not open, you will receive an error message below.