lib: gpo: Changes order to match GPO application order.
authorLutz Justen <ljusten@google.com>
Thu, 21 Sep 2017 17:01:58 +0000 (10:01 -0700)
committerGünther Deschner <gd@samba.org>
Fri, 22 Sep 2017 23:25:24 +0000 (01:25 +0200)
commit6a531773b841f6b713226d1166a1e7d4dbc9b282
tree6352dc5b6c1c7364c2e94ff6ee7313d5638d1d19
parentc40531d9b964588f96d2ab5545b328f8dc787ad9
lib: gpo: Changes order to match GPO application order.

The order of GPOs in a gpo_list generated by ads_get_gpo_list
did not match the order of application. Since GPOs are pushed
to the FRONT of gpo_list, GPOs have to be pushed in the opposite
order of application. (Pushing to front is useful to get
inheritance blocking right).

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