forked from bashclub/zamba-lxc-toolbox
Removed second load of zamba.conf
This commit is contained in:
parent
55460306f7
commit
ecf01bf3d3
@ -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
|
||||
|
||||
|
@ -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 <<EOF
|
||||
[libdefaults]
|
||||
|
Loading…
Reference in New Issue
Block a user