/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | lsalib.c | 181 mlsvc_handle_t domain_handle; in lsa_query_primary_domain_info() local 187 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_primary_domain_info() 191 status = lsar_query_info_policy(&domain_handle, in lsa_query_primary_domain_info() 194 (void) lsar_close(&domain_handle); in lsa_query_primary_domain_info() 210 mlsvc_handle_t domain_handle; in lsa_query_account_domain_info() local 216 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_account_domain_info() 220 status = lsar_query_info_policy(&domain_handle, in lsa_query_account_domain_info() 223 (void) lsar_close(&domain_handle); in lsa_query_account_domain_info() 240 mlsvc_handle_t domain_handle; in lsa_query_dns_domain_info() local 246 status = lsar_open(server, domain, user, &domain_handle); in lsa_query_dns_domain_info() [all …]
|
H A D | samr_clnt.c | 323 struct samr_sid *sid, mlsvc_handle_t *domain_handle) in samr_open_domain() argument 330 sid == NULL || domain_handle == NULL) { in samr_open_domain() 347 ndr_inherit_handle(domain_handle, samr_handle); in samr_open_domain() 349 (void) memcpy(&domain_handle->handle, &arg.domain_handle, in samr_open_domain() 352 if (ndr_is_null_handle(domain_handle)) in samr_open_domain() 373 samr_open_user(mlsvc_handle_t *domain_handle, DWORD access_mask, DWORD rid, in samr_open_user() argument 380 if (ndr_is_null_handle(domain_handle) || user_handle == NULL) in samr_open_user() 385 (void) memcpy(&arg.handle, &domain_handle->handle, in samr_open_user() 390 if (ndr_rpc_call(domain_handle, opnum, &arg) != 0) { in samr_open_user() 393 ndr_rpc_status(domain_handle, opnum, arg.status); in samr_open_user() [all …]
|
H A D | samlib.c | 103 mlsvc_handle_t domain_handle; in sam_delete_account() local 126 (struct samr_sid *)sid, &domain_handle); in sam_delete_account() 130 status = samr_lookup_domain_names(&domain_handle, account_name, &ainfo); in sam_delete_account() 135 status = samr_open_user(&domain_handle, access_mask, in sam_delete_account() 144 (void) samr_close_handle(&domain_handle); in sam_delete_account() 167 mlsvc_handle_t domain_handle; in sam_lookup_name() local 192 domain_sid, &domain_handle); in sam_lookup_name() 194 status = samr_lookup_domain_names(&domain_handle, in sam_lookup_name() 199 (void) samr_close_handle(&domain_handle); in sam_lookup_name()
|
H A D | mlsvc_util.c | 329 mlsvc_handle_t domain_handle; in mlsvc_join_rpc() local 351 (struct samr_sid *)di->di_binsid, &domain_handle); in mlsvc_join_rpc() 357 status = samr_create_user(&domain_handle, machine_name, in mlsvc_join_rpc() 360 status = samr_lookup_domain_names(&domain_handle, in mlsvc_join_rpc() 364 status = samr_open_user(&domain_handle, MAXIMUM_ALLOWED, in mlsvc_join_rpc() 399 (void) samr_close_handle(&domain_handle); in mlsvc_join_rpc()
|
H A D | samr_svc.c | 454 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 460 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 467 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 474 bcopy(id, ¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 477 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 499 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_QueryDomainInfo() 1265 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_QueryDispInfo() 1399 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_EnumDomainGroups() 1455 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_OpenAlias() 1802 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_EnumDomainAliases()
|
H A D | lsar_clnt.c | 94 mlsvc_handle_t *domain_handle) in lsar_open() argument 104 status = lsar_open_policy2(server, domain, username, domain_handle); in lsar_open() 153 (void) memcpy(&lsa_handle->handle, &arg.domain_handle, in lsar_open_policy2()
|
H A D | lsar_svc.c | 168 bcopy(id, ¶m->domain_handle, sizeof (mslsa_handle_t)); in lsarpc_s_OpenDomainHandle() 171 bzero(¶m->domain_handle, sizeof (mslsa_handle_t)); in lsarpc_s_OpenDomainHandle()
|
/illumos-gate/usr/src/uts/common/smbsrv/ndl/ |
H A D | samrpc.ndl | 584 OUT samr_handle_t domain_handle; 648 IN samr_handle_t domain_handle; 659 IN samr_handle_t domain_handle; 712 IN samr_handle_t domain_handle; 736 IN samr_handle_t domain_handle; 757 IN samr_handle_t domain_handle; 786 IN samr_handle_t domain_handle; 811 IN samr_handle_t domain_handle;
|
H A D | lsarpc.ndl | 279 OUT mslsa_handle_t domain_handle; 288 OUT mslsa_handle_t domain_handle;
|