git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb3f45
)
s4-join: enable cleanup on failed join
author
Andrew Tridgell
<tridge@samba.org>
Tue, 27 Sep 2011 23:32:15 +0000
(09:32 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 4 Oct 2011 04:08:57 +0000
(15:08 +1100)
if a join fails, then cleanup the old records
source4/scripting/python/samba/join.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/join.py
b/source4/scripting/python/samba/join.py
index 195dfc23120f2c81314a4d3f49add3c960d9f44f..38f5c8aac18ceebaebb25da8f8ac5c25367a457a 100644
(file)
--- a/
source4/scripting/python/samba/join.py
+++ b/
source4/scripting/python/samba/join.py
@@
-818,7
+818,7
@@
class dc_join(object):
ctx.join_finalise()
except Exception:
print "Join failed - cleaning up"
-
#
ctx.cleanup_old_join()
+ ctx.cleanup_old_join()
raise