/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samlib.c | 100 sam_delete_account(char *server, char *domain_name, char *account_name) in sam_delete_account() argument 114 rc = samr_open(server, domain_name, user, SAM_LOOKUP_INFORMATION, in sam_delete_account() 119 sid = samr_lookup_domain(&samr_handle, domain_name); in sam_delete_account() 163 sam_lookup_name(char *server, char *domain_name, char *account_name, in sam_lookup_name() argument 178 rc = samr_open(server, domain_name, user, SAM_LOOKUP_INFORMATION, in sam_lookup_name() 185 domain_name); in sam_lookup_name() 215 sam_get_local_domains(char *server, char *domain_name) in sam_get_local_domains() argument 224 rc = samr_open(server, domain_name, user, SAM_ENUM_LOCAL_DOMAIN, in sam_get_local_domains()
|
H A D | samr_clnt.c | 569 samr_lookup_domain(mlsvc_handle_t *samr_handle, char *domain_name) in samr_lookup_domain() argument 576 if (ndr_is_null_handle(samr_handle) || domain_name == NULL) in samr_lookup_domain() 585 length = smb_wcequiv_strlen(domain_name); in samr_lookup_domain() 588 arg.domain_name.length = length; in samr_lookup_domain() 589 arg.domain_name.allosize = length; in samr_lookup_domain() 590 arg.domain_name.str = (unsigned char *)domain_name; in samr_lookup_domain()
|
/titanic_41/usr/src/cmd/virtinfo/ |
H A D | virtinfo.c | 186 char domain_name[V12N_NAME_MAX]; in main() local 188 rv = v12n_domain_name(domain_name, sizeof (domain_name)); in main() 190 (void) strcpy(domain_name, "Unknown"); in main() 193 gettext("Domain name: "), domain_name); in main()
|
/titanic_41/usr/src/common/smbsrv/ |
H A D | smb_netbios_util.c | 37 static int domainname_is_valid(char *domain_name); 364 domainname_is_valid(char *domain_name) in domainname_is_valid() argument 369 if (domain_name == 0) in domainname_is_valid() 372 for (name = domain_name; *name != 0; ++name) { in domainname_is_valid()
|
/titanic_41/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_join.c | 235 smb_config_setdomaininfo(info->domain_name, "", "", "", ""); in smbd_join_workgroup() 237 if (strcasecmp(nb_domain, info->domain_name)) in smbd_join_workgroup() 268 if (!smb_locate_dc(info->domain_name, "", &dxi)) { in smbd_join_domain() 271 info->domain_name); in smbd_join_domain() 280 info->domain_name, xlate_nt_status(status)); in smbd_join_domain()
|
/titanic_41/usr/src/uts/sun4v/io/ |
H A D | ds_drv.c | 801 if (newport->domain_name == NULL && dom_name != NULL) { in ds_add_port() 802 newport->domain_name = ds_strdup(dom_name); in ds_add_port() 812 newport->domain_name = ds_strdup(dom_name); in ds_add_port() 814 newport->domain_name = NULL; in ds_add_port() 843 if (port->domain_name) { in ds_remove_port() 844 DS_FREE(port->domain_name, strlen(port->domain_name) + 1); in ds_remove_port() 845 port->domain_name = NULL; in ds_remove_port() 924 ds_dom_name_to_hdl(char *domain_name, ds_domain_hdl_t *dhdlp) in ds_dom_name_to_hdl() argument 929 if (domain_name == NULL) { in ds_dom_name_to_hdl() 933 strcmp(ds_my_domain_name, domain_name) == 0) { in ds_dom_name_to_hdl() [all …]
|
H A D | vcc.c | 85 uint_t portno, char *domain_name); 721 vport->number, vport->ldc_id, vport->minorp->domain_name); in i_vcc_config_port() 729 uint_t portno, char *domain_name) in i_vcc_add_port() argument 754 if (domain_name == NULL) { in i_vcc_add_port() 766 if (strcmp(vccp->minor_tbl[minor_idx].domain_name, in i_vcc_add_port() 767 domain_name) == 0) { in i_vcc_add_port() 782 (void) strlcpy(vccp->minor_tbl[minor_idx].domain_name, in i_vcc_add_port() 783 domain_name, MAXPATHLEN); in i_vcc_add_port() 795 vport->number, vport->minorp->domain_name, in i_vcc_add_port() 808 domain_name); in i_vcc_add_port() [all …]
|
H A D | vlds.c | 929 char *domain_name; in vlds_ioctl() local 941 &domain_name, mode)) != 0) { in vlds_ioctl() 952 domain_name); in vlds_ioctl() 954 if ((rv = ds_dom_name_to_hdl(domain_name, &dhdl)) != 0) { in vlds_ioctl() 956 "failed: (%d)", __func__, domain_name, rv); in vlds_ioctl() 957 DS_FREE(domain_name, strlen(domain_name) + 1); in vlds_ioctl() 964 DS_FREE(domain_name, strlen(domain_name) + 1); in vlds_ioctl() 971 "dhdl: 0x%lx", __func__, domain_name, dhdl); in vlds_ioctl() 972 DS_FREE(domain_name, strlen(domain_name) + 1); in vlds_ioctl() 980 char *domain_name; in vlds_ioctl() local [all …]
|
/titanic_41/usr/src/lib/nsswitch/ad/common/ |
H A D | ad_common.c | 46 if (props->domain_name != NULL) { in nssad_cfg_free_props() 47 free(props->domain_name); in nssad_cfg_free_props() 48 props->domain_name = NULL; in nssad_cfg_free_props() 79 if (adutils_ad_alloc(&new, props->domain_name, in nssad_cfg_reload_ad() 126 if (nssad_cfg_discover_props(cp->props.domain_name, cp->ad_ctx, in nssad_cfg_refresh() 163 if ((cp->props.domain_name = strdup(domain)) == NULL) in nssad_cfg_create() 297 if (cp->props.domain_name == NULL || in get_cfg() 298 strcasecmp(cp->props.domain_name, domain) != 0) in get_cfg()
|
/titanic_41/usr/src/cmd/smbsrv/smbadm/ |
H A D | smbadm.c | 530 (void) strlcpy(jdi.domain_name, workgroup, sizeof (jdi.domain_name)); in smbadm_join_workgroup() 531 (void) strtrim(jdi.domain_name, " \t\n"); in smbadm_join_workgroup() 533 if (smb_name_validate_workgroup(jdi.domain_name) != ERROR_SUCCESS) { in smbadm_join_workgroup() 538 if (!smbadm_join_prompt(jdi.domain_name)) in smbadm_join_workgroup() 543 jdi.domain_name, xlate_nt_status(status)); in smbadm_join_workgroup() 547 (void) printf(gettext("Successfully joined %s\n"), jdi.domain_name); in smbadm_join_workgroup() 572 (void) strlcpy(jdi.domain_name, domain, sizeof (jdi.domain_name)); in smbadm_join_domain() 573 (void) strtrim(jdi.domain_name, " \t\n"); in smbadm_join_domain() 575 if (smb_name_validate_domain(jdi.domain_name) != ERROR_SUCCESS) { in smbadm_join_domain() 580 if (!smbadm_join_prompt(jdi.domain_name)) in smbadm_join_domain() [all …]
|
/titanic_41/usr/src/lib/libadutils/common/ |
H A D | addisc.c | 158 ad_item_t domain_name; /* DNS hostname string */ member 1164 ctx->domain_name.type = AD_STRING; in ad_disc_init() 1189 if (ctx->domain_name.value != NULL) in ad_disc_fini() 1190 free(ctx->domain_name.value); in ad_disc_fini() 1228 if (ctx->domain_name.state == AD_STATE_AUTO) in ad_disc_refresh() 1229 ctx->domain_name.state = AD_STATE_INVALID; in ad_disc_refresh() 1283 if (is_valid(&ctx->domain_name)) in validate_DomainName() 1284 return (&ctx->domain_name); in validate_DomainName() 1293 ctx->domain_name.value, &srvname, &ttl); in validate_DomainName() 1327 update_item(&ctx->domain_name, dname, AD_STATE_AUTO, ttl); in validate_DomainName() [all …]
|
H A D | libadutils.h | 148 const char *domain_name, 154 const char *domain_name,
|
/titanic_41/usr/src/cmd/idmap/idmapd/ |
H A D | init.c | 124 pgcfg->domain_name == NULL) { in reload_gcs() 257 pgcfg->domain_name == NULL) { in reload_dcs() 285 if (adutils_ad_alloc(&new_dcs[0], pgcfg->domain_name, in reload_dcs() 305 if (domain_eq(pgcfg->domain_name, dif->domain)) { in reload_dcs() 364 idmapdlog(LOG_DEBUG, "domain_name=%s", CHECK_NULL(pgcfg->domain_name)); in print_idmapdstate()
|
H A D | idmap_config.c | 1511 &pgcfg->domain_name); in idmap_cfg_load_smf() 1515 if (pgcfg->domain_name != NULL && in idmap_cfg_load_smf() 1516 pgcfg->domain_name[0] == '\0') { in idmap_cfg_load_smf() 1517 free(pgcfg->domain_name); in idmap_cfg_load_smf() 1518 pgcfg->domain_name = NULL; in idmap_cfg_load_smf() 1521 pgcfg->domain_name); 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() 1816 if (pgcfg->domain_name == NULL) { in idmap_cfg_discover() 1846 log_if_unable(pgcfg->domain_name, "Domain Name"); in idmap_cfg_discover() [all …]
|
/titanic_41/usr/src/lib/libds/common/ |
H A D | libds.h | 85 extern int ds_dom_name_to_hdl(char *domain_name, ds_domain_hdl_t *dhdlp); 86 extern int ds_dom_hdl_to_name(ds_domain_hdl_t dhdl, char *domain_name,
|
H A D | libds.c | 641 ds_dom_name_to_hdl(char *domain_name, ds_domain_hdl_t *dhdlp) in ds_dom_name_to_hdl() argument 650 ds_string_arg(&vlds_arg.vlds_domain_name, domain_name); in ds_dom_name_to_hdl() 668 ds_dom_hdl_to_name(ds_domain_hdl_t dhdl, char *domain_name, uint_t maxnamlen) in ds_dom_hdl_to_name() argument 677 vlds_arg.vlds_domain_name.vlds_strp = PTRTOUINT64(domain_name); in ds_dom_hdl_to_name()
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypserv_proc.c | 126 char domain_name[YPMAXDOMAIN + 1]; in ypdomain() local 127 char *pdomain_name = domain_name; in ypdomain() 133 memset(domain_name, 0, sizeof (domain_name)); in ypdomain() 158 isserved = ypcheck_domain(domain_name); in ypdomain() 167 domain_name); in ypdomain() 186 domain_name); in ypdomain() 684 char domain_name[YPMAXDOMAIN + 1]; in ypmaplist() local 685 char *pdomain = domain_name; in ypmaplist() 692 memset(domain_name, 0, sizeof (domain_name)); in ypmaplist() 701 maplist.status = yplist_maps(domain_name, &maplist.list); in ypmaplist()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | hostconfig.c | 340 fprintf(stdout, "\t\typdomain = %s\n", res->domain_name); 367 len = strlen(res->domain_name); 369 if (setdomainname(res->domain_name, len) == -1) { 371 "setdomainname(%s)", res->domain_name);
|
/titanic_41/usr/src/stand/lib/fs/nfs/ |
H A D | bootparams.c | 115 bp.domain_name = &bp_domainname[0]; in whoami() 176 namelen = strlen(bp.domain_name); in whoami() 184 printf("domainname: %s\n", bp.domain_name); in whoami()
|
/titanic_41/usr/src/cmd/vntsd/ |
H A D | console.c | 70 consp->cons_no, consp->domain_name, status, vntsd_eol); in display_domain_name() 78 char *domain_name) in write_connect_msg() argument 91 domain_name, group_name); in write_connect_msg() 227 return (strcmp(consp->domain_name, name) == 0); in cons_by_name() 437 consp->domain_name)) != VNTSD_SUCCESS) { in connect_cons()
|
H A D | vntsd.h | 286 char domain_name[MAXPATHLEN]; /* domain name */ member 423 int vntsd_open_vcc(char *domain_name, uint_t cons_no);
|
/titanic_41/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_user.c | 185 char *domain_name, in smb_user_login() argument 197 ASSERT(domain_name); in smb_user_login() 207 user->u_domain_len = strlen(domain_name) + 1; in smb_user_login() 209 user->u_domain = smb_mem_strdup(domain_name); in smb_user_login()
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | vcc.h | 96 char domain_name[MAXPATHLEN]; /* domain name */ member
|
/titanic_41/usr/src/head/rpcsvc/ |
H A D | bootparam_prot.x | 71 bp_machine_name_t domain_name; member
|
/titanic_41/usr/src/cmd/msgfmt/ |
H A D | msgfmt.c | 762 find_domain_node(char *domain_name) in find_domain_node() argument 772 b = strcmp(domain_name, last_used_domain->domain); in find_domain_node() 786 b = strcmp(domain_name, p1->domain); in find_domain_node() 800 node->domain = Xstrdup(domain_name); in find_domain_node() 822 node->domain = Xstrdup(domain_name); in find_domain_node()
|