gc 58 source3/include/ads.h bool gc; /* Is this a global catalog server? */ gc 191 source3/libads/ldap.c static bool ads_try_connect(ADS_STRUCT *ads, const char *server, bool gc) gc 256 source3/libads/ldap.c ads->ldap.port = gc ? LDAP_GC_PORT : LDAP_PORT; gc 537 source3/libads/ldap.c ads->server.gc = true; gc 596 source3/libads/ldap.c if (ads_try_connect(ads, ads->server.ldap_server, ads->server.gc)) { gc 605 source3/libads/ldap.c if (ads->server.gc == true) { gc 104 source3/winbindd/idmap_adex/cell_util.c struct gc_info *gc = NULL; gc 110 source3/winbindd/idmap_adex/cell_util.c if ((gc = TALLOC_ZERO_P(NULL, struct gc_info)) == NULL) { gc 119 source3/winbindd/idmap_adex/cell_util.c nt_status = gc_find_forest_root(gc, cell_dns_domain(c)); gc 122 source3/winbindd/idmap_adex/cell_util.c c->forest_name = talloc_strdup(c, gc->forest_name); gc 126 source3/winbindd/idmap_adex/cell_util.c if (gc) { gc 127 source3/winbindd/idmap_adex/cell_util.c talloc_free(gc); gc 99 source3/winbindd/idmap_adex/gc_util.c NTSTATUS gc_find_forest_root(struct gc_info *gc, const char *domain) gc 107 source3/winbindd/idmap_adex/gc_util.c if (!gc || !domain) { gc 136 source3/winbindd/idmap_adex/gc_util.c gc->forest_name = talloc_strdup(gc, cldap_reply.forest); gc 137 source3/winbindd/idmap_adex/gc_util.c BAIL_ON_PTR_ERROR(gc->forest_name, nt_status); gc 153 source3/winbindd/idmap_adex/gc_util.c struct gc_info *gc = NULL; gc 180 source3/winbindd/idmap_adex/gc_util.c if ((gc = TALLOC_ZERO_P(NULL, struct gc_info)) == NULL) { gc 189 source3/winbindd/idmap_adex/gc_util.c nt_status = gc_find_forest_root(gc, domain); gc 194 source3/winbindd/idmap_adex/gc_util.c if (strequal (find_gc->forest_name, gc->forest_name)) gc 208 source3/winbindd/idmap_adex/gc_util.c dn = ads_build_dn(gc->forest_name); gc 211 source3/winbindd/idmap_adex/gc_util.c gc->search_base = talloc_strdup(gc, dn); gc 213 source3/winbindd/idmap_adex/gc_util.c BAIL_ON_PTR_ERROR(gc->search_base, nt_status); gc 219 source3/winbindd/idmap_adex/gc_util.c nt_status = cell_connect_dn(&gc->forest_cell, gc->search_base); gc 223 source3/winbindd/idmap_adex/gc_util.c gc->forest_cell = cell_new(); gc 224 source3/winbindd/idmap_adex/gc_util.c BAIL_ON_PTR_ERROR(gc->forest_cell, nt_status); gc 228 source3/winbindd/idmap_adex/gc_util.c cell_set_dns_domain(gc->forest_cell, gc->forest_name); gc 229 source3/winbindd/idmap_adex/gc_util.c cell_set_dn(gc->forest_cell, gc->search_base); gc 230 source3/winbindd/idmap_adex/gc_util.c cell_set_flags(gc->forest_cell, LWCELL_FLAG_GC_CELL); gc 239 source3/winbindd/idmap_adex/gc_util.c if (strequal(primary_cell->forest_name, gc->forest_name) gc 240 source3/winbindd/idmap_adex/gc_util.c || is_subdomain(primary_cell->dns_domain, gc->forest_name)) gc 242 source3/winbindd/idmap_adex/gc_util.c cell_set_flags(gc->forest_cell, cell_flags(primary_cell)); gc 246 source3/winbindd/idmap_adex/gc_util.c nt_status = cell_connect(gc->forest_cell); gc 249 source3/winbindd/idmap_adex/gc_util.c nt_status = cell_lookup_settings(gc->forest_cell); gc 254 source3/winbindd/idmap_adex/gc_util.c ads = cell_connection(gc->forest_cell); gc 256 source3/winbindd/idmap_adex/gc_util.c cell_set_connection(gc->forest_cell, NULL); gc 259 source3/winbindd/idmap_adex/gc_util.c DLIST_ADD_END(_gc_server_list, gc, struct gc_info*); gc 262 source3/winbindd/idmap_adex/gc_util.c gc->forest_name)); gc 268 source3/winbindd/idmap_adex/gc_util.c talloc_destroy(gc); gc 281 source3/winbindd/idmap_adex/gc_util.c struct gc_info *gc = gc_list_head(); gc 283 source3/winbindd/idmap_adex/gc_util.c while (gc) { gc 284 source3/winbindd/idmap_adex/gc_util.c struct gc_info *p = gc->next; gc 286 source3/winbindd/idmap_adex/gc_util.c cell_destroy(gc->forest_cell); gc 287 source3/winbindd/idmap_adex/gc_util.c talloc_destroy(gc); gc 289 source3/winbindd/idmap_adex/gc_util.c gc = p; gc 388 source3/winbindd/idmap_adex/gc_util.c struct gc_info *gc = gc_list_head(); gc 390 source3/winbindd/idmap_adex/gc_util.c if (!gc) { gc 394 source3/winbindd/idmap_adex/gc_util.c gc = gc_list_head(); gc 403 source3/winbindd/idmap_adex/gc_util.c return gc; gc 413 source3/winbindd/idmap_adex/gc_util.c NTSTATUS gc_search_forest(struct gc_info *gc, gc 422 source3/winbindd/idmap_adex/gc_util.c if (!gc || !msg || !filter) { gc 432 source3/winbindd/idmap_adex/gc_util.c ads_status = cell_do_search(gc->forest_cell, "", gc 459 source3/winbindd/idmap_adex/gc_util.c struct gc_info *gc = NULL; gc 466 source3/winbindd/idmap_adex/gc_util.c if ((gc = gc_search_start()) == NULL) { gc 471 source3/winbindd/idmap_adex/gc_util.c while (gc) { gc 474 source3/winbindd/idmap_adex/gc_util.c nt_status = gc_search_forest(gc, &m, filter); gc 476 source3/winbindd/idmap_adex/gc_util.c gc = gc->next; gc 480 source3/winbindd/idmap_adex/gc_util.c nt_status = add_ads_result_to_array(cell_connection(gc->forest_cell), gc 491 source3/winbindd/idmap_adex/gc_util.c gc = gc->next; gc 206 source3/winbindd/idmap_adex/idmap_adex.h NTSTATUS gc_find_forest_root(struct gc_info *gc, gc 211 source3/winbindd/idmap_adex/idmap_adex.h NTSTATUS gc_search_forest(struct gc_info *gc, gc 382 source3/winbindd/idmap_adex/likewise_cell.c c->conn->server.gc ? "yes" : "no")); gc 462 source3/winbindd/idmap_adex/provider_unified.c struct gc_info *gc = NULL; gc 470 source3/winbindd/idmap_adex/provider_unified.c if ((gc = gc_search_start()) == NULL) { gc 475 source3/winbindd/idmap_adex/provider_unified.c while (gc) { gc 481 source3/winbindd/idmap_adex/provider_unified.c flags |= cell_flags(gc->forest_cell); gc 501 source3/winbindd/idmap_adex/provider_unified.c nt_status = gc_search_forest(gc, &m, filter); gc 503 source3/winbindd/idmap_adex/provider_unified.c gc = gc->next; gc 507 source3/winbindd/idmap_adex/provider_unified.c nt_status = add_ads_result_to_array(cell_connection(gc->forest_cell), gc 512 source3/winbindd/idmap_adex/provider_unified.c gc = gc->next;