[Samba] samba-tool gpo fetch ?

Rowland penny rpenny at samba.org
Mon Feb 8 14:10:30 UTC 2021

On 08/02/2021 13:50, Stefan Kania via samba wrote:
> Hi all,
> Im just testing the new features to backup and copy GPOs. I did a GPO
> backup with "samba-tool gpo backup <gpo-id> --tmpdir=/some/path" it
> worked, I got the XML-files. I then deleted the GPO and could recover
> the GPO. Nice feature, thank's to the developer for that. That's
> something what was missing :-).
> But the subcommand "samba-tool gpo fetch " makes no sens for me, it's
> like doing an "cp " of the GPO directory. Do I miss some point here?

Hi Stefan, what you missed was that you can do this from a Unix domain 

e.g. sudo samba-tool gpo fetch {5E15535F-A99C-4626-A409-39813ACC7B9B} -H 
ldap://dc4 -UAdministrator


More information about the samba mailing list