summaryrefslogtreecommitdiff
path: root/source4/scripting/bin
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-07 13:46:24 +1000
committerAndrew Tridgell <tridge@samba.org>2011-06-07 15:48:42 +1000
commita58e69a734085f9963b60042be3d9a33a90616a7 (patch)
treedf7cacfc57c6115ac010340b94b0b96d2d36b97b /source4/scripting/bin
parent6ea8db1bd418aa5308a042d59e3288b68312739b (diff)
downloadsamba-a58e69a734085f9963b60042be3d9a33a90616a7.tar.gz
samba-a58e69a734085f9963b60042be3d9a33a90616a7.tar.bz2
samba-a58e69a734085f9963b60042be3d9a33a90616a7.zip
s4-dns: fixed samba_tool -> samba-tool
Diffstat (limited to 'source4/scripting/bin')
-rwxr-xr-xsource4/scripting/bin/setup_dns.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/setup_dns.sh b/source4/scripting/bin/setup_dns.sh
index 646ee81f26..bc2ae96b84 100755
--- a/source4/scripting/bin/setup_dns.sh
+++ b/source4/scripting/bin/setup_dns.sh
@@ -13,7 +13,7 @@ IP="$3"
RSUFFIX=$(echo $DOMAIN | sed s/[\.]/,DC=/g)
[ -z "$PRIVATEDIR" ] && {
- PRIVATEDIR=$(bin/samba_tool testparm --section-name=global --parameter-name='private dir' --suppress-prompt 2> /dev/null)
+ PRIVATEDIR=$(bin/samba-tool testparm --section-name=global --parameter-name='private dir' --suppress-prompt 2> /dev/null)
}
OBJECTGUID=$(bin/ldbsearch -s base -H "$PRIVATEDIR/sam.ldb" -b "CN=NTDS Settings,CN=$HOSTNAME,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=$RSUFFIX" objectguid|grep ^objectGUID| cut -d: -f2)