From 44c9dac77d6ad3ca28b96be4d4c31253eee0c29c Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Sat, 4 Apr 2020 15:02:45 +0200 Subject: [PATCH] Build DN for ldap admin user This commit makes sure to use a proper distinguished name (DN) for the ldap user used for LDAP modifications. --- states/gnuviechadmin/gvaldap/celery-worker.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/gnuviechadmin/gvaldap/celery-worker.env b/states/gnuviechadmin/gvaldap/celery-worker.env index fda5f01..ce57156 100644 --- a/states/gnuviechadmin/gvaldap/celery-worker.env +++ b/states/gnuviechadmin/gvaldap/celery-worker.env @@ -8,6 +8,6 @@ GVALDAP_BROKER_URL="{{ broker_url }}" GVALDAP_RESULTS_REDIS_URL="{{ result_url }}" GVALDAP_LDAP_PASSWORD="{{ salt['pillar.get']('gnuviechadmin:gvaldap:ldap_admin_password' ) }}" GVALDAP_LDAP_URL="{{ salt['pillar.get']('gnuviechadmin:ldap_url') }}" -GVALDAP_LDAP_USER="{{ salt['pillar.get']('gnuviechadmin:gvaldap:ldap_admin_user') }}" +GVALDAP_LDAP_USER="cn={{ salt['pillar.get']('gnuviechadmin:gvaldap:ldap_admin_user') }},{{ salt['pillar.get']('gnuviechadmin:ldap_base_dn') }}" GVALDAP_SECRETKEY="{{ salt['pillar.get']('gnuviechadmin:gvaldap:django_secret_key') }}" GVALDAP_SERVER_EMAIL="{{ salt['pillar.get']('gnuviechadmin:server_email') }}"