Changed path of zamba.conf to absolute path

This commit is contained in:
Thorsten Spille 2021-04-12 12:34:42 +00:00
parent 5fd8738aeb
commit b2aebcc80e

View File

@ -5,7 +5,7 @@
# (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.de> # (C) 2021 Script design and prototype by Markus Helmke <helmke@cloudistboese.de>
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de> # (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
source ./zamba.conf source /root/zamba.conf
# Set Timezone # Set Timezone
ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime
@ -100,7 +100,7 @@ systemctl disable smbd nmbd winbind
rm -f /etc/samba/smb.conf rm -f /etc/samba/smb.conf
rm -f /etc/krb5.conf rm -f /etc/krb5.conf
source ./zamba.conf source /root/zamba.conf
# provision zamba domain # provision zamba domain
samba-tool domain provision --use-rfc2307 --realm=$ZMB_REALM --domain=$ZMB_DOMAIN --adminpass=$ZMB_ADMIN_PASS --server-role=dc --backend-store=mdb --dns-backend=BIND9_DLZ samba-tool domain provision --use-rfc2307 --realm=$ZMB_REALM --domain=$ZMB_DOMAIN --adminpass=$ZMB_ADMIN_PASS --server-role=dc --backend-store=mdb --dns-backend=BIND9_DLZ