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