[PATCHES] GPO support for the AD DC itself (vers 3)

David Mulder dmulder at suse.com
Fri Mar 10 16:09:07 UTC 2017


These patches were originally sent to the mailing list on 05 June 2014.
I've cleaned up the patches, fixed some bugs, and done some minimal testing.
I've also added gpo apply testing to the torture suite.

 ctdb/common/system.h                            |   1 -
 ctdb/common/system_util.c                       |  49 +---
 docs-xml/smbdotconf/base/serverservices.xml     |   2 +-
 docs-xml/smbdotconf/domain/gpoupdatecommand.xml |  14 ++
 lib/param/loadparm.c                            |   3 +-
 lib/util/mkdir_p.c                              |  71 ++++++
 lib/util/mkdir_p.h                              |  22 ++
 lib/util/wscript_build                          |   5 +
 {source3/libgpo => libgpo}/gpo_filesync.c       |   0
 {source3/libgpo => libgpo}/gpo_proto.h          |   0
 {source3/libgpo => libgpo}/gpo_reg.c            |   0
 libgpo/pygpo.c                                  | 644 +++++++++++++++++++++++++++++++++++++++++++++++++
 libgpo/pygpo.h                                  |  53 ++++
 libgpo/wscript_build                            |  12 +
 pygpo.h                                         |   8 +
 python/samba/gpclass.py                         | 365 ++++++++++++++++++++++++++++
 python/samba/krb5parse.py                       |  61 +++++
 python/samba/samdb.py                           |  18 ++
 selftest/target/Samba4.pm                       |   1 +
 source3/libgpo/gpext/wscript_build              |   4 -
 source3/param/loadparm.c                        |   9 +-
 source3/utils/wscript_build                     |   2 +-
 source3/wscript_build                           |  19 --
 source4/dsdb/gpo/gpo_update.c                   | 191 +++++++++++++++
 source4/dsdb/wscript_build                      |   9 +
 source4/scripting/bin/samba_gpoupdate           | 248 +++++++++++++++++++
 source4/scripting/bin/wscript_build             |   2 +-
 source4/scripting/wscript_build                 |   2 +-
 source4/selftest/tests.py                       |   4 +
 source4/torture/gpo/apply.c                     | 189 +++++++++++++++
 source4/torture/gpo/gpo.c                       |  36 +++
 source4/torture/gpo/wscript_build               |  14 ++
 source4/torture/wscript_build                   |   1 +
 wscript_build                                   |   1 +
 34 files changed, 1983 insertions(+), 77 deletions(-)




More information about the samba-technical mailing list