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.
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.
...
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
"Ldap": {
"Address": "<ip-address-of-ldap-server>",
"Port": 389, // use 636 for secure
"Security": "none" // none, ssl
}
Environment variables
Ldap__Address: "<ip-address-of-ldap-server>"
Ldap__Port: 389, // use 636 for secure
Ldap__Security: "none" // none, ssl