From 26f03fb5794cb57166495dee2feb4f9ed4c3bf70 Mon Sep 17 00:00:00 2001 From: Rich Braun Date: Thu, 31 Aug 2023 14:18:42 -0700 Subject: [PATCH] Issue #120 add SERVER_STRING to samba-dc image config --- images/samba-dc/helm/values.yaml | 1 + images/samba-dc/smb.conf.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/images/samba-dc/helm/values.yaml b/images/samba-dc/helm/values.yaml index 8238aed6..d3bf176e 100644 --- a/images/samba-dc/helm/values.yaml +++ b/images/samba-dc/helm/values.yaml @@ -8,6 +8,7 @@ statefulset: interfaces: lo netbios_name: samba realm: workgroup.example.com + server_string: Samba Domain Controller tz: UTC workgroup: WORKGROUP # TODO: this will join with incorrect hostname until the following diff --git a/images/samba-dc/smb.conf.j2 b/images/samba-dc/smb.conf.j2 index f440f42f..eef6c551 100644 --- a/images/samba-dc/smb.conf.j2 +++ b/images/samba-dc/smb.conf.j2 @@ -5,6 +5,7 @@ netbios name = {{ NETBIOS_NAME }} realm = {{ REALM }} server role = active directory domain controller + server string = {{ SERVER_STRING }} workgroup = {{ WORKGROUP }} add machine script = /usr/sbin/adduser -D -H -G users -s /bin/false %u