Bug 15462 - samba-tool gpo restore does not work without --tmpdir
Summary: samba-tool gpo restore does not work without --tmpdir
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Python (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Douglas Bagnall
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-28 22:38 UTC by Douglas Bagnall
Modified: 2023-09-29 03:16 UTC (History)
2 users (show)

See Also:


Attachments
Proposed patch for bug #15462 (1.43 KB, patch)
2023-08-29 07:38 UTC, Kacper
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Bagnall 2023-08-28 22:38:25 UTC
In https://bugzilla.samba.org/show_bug.cgi?id=15006#c6 Kacper wrote:

> 0fdd7e16a1d2c68e3fa4262c8e7355b0889c5b66 broke 'samba-tool gpo restore" when 
> used without the --tmpdir option. cmd_restore depended upon the tmpdir being 
> there after cmd_create but now that directory is being clean up and no longer
> available for cmd_restore, resulting in a FileNotFoundError.
Comment 1 Kacper 2023-08-29 07:38:11 UTC
Created attachment 18073 [details]
Proposed patch for bug #15462
Comment 2 Andrew Bartlett 2023-08-30 09:22:09 UTC
Can you contribute the patch via gitlab?

https://wiki.samba.org/index.php/Contribute
Comment 3 Samba QA Contact 2023-09-29 03:16:04 UTC
This bug was referenced in samba master:

90ba53eee4a3614da81ee562be2a55c01888c2cf