The Samba-Bugzilla – Attachment 13358 Details for
Bug 12893
tdb_copy bug in tdb_util.py
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix missing tdbbackup error take 3
fix-missing-tdbbackup-error.patch (text/plain), 561 bytes, created by
Jeff Sadowski
on 2017-07-11 20:32:53 UTC
(
hide
)
Description:
fix missing tdbbackup error take 3
Filename:
MIME Type:
Creator:
Jeff Sadowski
Created:
2017-07-11 20:32:53 UTC
Size:
561 bytes
patch
obsolete
>diff --git a/python/samba/tdb_util.py b/python/samba/tdb_util.py >index d967434..01fdb44 100644 >--- a/python/samba/tdb_util.py >+++ b/python/samba/tdb_util.py >@@ -32,6 +32,10 @@ def tdb_copy(file1, file2): > if os.path.exists(toolpath): > break > >+ if not os.path.exists(toolpath): >+ raise Exception("Error I could not find tdbbackup maybe you need to" >+ " install tdb-tools?") >+ > tdbbackup_cmd = [toolpath, "-s", ".copy.tdb", file1] > status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False) >
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 12893
:
13353
|
13354
| 13358