Skip to content

Latest commit

 

History

History
executable file
·
51 lines (35 loc) · 2.01 KB

README.md

File metadata and controls

executable file
·
51 lines (35 loc) · 2.01 KB

SAS Viya Platform LDAP Validator

This tool validates the accuracy of the LDAP properties represented in a sitedefault.yaml file by connecting to the LDAP server and fetching some of the Users and Groups attributes. When finished, the tool displays a message that indicates if the validation was successful or not. If the tool fails to validate connection using the settings in the provided sitedefault.yaml file, a non-zero code is returned. You must run the tool as an Administrator.

Important: This tool validates the LDAP settings in the sitedefault.yaml file only. It does not validate the entire sitedefault.yaml file. If you use a sitedefault.yaml file, this tool indicates if the tested LDAP settings are correct. However, that is still not a full guarantee of success since the tool is not able to check every parameter in the sitedefault.yaml file for accuracy.

Note: SAS recommends that you do not use the sitedefault.yaml file for the initial deployment of your SAS Viya platform software. For more information, see Add a sitedefault File to Your Deployment.

Prerequisites

The validator tool requires Python 3.6 or higher.

Required Python Packages

SAS Viya ARK tools require third-party packages be installed before use. All required packages can be installed using the provided requirements.txt:

python3 -m pip install -r requirements.txt

Download the latest version of this tool and update required packages with every new software order.

Usage

The following command provides usage details:

python3 viya-ark.py ldap_validator --help

The following example executes the LDAP Validation script against the specified sitedefault.yaml.

python3 viya-ark.py ldap_validator -s /path/to/sitedefault.yaml

Log Output

The tool generates a plain text log file,`ldap_validator_.log.