Home
last modified time | relevance | path

Searched refs:default_domain (Results 1 – 20 of 20) sorted by relevance

/titanic_44/usr/src/lib/libnsl/rpc/
H A Drpcdname.c50 static char *default_domain = 0; variable
61 if (default_domain) { in get_default_domain()
63 return (default_domain); in get_default_domain()
70 default_domain = strdup(temp); in get_default_domain()
71 if (default_domain == NULL) { in get_default_domain()
78 return (default_domain); in get_default_domain()
/titanic_44/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c155 int len = strlen(_idmapdstate.cfg->pgcfg.default_domain); in directory_provider_ad_get()
156 char default_domain[len + 1]; in directory_provider_ad_get() local
157 (void) strcpy(default_domain, _idmapdstate.cfg->pgcfg.default_domain); in directory_provider_ad_get()
225 vw[1] = default_domain; in directory_provider_ad_get()
H A Dadutils.c111 char *default_domain; member
194 int directory_based_mapping, const char *default_domain, in idmap_lookup_batch_start() argument
216 new_state->default_domain = strdup(default_domain); in idmap_lookup_batch_start()
217 if (new_state->default_domain == NULL) { in idmap_lookup_batch_start()
555 free((*state)->default_domain); in idmap_lookup_release_batch()
722 dname = state->default_domain; in idmap_name2sid_batch_add1()
H A Didmap_config.h81 char *default_domain; /* default domain name */ member
H A Dadutils.h87 int directory_based_mapping, const char *default_domain,
H A Didmap_config.c1526 &pgcfg->default_domain); in idmap_cfg_load_smf()
1536 if (pgcfg->default_domain == NULL && pgcfg->domain_name != NULL) { in idmap_cfg_load_smf()
1537 pgcfg->default_domain = strdup(pgcfg->domain_name); in idmap_cfg_load_smf()
1954 changed += update_string(&live_pgcfg->default_domain, in idmap_cfg_load()
1955 &new_pgcfg.default_domain, "default_domain"); in idmap_cfg_load()
2106 if (pgcfg->default_domain) { in idmap_cfg_unload()
2107 free(pgcfg->default_domain); in idmap_cfg_unload()
2108 pgcfg->default_domain = NULL; in idmap_cfg_unload()
H A Dinit.c363 CHECK_NULL(pgcfg->default_domain)); in print_idmapdstate()
H A Ddbutils.c912 if (_idmapdstate.cfg->pgcfg.default_domain) in add_namerule()
913 dom = _idmapdstate.cfg->pgcfg.default_domain; in add_namerule()
1093 if (_idmapdstate.cfg->pgcfg.default_domain != NULL) { in load_cfg_in_state()
1095 strdup(_idmapdstate.cfg->pgcfg.default_domain); in load_cfg_in_state()
4209 _idmapdstate.cfg->pgcfg.default_domain, in ad_lookup_by_winname()
H A Dserver.c1220 pgcfg->default_domain); in idmap_get_prop_1_svc()
/titanic_44/usr/src/lib/libnsl/yp/
H A Dyp_bind.c97 static char *default_domain; variable
860 if (default_domain) { in __default_domain()
862 return (default_domain); in __default_domain()
869 default_domain = malloc((strlen(temp) + 1)); in __default_domain()
870 if (default_domain == 0) { in __default_domain()
874 (void) strcpy(default_domain, temp); in __default_domain()
876 return (default_domain); in __default_domain()
/titanic_44/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c295 char default_domain[YPMAXDOMAIN]; local
301 if (getdomainname(default_domain, YPMAXDOMAIN)) {
308 err = yp_match(default_domain, mapname,
/titanic_44/usr/src/lib/libc/port/i18n/
H A Dgettext.c60 global_gt->cur_domain = (char *)default_domain; \
68 const char default_domain[] = DEFAULT_DOMAIN; variable
H A Dgettext.h189 extern const char default_domain[];
H A Dgettext_real.c791 if (CURRENT_DOMAIN(gt) != default_domain) { in _textdomain_u()
793 CURRENT_DOMAIN(gt) = (char *)default_domain; in _textdomain_u()
800 if (CURRENT_DOMAIN(gt) != default_domain) in _textdomain_u()
/titanic_44/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c56 char *default_domain; member
325 if (p->default_domain != NULL) in idmap_fini_namemaps()
326 free(p->default_domain); in idmap_fini_namemaps()
366 &p->default_domain); in idmap_init_namemaps()
408 } else if (!EMPTY_STRING(p->default_domain)) { in idmap_init_namemaps()
409 p->windomain = strdup(p->default_domain); in idmap_init_namemaps()
/titanic_44/usr/src/cmd/msgfmt/
H A Dgnu_handle.c339 char *default_domain; in handle_message() local
341 default_domain = strict_flag ? DEFAULT_DOMAIN_MO : in handle_message()
343 catalog_init(default_domain); in handle_message()
H A Dxgettext.c129 static char *default_domain = NULL; variable
274 default_domain = optarg; in main()
968 default_domain = strdup(DEFAULT_DOMAIN); in initialize_globals()
1407 (strcmp(dname, default_domain) == 0)) { in find_domain_node()
1411 if (strcmp(dname, default_domain) == 0) { in find_domain_node()
1415 default_domain, curr_file, curr_linenum); in find_domain_node()
1913 (void) strcpy(dname, default_domain); in write_one_file()
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dctx.c98 static char default_domain[SMBIOC_MAX_NAME]; variable
271 strlcpy(ctx->ct_domain, default_domain, in smb_ctx_init()
1594 strlcpy(default_domain, domain, sizeof (default_domain)); in smbfs_set_default_domain()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c738 mDNSBool default_domain; member
760 mDNSBool default_domain; member
2124 info->default_domain = !domain[0]; in handle_browse_request()
2193 if (!info || !info->default_domain) continue; in udsserver_default_browse_domain_changed()
2291 instance->default_local = (info->default_domain && SameDomainName(domain, &localdomain)); in register_service_instance()
2315 if (!info->default_domain) continue; in udsserver_default_reg_domain_changed()
2431 service->default_domain = mDNSfalse; in handle_regservice_request()
2437 service->default_domain = mDNStrue; in handle_regservice_request()
2508 if (info->default_domain && !instance->default_local) SuppressError = mDNStrue; in regservice_callback()
/titanic_44/usr/src/cmd/sendmail/src/
H A Dmap.c3298 static char default_domain[MAXNAME + 1] = ""; in nisplus_default_domain() local
3301 if (default_domain[0] != '\0') in nisplus_default_domain()
3302 return default_domain; in nisplus_default_domain()
3305 (void) sm_strlcpy(default_domain, p, sizeof(default_domain)); in nisplus_default_domain()
3306 return default_domain; in nisplus_default_domain()