Lines Matching refs:status
238 ADS_STATUS status;
246 status = ads_search_dn(ads, &res, link_dn, attrs);
247 if (!ADS_ERR_OK(status)) {
248 DEBUG(10,("ads_get_gpo_link: search failed with %s\n", ads_errstr(status)));
249 return status;
286 ADS_STATUS status;
299 status = ads_search_dn(ads, &res, link_dn, attrs);
300 if (!ADS_ERR_OK(status)) {
301 DEBUG(10,("ads_add_gpo_link: search failed with %s\n", ads_errstr(status)));
302 return status;
324 status = ads_mod_str(mem_ctx, &mods, "gPLink", gp_link_new);
325 if (!ADS_ERR_OK(status)) {
326 return status;
342 ADS_STATUS status;
359 status = ads_search_dn(ads, &res, link_dn, attrs);
360 if (!ADS_ERR_OK(status)) {
361 DEBUG(10,("ads_delete_gpo_link: search failed with %s\n", ads_errstr(status)));
362 return status;
385 status = ads_mod_str(mem_ctx, &mods, "gPLink", gp_link_new);
386 if (!ADS_ERR_OK(status)) {
387 return status;
451 ADS_STATUS status;
472 status = ads_search_dn(ads, &res, gpo_dn, attrs);
482 status = ads_do_search_all(ads, ads->config.bind_path,
487 if (!ADS_ERR_OK(status)) {
488 DEBUG(10,("ads_get_gpo: search failed with %s\n", ads_errstr(status)));
489 return status;
504 status = ads_parse_gpo(ads, mem_ctx, res, dn, gpo);
508 return status;
523 ADS_STATUS status;
550 status = ads_get_gpo(ads, mem_ctx, gp_link->link_names[i], NULL, NULL, new_gpo);
551 if (!ADS_ERR_OK(status)) {
552 return status;
579 ADS_STATUS status;
596 status = ads_site_dn_for_machine(ads, mem_ctx, ads->config.ldap_server_name, &site_dn);
597 if (!ADS_ERR_OK(status)) {
598 return status;
603 status = ads_get_gpo_link(ads, mem_ctx, site_dn, &gp_link);
604 if (ADS_ERR_OK(status)) {
610 status = add_gplink_to_gpo_list(ads, mem_ctx, gpo_list,
613 if (!ADS_ERR_OK(status)) {
614 return status;
637 status = ads_get_gpo_link(ads, mem_ctx, parent_dn, &gp_link);
638 if (ADS_ERR_OK(status)) {
649 status = add_gplink_to_gpo_list(ads, mem_ctx,
653 if (!ADS_ERR_OK(status)) {
654 return status;
676 status = ads_get_gpo_link(ads, mem_ctx, parent_dn, &gp_link);
677 if (ADS_ERR_OK(status)) {
688 status = add_gplink_to_gpo_list(ads, mem_ctx,
692 if (!ADS_ERR_OK(status)) {
693 return status;