LDB files are missing after join.

This commit is contained in:
2022-12-18 20:47:43 +01:00
parent 7defc78e88
commit 465fa64532
2 changed files with 2 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ RUN apt-get -y update && \
samba-dsdb-modules \
samba-client \
samba-vfs-modules \
ldb-tools \
logrotate \
attr \
libpam-mount \

View File

@@ -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