lib: gpo: Fixes issue with GPOPTIONS_BLOCK_INHERITANCE.
authorLutz Justen <ljusten@google.com>
Thu, 21 Sep 2017 17:11:15 +0000 (10:11 -0700)
committerGünther Deschner <gd@samba.org>
Fri, 22 Sep 2017 23:25:24 +0000 (01:25 +0200)
commit69410c0a02f7b4d7d20eadf4b4fda8ea064e4a0e
tree2eff2c5960e266dd018da7ebad542aed1caed61a
parent6a531773b841f6b713226d1166a1e7d4dbc9b282
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>
libgpo/gpo_ldap.c