summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-21 11:32:58 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-21 13:35:55 +1000
commit899fa60dd2cf24fc32c83f17080fa5f221861541 (patch)
tree455e38e29717c2ccc7416ebcb5163e2539ba88af /source4/scripting
parent7ccebb49af8d7d77ce2f3e9124148e1f4100165c (diff)
downloadsamba-899fa60dd2cf24fc32c83f17080fa5f221861541.tar.gz
samba-899fa60dd2cf24fc32c83f17080fa5f221861541.tar.bz2
samba-899fa60dd2cf24fc32c83f17080fa5f221861541.zip
s4-devel: allow extra net command line options and gdb
This allows you to run: GDB="gdb --args" vampire_ad.sh and also to add higher debug levels like this: vampire_ad.sh -d100 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rwxr-xr-xsource4/scripting/devel/drs/vampire_ad.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/devel/drs/vampire_ad.sh b/source4/scripting/devel/drs/vampire_ad.sh
index c40ca64071..7a6be506fc 100755
--- a/source4/scripting/devel/drs/vampire_ad.sh
+++ b/source4/scripting/devel/drs/vampire_ad.sh
@@ -15,6 +15,6 @@ sudo rndc reconfig
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
+sudo $GDB 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