diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-12-08 14:42:08 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-12-08 14:43:50 +1100 |
commit | cc9d4d51814054d91afeb17e62ded3087bc864ff (patch) | |
tree | 20cb3e910e0986be2bcbc418361703d6e6cf5347 /source4/scripting | |
parent | ff984cdfac3638e75fdc764d45899fbabb17d291 (diff) | |
download | samba-cc9d4d51814054d91afeb17e62ded3087bc864ff.tar.gz samba-cc9d4d51814054d91afeb17e62ded3087bc864ff.tar.bz2 samba-cc9d4d51814054d91afeb17e62ded3087bc864ff.zip |
s4-drs: use -r to ldbdel in unvampire devel script
This ensures we delete any nTDSConnection objects
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/devel/drs/unvampire_ad.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/scripting/devel/drs/unvampire_ad.sh b/source4/scripting/devel/drs/unvampire_ad.sh index e4b9dccf1a..7f9763e18a 100755 --- a/source4/scripting/devel/drs/unvampire_ad.sh +++ b/source4/scripting/devel/drs/unvampire_ad.sh @@ -5,8 +5,7 @@ set -x . `dirname $0`/vars -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" +bin/ldbdel -r -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,CN=Computers,$dn" +bin/ldbdel -r -H ldap://$server.$DNSDOMAIN -U$workgroup/administrator%$pass "CN=$machine,OU=Domain Controllers,$dn" +bin/ldbdel -r -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 |