The Samba-Bugzilla – Attachment 13353 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
fix-missing-tdbbackup-error.patch (text/plain), 566 bytes, created by
Jeff Sadowski
on 2017-07-11 14:54:27 UTC
(
hide
)
Description:
fix missing tdbbackup error
Filename:
MIME Type:
Creator:
Jeff Sadowski
Created:
2017-07-11 14:54:27 UTC
Size:
566 bytes
patch
obsolete
>diff --git a/a/python/samba/tdb_util.py b/b/python/samba/tdb_util.py >index d967434..7645748 100644 >--- a/a/python/samba/tdb_util.py >+++ b/b/python/samba/tdb_util.py >@@ -32,6 +32,9 @@ 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