mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 17:34:21 +01:00
fixing samba DC deployment for newer version of samba
This commit is contained in:
parent
90d92009e3
commit
5f1074bb26
@ -36,7 +36,7 @@ echo "deploy AD"
|
|||||||
printf '' > "${smbconffile}" && \
|
printf '' > "${smbconffile}" && \
|
||||||
${sambacmd} domain provision ${hostip} \
|
${sambacmd} domain provision ${hostip} \
|
||||||
--domain="${domain}" --realm="${realm}" --dns-backend="${sambadns}" \
|
--domain="${domain}" --realm="${realm}" --dns-backend="${sambadns}" \
|
||||||
--targetdir="${targetdir}" --workgroup="${domain}" --use-rfc2307 \
|
--targetdir="${targetdir}" --use-rfc2307 \
|
||||||
--configfile="${smbconffile}" --server-role="${role}" -d 1 --adminpass="${adpass}"
|
--configfile="${smbconffile}" --server-role="${role}" -d 1 --adminpass="${adpass}"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user