dump_gplink(&gp_link);
}
- /* block inheritance from now on */
- if (gp_link.gp_opts &
- GPOPTIONS_BLOCK_INHERITANCE) {
- add_only_forced_gpos = true;
- }
-
status = add_gplink_to_gpo_list(ads,
mem_ctx,
gpo_list,
if (!ADS_ERR_OK(status)) {
return status;
}
+
+ /* block inheritance from now on */
+ if (gp_link.gp_opts &
+ GPOPTIONS_BLOCK_INHERITANCE) {
+ add_only_forced_gpos = true;
+ }
}
}
dump_gplink(&gp_link);
}
- /* block inheritance from now on */
- if (gp_link.gp_opts &
- GPOPTIONS_BLOCK_INHERITANCE) {
- add_only_forced_gpos = true;
- }
-
status = add_gplink_to_gpo_list(ads,
mem_ctx,
gpo_list,
if (!ADS_ERR_OK(status)) {
return status;
}
+
+ /* block inheritance from now on */
+ if (gp_link.gp_opts &
+ GPOPTIONS_BLOCK_INHERITANCE) {
+ add_only_forced_gpos = true;
+ }
}
}