lib: gpo: Fixes issue with GPOPTIONS_BLOCK_INHERITANCE.
commit953d05baf7f9b479bad07affa1da768b39e17877
authorLutz Justen <ljusten@google.com>
Thu, 21 Sep 2017 17:11:15 +0000 (21 10:11 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:04 +0000 (25 08:43 +0200)
tree0fe5edf7a5763f968c159dd1804205ab35439ec8
parent3e7a1d13e3d80f4aad647799f57535f8fbf7041c
lib: gpo: Fixes issue with GPOPTIONS_BLOCK_INHERITANCE.

GP links with the GPOPTIONS_BLOCK_INHERITANCE option set
were blocking GPOs from the same link (i.e. an OU with
the flag set would block its own GPOs). This patch makes
sure the GPOs from the link are added to the list.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13046

Signed-off-by: Lutz Justen <ljusten@google.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit 69410c0a02f7b4d7d20eadf4b4fda8ea064e4a0e)
libgpo/gpo_ldap.c