From ecf01bf3d3d45de22fb66cea56bbc714f569a7e4 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Tue, 13 Apr 2021 18:47:57 +0200 Subject: [PATCH] Removed second load of zamba.conf --- zmb-ad.sh | 2 -- zmb-member.sh | 3 --- 2 files changed, 5 deletions(-) diff --git a/zmb-ad.sh b/zmb-ad.sh index 4aeae10..16e4c52 100644 --- a/zmb-ad.sh +++ b/zmb-ad.sh @@ -106,8 +106,6 @@ systemctl disable smbd nmbd winbind rm -f /etc/samba/smb.conf rm -f /etc/krb5.conf -source /root/zamba.conf - # 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=$ZMB_DNS_BACKEND diff --git a/zmb-member.sh b/zmb-member.sh index e13a1d3..52b01e3 100644 --- a/zmb-member.sh +++ b/zmb-member.sh @@ -16,9 +16,6 @@ ln -sf /usr/share/zoneinfo/$LXC_TIMEZONE /etc/localtime apt update && apt full-upgrade -y echo -ne '\n' | apt install -y $LXC_TOOLSET acl samba winbind libpam-winbind libnss-winbind krb5-user krb5-config samba-dsdb-modules samba-vfs-modules - -source /root/zamba.conf - mv /etc/krb5.conf /etc/krb5.conf.bak cat > /etc/krb5.conf <