[PR PATCH] Make Group Policy Exensible

github at samba.org github at samba.org
Wed Jun 13 21:20:25 UTC 2018


There is a new pull request by dmulder against master on the Samba Samba Github repository

https://github.com/dmulder/samba extensible_gpo
https://github.com/samba-team/samba/pull/197

Make Group Policy Exensible
Trying this a little different way now (third set of patches for this feature).
This works *mostly* the way it's done on a Windows client.
Normally on a windows client, Group Policy client side extensions are registered via the Windows Registry in designated key, but Andrew pointed out that this is unreliable in samba. So I've moved the registered extensions to a configuration file in the cache path. Another advantage to this approach is that it can all be written in python code now (so we don't have to deal with the python c-api).
I've also added input validation so we don't end up with garbage in the gpext config file.
Testing is also included.

See the MS spec here regarding how CSE registration works (under Creating and Registering):
https://msdn.microsoft.com/en-us/library/aa374288(v=vs.85).aspx

A patch file from https://github.com/samba-team/samba/pull/197.patch is attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: github-pr-extensible_gpo-197.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180613/a614a5dc/github-pr-extensible_gpo-197.patch>


More information about the samba-technical mailing list