Searched refs:dxi (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_krb5lookup.c | 61 smb_domainex_t dxi; 88 if (!smb_domain_getinfo(&dxi)) { 97 if (0 != strcasecmp(realm, dxi.d_primary.di_fqname)) { 99 "realm=%s, fqdn=%s", realm, dxi.d_primary.di_fqname); 106 if (dxi.d_dci.dc_name[0] == '\0' || 107 dxi.d_dci.dc_addr.a_family == 0) 115 if (family == dxi.d_dci.dc_addr.a_family) 125 switch (dxi.d_dci.dc_addr.a_family) { 131 (void) memcpy(&sin.sin_addr, &dxi.d_dci.dc_addr.a_ipv4, 144 (void) memcpy(&sin6.sin6_addr, &dxi [all...] |
H A D | smbd_doorsvc.c | 694 smb_domainex_t dxi; local 696 if (!smb_domain_getinfo(&dxi)) 699 arg->rbuf = smb_string_encode(dxi.d_dci.dc_name, &arg->rsize);
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_util.c | 53 mlsvc_join_rpc(smb_domainex_t *dxi, 57 mlsvc_join_noauth(smb_domainex_t *dxi, 106 smb_domainex_t dxi; local 107 smb_domain_t *di = &dxi.d_primary; 111 bzero(&dxi, sizeof (dxi)); 158 status = smb_ads_lookup_msdcs(info->domain_name, &dxi.d_dci); 170 (void) strlcpy(res->dc_name, dxi.d_dci.dc_name, MAXHOSTNAMELEN); 171 syslog(LOG_INFO, "smbd: found AD server %s", dxi.d_dci.dc_name); 179 mlsvc_disconnect(dxi 303 mlsvc_join_rpc(smb_domainex_t *dxi, char *admin_user, char *admin_pw, char *machine_name, char *machine_pw) argument 397 mlsvc_join_noauth(smb_domainex_t *dxi, char *machine_name, char *machine_pw) argument [all...] |
H A D | mlsvc_domain.c | 296 smb_domainex_t dxi; local 353 bzero(&dxi, sizeof (dxi)); 354 status = smb_ddiscover_main(sdl->sdl_domain, &dxi); 360 sdl->sdl_dci = dxi.d_dci; 395 * Caller should zero out *dxi before calling, and after a 399 smb_ddiscover_main(char *domain, smb_domainex_t *dxi) argument 413 status = smb_ads_lookup_msdcs(domain, &dxi->d_dci); 420 status = smb_ddiscover_qinfo(domain, dxi->d_dci.dc_name, dxi); 445 smb_ddiscover_qinfo(char *domain, char *server, smb_domainex_t *dxi) argument 474 smb_ddiscover_enum_trusted(char *domain, char *server, smb_domainex_t *dxi) argument 491 smb_ddiscover_use_config(char *domain, smb_domainex_t *dxi) argument 519 smb_domainex_free(smb_domainex_t *dxi) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_domain.c | 294 smb_domain_getinfo(smb_domainex_t *dxi) argument 299 rv = smb_domain_lookup_type(SMB_DOMAIN_PRIMARY, &dxi->d_primary); 301 rv = smb_dcache_getdc(&dxi->d_dci); 345 smb_domain_update(smb_domainex_t *dxi) argument 364 if (smb_dcache_add(&dxi->d_primary) == SMB_DOMAIN_SUCCESS) { 365 for (i = 0; i < dxi->d_trusted.td_num; i++) 366 (void) smb_dcache_add(&dxi->d_trusted.td_domains[i]); 368 smb_dcache_setdc(&dxi->d_dci);
|
Completed in 1261 milliseconds