mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 11:40:12 +01:00
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/samba/smb.conf
|
||||||
rm -f /etc/krb5.conf
|
rm -f /etc/krb5.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=$ZMB_DNS_BACKEND
|
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
|
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
|
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
|
mv /etc/krb5.conf /etc/krb5.conf.bak
|
||||||
cat > /etc/krb5.conf <<EOF
|
cat > /etc/krb5.conf <<EOF
|
||||||
[libdefaults]
|
[libdefaults]
|
||||||
|
Loading…
Reference in New Issue
Block a user