Skip to main content
Skip table of contents

Using LDAP under Linux

  • DigaSystem allows to work with user credentials that are synced from Active Directory.

  • No additional configuration is needed when running Nano under a Windows operating system.

  • If you want to use this feature under Linux you have to specify how to talk to the LDAP server

Prerequisites for LDAP under Linux

Make sure the library libldap-2.5-0 is installed. If not install it using e.g.

CODE
apt-get update
apt-get install libldap-2.5-0 -y

Older Nano docker images and docker compose

If your are running older Nano docker images you can adapt your docker compose file to install the library automatically.

Nano images starting with v1.2.22 have the library already installed.

CODE
...
    entrypoint: [""]
    command: 
      - /bin/bash
      - -c
      - | 
        apt-get update ;
        apt-get install libldap-2.5.0 -y ;
        dotnet DpeNanoServices.dll     
---         

Configuration for LDAP under Linux

Configure LDAP using one of the following methods:

appSettings.json

CODE
"Ldap": {
    "Address": "<ip-address-of-ldap-server>",
    "Port": 389, // use 636 for secure
    "Security": "none" // none, ssl
}

Environment variables

CODE
Ldap__Address: "<ip-address-of-ldap-server>"
Ldap__Port: 389, // use 636 for secure
Ldap__Security: "none" // none, ssl

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.