Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: connect to LDAP/LDAPS from Docker #2088

Closed
akupreev opened this issue Jun 7, 2024 · 0 comments
Closed

Problem: connect to LDAP/LDAPS from Docker #2088

akupreev opened this issue Jun 7, 2024 · 0 comments

Comments

@akupreev
Copy link

akupreev commented Jun 7, 2024

Issue

Colleagues, good afternoon.
I encountered a problem enabling LDAP/LDAPS authorization in semaphore.
Semaphore is deployed in docker-container using docker-compose, when deployed, the config.json configuration is not pulled from the compose.yml file, namely, the configuration from the SEMAPHORE_LDAP_MAPPING_* values ​​is not pulled up.
Configuration example:

SEMAPHORE_LDAP_ACTIVATED: "yes"
SEMAPHORE_LDAP_HOST: "example.com"
SEMAPHORE_LDAP_PORT: "636"
SEMAPHORE_LDAP_DN_BIND: "cn=test,ou=service,ou=Accounts,ou=Organization,dc=example,dc=com"
SEMAPHORE_LDAP_PASSWORD: "secret-password"
SEMAPHORE_LDAP_DN_SEARCH: "dc=example,dc=com"
SEMAPHORE_LDAP_NEEDTLS: "yes"
SEMAPHORE_LDAP_SEARCH_FILTER: "(&(sAMAccountName=%s)(memberOf=ou=Users,ou=Organization,dc=example,dc=com))"
SEMAPHORE_LDAP_MAPPING_DN: "dn"
SEMAPHORE_LDAP_MAPPING_MAIL: "{{userPrincipalName}}@example.com"
SEMAPHORE_LDAP_MAPPING_UID: "sAMAccountName"
SEMAPHORE_LDAP_MAPPING_CN: "cn"

Tell me please where I made a mistake?

Impact

Docker

Installation method

Docker

Database

Postgres

Browser

Chrome

Semaphore Version

2.9.112

Ansible Version

No response

Logs & errors

No response

Manual installation - system information

No response

Configuration

No response

Additional information

No response

@semaphoreui semaphoreui locked and limited conversation to collaborators Jun 18, 2024
@fiftin fiftin converted this issue into discussion #2106 Jun 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant