diff --git a/zmb-ad.sh b/zmb-ad.sh index 16e4c52..d6b25b7 100644 --- a/zmb-ad.sh +++ b/zmb-ad.sh @@ -109,7 +109,7 @@ rm -f /etc/krb5.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 -ln -sf /var/lib/samba/private/krb5.conf /etc/krb5.conf +cp /var/lib/samba/private/krb5.conf /etc/krb5.conf systemctl unmask samba-ad-dc systemctl enable samba-ad-dc $BINDNINE