-
if you don't use the default port for ldap you have to specify it when do the query -H ldap://localhost:newport, and it should be a port exposed in the docker container.
-
to check if the docker is working well do: sudo docker exec cybersec_openldap_1 ldapsearch -x -H ldap://localhost:expoedport
3)It's possible to add entry but be aware on how to do it: e.g. start from cn=confiIt's possible to add entry but be aware on how to do it: e.g. start from cn=config
-sudo docker build -t "sldap:prova" .
-sudo docker run --privileged -p 389:389 -p 636:636 --name test [--detach] sldap:prova
-sudo docker logs test
-sudo docker stop test && sudo docker rm test && sudo docker image rm sldap:prova
try to create ollama script