Lin.DS.Logon
Top  Previous  Next


Logon to Linux LDAP server, all subsequent Linux commands will be carried out on this connection

Because SSL is used, the communication is encrypted (including your logon password), thus you do not have to worry about users sniffing network traffic gaining access to sensitive setup information.

The logon command is local to each section, there must be at least one logon command in each section that contains Lin.DS.x commands.

Logoff from a server is done automatically, either when the script finishes or when a new Lin.DS.Logon command to another server is executed, see the log window for logon and logoff messages.

Requirements
·Linux server with OpenLDAP 2.0 or higher, configured to accept SSL connections on port 636.  
·A locally installed SSL certificate.  

Category
Linux

Script section
All

Lin.DS.Logon
Machine, AdminAccount, Password

Machine
LDAP server IP address  

AdminAccount
Full directory path to the LDAP admin account  
 
The superuser admin account is declared in the OpenLDAP server configuration file slapd.conf on the row that begins with "rootdn". ("Regardless of what access control policy is defined, the rootdn is always allowed to read and write everything and anything.")  

Password
LDAP admin password  

Example
Logon to LDAP server ldap.my-domain.com when slapd.conf reads "rootdn cn=root,dc=my-domain,dc=com"

Lin.DS.Logon ldap.my-domain.com, dc=com/dc=my-domain/cn=root, password