[PATCHES] Make gpo extensible

Stefan Metzmacher metze at samba.org
Tue Feb 20 19:38:37 UTC 2018


Hi David,

> Make gpo easily extensible by automatically importing
> extensions based on their location, ex.
> Python scripts in /var/lib/samba/gp_exts/kdc/ will
> only apply to a kdc, while scripts in
> /var/lib/samba/gp_exts/machine/ will only apply machine
> policies (which apply to both client machines and kdc).
> Extensions must inherit from the class gp_ext(), and
> these child classes are automatically detected.

I haven't looked at the patches itself, but I'm
wondering about the naming and separation.

As far as I understand there only machine and user gpo's under windows.

Shouldn't the extension itself check the server role it is running on
in order to find out if it needs to apply some settings?

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180220/55c3ab8c/signature.sig>


More information about the samba-technical mailing list