Integration with an external directory service

The following custom scripts are used to integrate Kaspersky Security 8 for Linux Mail Server with an external directory service:

User scripts should be run for the user kluser. Any supported language can be used to write the user scripts.

To configure Kaspersky Security 8 for Linux Mail Server integration with an external directory service using custom scripts:

  1. Copy user scripts to one of the following folders:
    • /etc/opt/kaspersky/klms/scripts for a Linux operating system.
    • /usr/local/etc/kaspersky/klms/scripts for a FreeBSD operating system.
  2. Export the Auth task settings to an XML file with the following command:

    # /opt/kaspersky/klms/bin/klms-control -–get-settings Auth -n -f auth_settings.xml

  3. Set the type of integration with the external directory service to custom integration in the Auth task settings file with the following command:

    sed -i 's|<integrationType>.*</integrationType>|<integrationType>Custom</integrationType>|g' auth_settings.xml

  4. Import Auth task settings from the XML file into the application with the following command:

    # /opt/kaspersky/klms/bin/klms-control -–set-settings Auth -n -f auth_settings.xml

Page top