Home
last modified time | relevance | path

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

/titanic_50/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_50/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c157 int len = strlen(_idmapdstate.cfg->pgcfg.default_domain); in directory_provider_ad_get()
158 char default_domain[len + 1]; in directory_provider_ad_get() local
159 (void) strcpy(default_domain, _idmapdstate.cfg->pgcfg.default_domain); in directory_provider_ad_get()
227 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 Dadutils.h87 int directory_based_mapping, const char *default_domain,
H A Didmap_config.h83 char *default_domain; /* default domain name */ member
H A Didmap_config.c1641 &pgcfg->default_domain); in idmap_cfg_load_smf()
1651 if (pgcfg->default_domain == NULL && pgcfg->domain_name != NULL) { in idmap_cfg_load_smf()
1652 pgcfg->default_domain = strdup(pgcfg->domain_name); in idmap_cfg_load_smf()
2239 changed += update_string(&live_pgcfg->default_domain, in idmap_cfg_load()
2240 &new_pgcfg.default_domain, "default_domain"); in idmap_cfg_load()
2429 if (pgcfg->default_domain) { in idmap_cfg_unload()
2430 free(pgcfg->default_domain); in idmap_cfg_unload()
2431 pgcfg->default_domain = NULL; in idmap_cfg_unload()
H A Dinit.c361 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_50/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_50/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_50/usr/src/lib/libc/port/i18n/
H A Dgettext.c61 global_gt->cur_domain = (char *)default_domain; \
69 const char default_domain[] = DEFAULT_DOMAIN; variable
H A Dgettext.h187 extern const char default_domain[];
H A Dgettext_real.c795 if (CURRENT_DOMAIN(gt) != default_domain) { in _textdomain_u()
797 CURRENT_DOMAIN(gt) = (char *)default_domain; in _textdomain_u()
804 if (CURRENT_DOMAIN(gt) != default_domain) in _textdomain_u()
/titanic_50/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c57 char *default_domain; member
326 if (p->default_domain != NULL) in idmap_fini_namemaps()
327 free(p->default_domain); in idmap_fini_namemaps()
367 &p->default_domain); in idmap_init_namemaps()
409 } else if (!EMPTY_STRING(p->default_domain)) { in idmap_init_namemaps()
410 p->windomain = strdup(p->default_domain); in idmap_init_namemaps()
/titanic_50/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_50/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_50/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c181 mDNSBool default_domain; member
196 mDNSBool default_domain; member
962 instance->request->u.servicereg.default_domain && in regservice_callback()
1791 if (request->u.servicereg.default_domain && !DomainIsLocal) interfaceID = mDNSInterface_Any; in register_service_instance()
1810 … instance->default_local = (request->u.servicereg.default_domain && DomainIsLocal); in register_service_instance()
1871 if (!request->u.servicereg.default_domain) continue; in udsserver_default_reg_domain_changed()
2105 request->u.servicereg.default_domain = mDNSfalse; in handle_regservice_request()
2111 request->u.servicereg.default_domain = mDNStrue; in handle_regservice_request()
2263 if (info->u.browser.default_domain) in browse_termination_callback()
2303 …if (!request->u.browser.default_domain) continue; // Not an auto-browse operation in udsserver_automatic_browse_domain_changed()
[all …]
/titanic_50/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()