summaryrefslogtreecommitdiff
path: root/source4/scripting/devel/drs/unvampire_ad.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-15 08:49:21 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-15 08:49:21 +1100
commitb41290c10dc3e6c783b7a51477be903d202ed074 (patch)
treefb51e47d6f8d2fefac3b07b26b87d1b23039648f /source4/scripting/devel/drs/unvampire_ad.sh
parentd1784e7ca92ba8c6579da6a6238a3f95d67a463d (diff)
downloadsamba-b41290c10dc3e6c783b7a51477be903d202ed074.tar.gz
samba-b41290c10dc3e6c783b7a51477be903d202ed074.tar.bz2
samba-b41290c10dc3e6c783b7a51477be903d202ed074.zip
s4-devel: for devel scripts its better to use bin/ than $PREFIX/bin
This avoids having to do make install after each change when using the drs devel scripts
Diffstat (limited to 'source4/scripting/devel/drs/unvampire_ad.sh')
-rwxr-xr-xsource4/scripting/devel/drs/unvampire_ad.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/devel/drs/unvampire_ad.sh b/source4/scripting/devel/drs/unvampire_ad.sh
index f44edafee7..e4b9dccf1a 100755
--- a/source4/scripting/devel/drs/unvampire_ad.sh
+++ b/source4/scripting/devel/drs/unvampire_ad.sh
@@ -5,8 +5,8 @@ set -x
. `dirname $0`/vars
-$PREFIX/bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,CN=Computers,$dn"
-$PREFIX/bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,OU=Domain Controllers,$dn"
-$PREFIX/bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=NTDS Settings,CN=$machine,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,$dn"
-$PREFIX/bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,$dn"
+bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,CN=Computers,$dn"
+bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,OU=Domain Controllers,$dn"
+bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=NTDS Settings,CN=$machine,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,$dn"
+bin/ldbdel -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,$dn"
rm -f $PREFIX/private/*.ldb