The Samba-Bugzilla – Attachment 14277 Details for
Bug 13501
Unable to demote an empty RODC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
13501.patch (text/plain), 666 bytes, created by
Jean-Sébastien Bevilacqua
on 2018-07-04 12:01:14 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Jean-Sébastien Bevilacqua
Created:
2018-07-04 12:01:14 UTC
Size:
666 bytes
patch
obsolete
>diff --git python/samba/remove_dc.py python/samba/remove_dc.py >index d1904610e91..9062ebb2d23 100644 >--- python/samba/remove_dc.py >+++ python/samba/remove_dc.py >@@ -263,7 +263,10 @@ def offline_remove_server(samdb, logger, > if remove_computer_obj: > # Delete the computer tree > logger.info("Removing computer account: %s (and any child objects)" % computer_dn) >- samdb.delete(computer_dn, ["tree_delete:0"]) >+ try: >+ samdb.delete(computer_dn, ["tree_delete:0"]) >+ except: >+ pass > > if "dnsHostName" in msgs[0]: > dnsHostName = msgs[0]["dnsHostName"][0]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13501
: 14277