]> git.ipfire.org Git - thirdparty/samba.git/commit
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)
committerKarolin Seeger <kseeger@samba.org>
Wed, 25 Oct 2017 06:43:02 +0000 (08:43 +0200)
commit322add14771f55c3cc7e5d0cc2fb2f56d32dee51
tree6114b88aa419186f1e960896faa3ea5c8b3b73bd
parent3cd186fdd263ae0f7c761f6e0e558f0fad44b17e
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>
(cherry picked from commit 6a531773b841f6b713226d1166a1e7d4dbc9b282)
libgpo/gpo_ldap.c