# LDAP connection with docker (Spring Boot)

**URL:** <https://forum.operaton.org/t/ldap-connection-with-docker-spring-boot/421>\
**Category:** Operating/Hosting Operaton\
**Created:** [May 13, 2026, 12:00pm UTC](https://forum.operaton.org/t/ldap-connection-with-docker-spring-boot/421 "2026-05-13T12:00:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ck.am](https://forum.operaton.org/letter_avatar_proxy/v4/letter/c/e56c9b/32.png) [@ck.am](https://forum.operaton.org/u/ck.am)\
**Post date:** [May 13, 2026, 12:00pm UTC](https://forum.operaton.org/t/ldap-connection-with-docker-spring-boot/421/1 "2026-05-13T12:00:07Z")

</div>

Hello everyone,

I try to integrate LDAP-/AD-connectivity to the Docker-Container of operaton (based on Spring Boot: [operaton/operaton - Docker Image](https://hub.docker.com/r/operaton/operaton/)).

I mount the LDAP-jar (operaton-identity-ldap-2.0.0.jar) into “/operaton/configuration/userlib/” and the “default.yml” containing the LDAP-Settings  
to “/operaton/internal/application.yml”:

docker-compose.yml:  
[..]  
services:  
operaton:  
build: .  
image: operaton/operaton:latest  
container\_name: operaton  
environment:  
DB\_DRIVER: com.mysql.cj.jdbc.Driver  
DB\_URL: jdbc:mysql://mysql:3306/operaton?autoReconnect=true&sessionVariables=transaction\_isolation=‘READ-COMMITTED’  
DB\_USERNAME: root  
DB\_PASSWORD: [password]  
OPERATON\_WEBAPPS\_ENABLED: true  
SPRING\_CONFIG\_LOCATION: file:/operaton/internal/application.yml  
ports:

- “8080:8080”  
depends\_on:
- mysql  
restart: always  
networks:
- workflow-net
- operaton\_default  
volumes:
- ./data:/opt/data
- ./configuration/userlib/operaton-identity-ldap-2.0.0.jar:/operaton/configuration/userlib/operaton-identity-ldap-2.0.0.jar
- ./configuration/default.yml:/operaton/internal/application.yml  
[..]

default.yml/application.yml:  
[..]  
ldap:  
serverUrl: ldap://[id of ad-server]:389  
managerDn: CN=[…]  
managerPassword: [password]  
baseDn: OU=[…]  
userBaseDn: OU=[…]  
userSearchFilter: “(objectClass=user)”  
userIdAttribute: sAMAccountName  
userFirstnameAttribute: givenName  
userLastnameAttribute: sn  
userEmailAttribute: mail  
groupBaseDn: OU=[…]  
groupSearchFilter: “(objectClass=group)”  
groupIdAttribute: cn  
groupNameAttribute: cn  
groupMemberAttribute: member  
authorizationCheckEnabled: false  
#userSearchFilter: “(&(objectClass=user)(memberOf=\*))”  
usePaging: true  
pageSize: 500  
[..]

When I start the container, I can see in the “standalone.log”, that “operaton-identity-ldap-2.0.0.jar” is loaded.

But when I try to login with an ad-user, I don’t get any entries in the “standalone.log”.

Has anyone integrated LDAP/AP connectivity in operaton (Docker/Spring Boot) successfully?

Thanks a lot in advance

Chris
