GPO Backup and Restore
Added in Samba version: 4.10
<What does the feature do, Why might users care about it, What is the Microsoft-equivalent that a Windows admin might be familiar with, etc>
How to configure it
<Just reference the relevant samba-tool/smb.conf options (your man-page/help documentation should already be clear enough)>
Known issues and limitations
<Any outstanding bugs, configurations not supported, etc>
<What debug level do you need to run to see messages of interest. Are there any other ways to verify the feature is doing what it should>
How to test it
make test TESTS=samba_tool.gpo
<Anything else notable about running the tests...>
Where the code is located
The core parsing logic for GPO is in the python gp_parse module.
The outer logic lives in netcmd/gpo.py (where the actual regex matching used to identify which parser is used) and the tests are all in the samba_tool gpo.py tests.
(Note: The parser for .pol files is auto-generated from IDL.)
<E.g. Microsoft specification/section that describes the feature in more detail>