# Running Jenkins in ECS cannot get LDAP to work

**URL:** <https://community.jenkins.io/t/running-jenkins-in-ecs-cannot-get-ldap-to-work/6963>\
**Category:** Ask a question\
**Tags:** docker\
**Created:** [April 21, 2023, 9:22am UTC](https://community.jenkins.io/t/running-jenkins-in-ecs-cannot-get-ldap-to-work/6963 "2023-04-21T09:22:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThePeltonian](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/thepeltonian/32/4060_2.png) [@ThePeltonian](https://community.jenkins.io/u/ThePeltonian)\
**Post date:** [April 21, 2023, 9:22am UTC](https://community.jenkins.io/t/running-jenkins-in-ecs-cannot-get-ldap-to-work/6963/1 "2023-04-21T09:22:48Z")

</div>

Hello all, since moving our Jenkins to use ECS instead of EC2 we are unable to connect to LDAP. The security groups are set ok etc but just keep getting:

javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090447, comment: AcceptSecurityContext error, data 52e, v3839]

the only change is that its moved to ecs - anyone else had issues around this?
