/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | lsalib.c | 142 mlsvc_handle_t domain_handle; in lsa_query_primary_domain_info() local 148 if ((lsar_open(server, domain, user, &domain_handle)) != 0) in lsa_query_primary_domain_info() 151 status = lsar_query_info_policy(&domain_handle, in lsa_query_primary_domain_info() 154 (void) lsar_close(&domain_handle); in lsa_query_primary_domain_info() 170 mlsvc_handle_t domain_handle; in lsa_query_account_domain_info() local 176 if ((lsar_open(server, domain, user, &domain_handle)) != 0) in lsa_query_account_domain_info() 179 status = lsar_query_info_policy(&domain_handle, in lsa_query_account_domain_info() 182 (void) lsar_close(&domain_handle); in lsa_query_account_domain_info() 199 mlsvc_handle_t domain_handle; in lsa_query_dns_domain_info() local 205 if ((lsar_open(server, domain, user, &domain_handle)) != 0) 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 | 227 mlsvc_handle_t domain_handle; in mlsvc_join_rpc() local 249 (struct samr_sid *)di->di_binsid, &domain_handle); in mlsvc_join_rpc() 255 status = samr_create_user(&domain_handle, machine_name, in mlsvc_join_rpc() 258 status = samr_lookup_domain_names(&domain_handle, in mlsvc_join_rpc() 262 status = samr_open_user(&domain_handle, MAXIMUM_ALLOWED, in mlsvc_join_rpc() 297 (void) samr_close_handle(&domain_handle); in mlsvc_join_rpc()
|
H A D | samr_svc.c | 392 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 398 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 405 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 412 bcopy(id, ¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 415 bzero(¶m->domain_handle, sizeof (samr_handle_t)); in samr_s_OpenDomain() 437 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_QueryDomainInfo() 1203 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_QueryDispInfo() 1337 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_EnumDomainGroups() 1393 ndr_hdid_t *id = (ndr_hdid_t *)¶m->domain_handle; in samr_s_OpenAlias() 1736 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 102 return (lsar_open_policy2(server, domain, username, domain_handle)); in lsar_open() 151 (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()
|
/titanic_41/usr/src/uts/common/smbsrv/ndl/ |
H A D | samrpc.ndl | 557 OUT samr_handle_t domain_handle; 621 IN samr_handle_t domain_handle; 632 IN samr_handle_t domain_handle; 679 IN samr_handle_t domain_handle; 703 IN samr_handle_t domain_handle; 724 IN samr_handle_t domain_handle; 753 IN samr_handle_t domain_handle; 778 IN samr_handle_t domain_handle;
|
H A D | lsarpc.ndl | 278 OUT mslsa_handle_t domain_handle; 287 OUT mslsa_handle_t domain_handle;
|