update_item
update_item(&ctx->domain_name, dname, AD_STATE_AUTO, 0);
update_item(&ctx->site_domain_controller, dc,
update_item(&ctx->domain_controller, dc,
update_item(&ctx->site_global_catalog, gc,
update_item(&ctx->global_catalog, gc,
update_item(&ctx->trusted_domains, trusted_domains,
update_item(&ctx->domains_in_forest, domains_in_forest,
update_item(&ctx->domain_name, domain_name,
update_item(&ctx->domain_guid, domain_guid,
update_item(&ctx->domain_guid, domain_guid, AD_STATE_AUTO, 0);
update_item(&ctx->domain_controller, domain_controller,
update_item(&ctx->site_name, site_name, AD_STATE_FIXED, 0);
update_item(&ctx->site_name, site_name, AD_STATE_AUTO, 0);
update_item(&ctx->forest_name, forest_name,
update_item(&ctx->forest_name, forest_name, AD_STATE_AUTO, 0);
update_item(&ctx->global_catalog, global_catalog,
update_item(&ctx->preferred_dc, new_pref_dc,