From 465fa64532a59d015abfc6dfc11926bd5b959e60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Van=C3=AD=C4=8Dek?= Date: Sun, 18 Dec 2022 20:47:43 +0100 Subject: [PATCH] LDB files are missing after join. --- Dockerfile | 1 + entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7e2eee2..08d160c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ RUN apt-get -y update && \ samba-dsdb-modules \ samba-client \ samba-vfs-modules \ + ldb-tools \ logrotate \ attr \ libpam-mount \ diff --git a/entrypoint.sh b/entrypoint.sh index 6e5f16b..1b71875 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -118,7 +118,7 @@ if [ ! -f /var/lib/samba/private/secrets.tdb ]; then net ads join -U"$ADMIN_ACCOUNT"%"$ADMIN_PASSWORD" # Shares are not visible otherwise - chmod 666 /var/lib/samba/share_info.tdb + #chmod 666 /var/lib/samba/share_info.tdb fi # CUPS persistence and permissions