From 6e679c82a03a6ca0e6d239ce5ff2b12125971f2d Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 8 May 2024 09:11:28 +0200 Subject: [PATCH] fix: add missing argument to ldap manager --- nomad-job/openldap/openldap.nomad.hcl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nomad-job/openldap/openldap.nomad.hcl b/nomad-job/openldap/openldap.nomad.hcl index ffe7c3d..0ccac81 100644 --- a/nomad-job/openldap/openldap.nomad.hcl +++ b/nomad-job/openldap/openldap.nomad.hcl @@ -168,6 +168,13 @@ job "openldap" { LDAP_USER_OU="users" NO_HTTPS="true" EMAIL_DOMAIN="ducamps.eu" + DEFAULT_USER_GROUP="users" + DEFAULT_USER_SHELL="/bin/sh" + USERNAME_FORMAT="{first_name}" + LDAP_RFC2307BIS_SCHEMA="TRUE" + USERNAME_REGEX="^[a-zA-Z][a-zA-Z0-9._-]{3,32}$" + LDAP_GROUP_ADDITIONAL_OBJECTCLASSES="groupOfNames,posixGroup,top" + SHOW_POSIX_ATTRIBUTES="TRUE" EOH destination = "secrets/env"