mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s4-devel: support vampire_ad.sh with no initial smb.conf
This commit is contained in:
parent
b11b22752a
commit
7f6b524bf6
@ -12,6 +12,9 @@ chmod a+r $namedtmp
|
||||
mv -f $namedtmp $PREFIX/private/named.conf
|
||||
sudo rndc reconfig
|
||||
`dirname $0`/unvampire_ad.sh
|
||||
sudo bin/net vampire $DNSDOMAIN -Uadministrator%$pass -s $PREFIX/etc/smb.conf -d2 || exit 1
|
||||
|
||||
REALM="$(echo $DNSDOMAIN | tr '[a-z]' '[A-Z]')"
|
||||
|
||||
sudo bin/net vampire $DNSDOMAIN -Uadministrator%$pass -s $PREFIX/etc/smb.conf --option=realm=$REALM --option="ads:dc function level=4" --option="ads:min function level=0" -d2 || exit 1
|
||||
PRIVATEDIR=$PREFIX/private sudo -E scripting/bin/setup_dns.sh $machine $DNSDOMAIN $machine_ip || exit 1
|
||||
sudo rndc flush
|
||||
|
Loading…
Reference in New Issue
Block a user