How to debug 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.
InstallationStept to debug
To1.- startFirst Soffidof LDAP,all, execute:you have to add the DEBUG environment variable to your container
docker-e volumeDEBUG: create65535
2.- You need to restart the Soffid LDAP container
sudo docker volumerestart 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://<SYNCSERVERNAMEYOUR_CONTAINER>:760 -e SOFFID_AGENT=<SOFFID_AGENT> -e USER=<ADMIN_USERNAME> -e PASSWORD=<ADMIN_PASSWORD> -e DN=<YOUR_BASE_DN> soffidldap
Now,point, you can connectcheck toyour LDAP
4.- Retrieve the LDAPlog
5.- usingDelete the userDEBUG nameenvironment andvariable
6.- used to createRestart the dockerSoffid instance.LDAP container
Docker commands
Stop the service
docker stop soffidldap
Start the service
docker start soffidldap
Remove the service
docker rm soffidldap
Docker Volumes
The initial configuration files are located in theldapconf volume, usually in /var/lib/docker/volumes/ldapconf/_dataThe initial data files are located in theldapdata volume, usually in /var/lib/docker/volumes/ldapdata/_data