Skip to main content

How to install Soffid LDAP

Installation

Prerequisites

To install Soffid LDAP, you must install Docker. Despite Docker desktop can be used for testing purposes, Docker container runtime usage is recommended.

Installation

To start Soffid LDAP, execute:

docker volume create ldapconf
docker volume creade ldapdata
docker run --name soffidldap -p 1389:389 -v ldapconf:/etc/ldap/slapd.d -v ldapdata:/var/lib/ldap -d -e SOFFID_SERVER=https://<SYNCSERVERNAME>:760 -e SOFFID_AGENT=<SOFFID_AGENT> -e USER=<ADMIN_USERNAME> -e PASSWORD=<ADMIN_PASSWORD> -e DN=<YOUR_BASE_DN> soffidldap

You will see something like this:

image-1654601131618.png

Now, oneyou can connect to the LDAP Server using the user name and password used to create the docker instanceinstance.

To

Docker stopcommands

Stop the service,service
execute 
docker stop soffidldap

To start

Start the service,service
execute 
docker start soffidldap

To remove

Remove the service,service
execute 
docker rm soffidldap

Docker Volumes

  • The initial configuration files layare located in the ldapconf volume.volume, Itusually uses to be located atin /var/lib/docker/volumes/ldapconf/_data

  • The initial configurationdata files layare located in the ldapconfldapdata volume.volume, Itusually uses to be located atin /var/lib/docker/volumes/ldapdata/_data