Home
last modified time | relevance | path

Searched refs:mlsvc_handle_t (Results 1 – 14 of 14) sorted by relevance

/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamlib.h75 DWORD samr_open(char *, char *, char *, DWORD, mlsvc_handle_t *);
76 DWORD samr_connect(char *, char *, char *, DWORD, mlsvc_handle_t *);
77 void samr_close_handle(mlsvc_handle_t *);
78 DWORD samr_open_domain(mlsvc_handle_t *, DWORD, struct samr_sid *,
79 mlsvc_handle_t *);
80 DWORD samr_open_user(mlsvc_handle_t *, DWORD, DWORD, mlsvc_handle_t *);
81 DWORD samr_delete_user(mlsvc_handle_t *);
82 int samr_open_group(mlsvc_handle_t *, DWORD, mlsvc_handle_t *);
83 DWORD samr_create_user(mlsvc_handle_t *, char *, DWORD, DWORD *,
84 mlsvc_handle_t *);
[all …]
H A Dlsalib.h66 DWORD lsar_open(char *, char *, char *, mlsvc_handle_t *);
67 DWORD lsar_open_policy2(char *, char *, char *, mlsvc_handle_t *);
68 int lsar_open_account(mlsvc_handle_t *, struct mslsa_sid *, mlsvc_handle_t *);
69 int lsar_close(mlsvc_handle_t *);
74 int lsar_query_security_desc(mlsvc_handle_t *);
75 DWORD lsar_query_info_policy(mlsvc_handle_t *, WORD, smb_domain_t *);
76 uint32_t lsar_lookup_names(mlsvc_handle_t *, char *, smb_account_t *);
77 uint32_t lsar_lookup_sids(mlsvc_handle_t *, smb_sid_t *, smb_account_t *);
79 DWORD lsar_enum_accounts(mlsvc_handle_t *, DWORD *,
81 DWORD lsar_enum_trusted_domains(mlsvc_handle_t *, DWORD *,
[all …]
H A Dlibmlsvc.h160 } mlsvc_handle_t; typedef
164 uint32_t ndr_rpc_bind(mlsvc_handle_t *, char *, char *, char *, const char *);
165 void ndr_rpc_unbind(mlsvc_handle_t *);
166 int ndr_rpc_call(mlsvc_handle_t *, int, void *);
167 void ndr_rpc_set_nonull(mlsvc_handle_t *);
168 const srvsvc_server_info_t *ndr_rpc_server_info(mlsvc_handle_t *);
169 uint32_t ndr_rpc_server_os(mlsvc_handle_t *);
170 int ndr_rpc_get_ssnkey(mlsvc_handle_t *, unsigned char *, size_t);
171 void *ndr_rpc_malloc(mlsvc_handle_t *, size_t);
172 ndr_heap_t *ndr_rpc_get_heap(mlsvc_handle_t *);
[all …]
H A Dsamr_clnt.c55 static DWORD samr_connect2(char *, char *, char *, DWORD, mlsvc_handle_t *);
56 static DWORD samr_connect4(char *, char *, char *, DWORD, mlsvc_handle_t *);
57 static DWORD samr_connect5(char *, char *, char *, DWORD, mlsvc_handle_t *);
60 mlsvc_handle_t *);
79 mlsvc_handle_t *samr_handle) in samr_open()
118 mlsvc_handle_t *samr_handle) in samr_connect()
159 mlsvc_handle_t *samr_handle) in samr_connect2()
199 mlsvc_handle_t *samr_handle) in samr_connect4()
246 mlsvc_handle_t *samr_handle) in samr_connect5()
293 samr_close_handle(mlsvc_handle_t *samr_handle) in samr_close_handle()
[all …]
H A Dmlsvc_client.c85 ndr_rpc_bind(mlsvc_handle_t *handle, char *server, char *domain, in ndr_rpc_bind()
248 ndr_rpc_unbind(mlsvc_handle_t *handle) in ndr_rpc_unbind()
261 bzero(handle, sizeof (mlsvc_handle_t)); in ndr_rpc_unbind()
274 ndr_rpc_call(mlsvc_handle_t *handle, int opnum, void *params) in ndr_rpc_call()
302 ndr_rpc_set_nonull(mlsvc_handle_t *handle) in ndr_rpc_set_nonull()
311 ndr_rpc_server_info(mlsvc_handle_t *handle) in ndr_rpc_server_info()
320 ndr_rpc_server_os(mlsvc_handle_t *handle) in ndr_rpc_server_os()
337 ndr_rpc_get_ssnkey(mlsvc_handle_t *handle, in ndr_rpc_get_ssnkey()
351 ndr_rpc_malloc(mlsvc_handle_t *handle, size_t size) in ndr_rpc_malloc()
362 ndr_rpc_get_heap(mlsvc_handle_t *handle) in ndr_rpc_get_heap()
[all …]
H A Dlsalib.c47 static uint32_t lsa_list_accounts(mlsvc_handle_t *);
144 mlsvc_handle_t domain_handle; in lsa_query_primary_domain_info()
173 mlsvc_handle_t domain_handle; in lsa_query_account_domain_info()
203 mlsvc_handle_t domain_handle; in lsa_query_dns_domain_info()
233 mlsvc_handle_t domain_handle; in lsa_enum_trusted_domains()
273 mlsvc_handle_t domain_handle; in lsa_enum_trusted_domains_ex()
354 mlsvc_handle_t domain_handle; in lsa_lookup_name_domain()
392 mlsvc_handle_t domain_handle; in lsa_lookup_privs()
425 mlsvc_handle_t domain_handle; in lsa_list_privs()
461 lsa_list_accounts(mlsvc_handle_t *domain_handle) in lsa_list_accounts()
[all …]
H A Dsamlib.c102 mlsvc_handle_t samr_handle; in sam_delete_account()
103 mlsvc_handle_t domain_handle; in sam_delete_account()
104 mlsvc_handle_t user_handle; in sam_delete_account()
166 mlsvc_handle_t samr_handle; in sam_lookup_name()
167 mlsvc_handle_t domain_handle; in sam_lookup_name()
217 mlsvc_handle_t samr_handle; in sam_get_local_domains()
241 mlsvc_handle_t *user_handle, in netr_set_user_control()
260 mlsvc_handle_t *user_handle, in netr_set_user_password()
295 mlsvc_handle_t handle; in netr_change_password()
H A Dlsar_clnt.c59 typedef DWORD (*lsar_nameop_t)(mlsvc_handle_t *, lsa_names_t *,
62 static uint32_t lsar_lookup_names1(mlsvc_handle_t *, lsa_names_t *,
64 static uint32_t lsar_lookup_names2(mlsvc_handle_t *, lsa_names_t *,
66 static uint32_t lsar_lookup_names3(mlsvc_handle_t *, lsa_names_t *,
68 static uint32_t lsar_lookup_sids1(mlsvc_handle_t *, lsa_sid_t *,
70 static uint32_t lsar_lookup_sids2(mlsvc_handle_t *, lsa_sid_t *,
94 mlsvc_handle_t *domain_handle) in lsar_open()
122 mlsvc_handle_t *lsa_handle) in lsar_open_policy2()
180 lsar_open_account(mlsvc_handle_t *lsa_handle, struct mslsa_sid *sid, in lsar_open_account()
181 mlsvc_handle_t *lsa_account_handle) in lsar_open_account()
[all …]
H A Dmlsvc.h60 DWORD netr_open(char *, char *, mlsvc_handle_t *);
61 int netr_close(mlsvc_handle_t *);
62 DWORD netlogon_auth(char *, mlsvc_handle_t *, DWORD);
H A Dnetr_auth.c58 static int netr_server_req_challenge(mlsvc_handle_t *, netr_info_t *);
59 static int netr_server_authenticate2(mlsvc_handle_t *, netr_info_t *);
82 netlogon_auth(char *server, mlsvc_handle_t *netr_handle, DWORD flags) in netlogon_auth()
136 netr_open(char *server, char *domain, mlsvc_handle_t *netr_handle) in netr_open()
154 netr_close(mlsvc_handle_t *netr_handle) in netr_close()
164 netr_server_req_challenge(mlsvc_handle_t *netr_handle, netr_info_t *netr_info) in netr_server_req_challenge()
198 netr_server_authenticate2(mlsvc_handle_t *netr_handle, netr_info_t *netr_info) in netr_server_authenticate2()
489 netr_server_password_set(mlsvc_handle_t *netr_handle, netr_info_t *netr_info) in netr_server_password_set()
H A Dsrvsvc_clnt.c58 srvsvc_open(char *server, char *domain, char *username, mlsvc_handle_t *handle) in srvsvc_open()
83 srvsvc_close(mlsvc_handle_t *handle) in srvsvc_close()
97 mlsvc_handle_t handle; in srvsvc_net_share_get_info()
188 mlsvc_handle_t handle; in srvsvc_net_session_enum()
254 mlsvc_handle_t handle; in srvsvc_net_connect_enum()
358 mlsvc_handle_t handle; in srvsvc_net_server_getinfo()
493 mlsvc_handle_t handle; in srvsvc_net_remote_tod()
H A Dmlsvc_util.c64 mlsvc_handle_t netr_handle; in mlsvc_netlogon()
307 mlsvc_handle_t samr_handle; in mlsvc_join_rpc()
308 mlsvc_handle_t domain_handle; in mlsvc_join_rpc()
309 mlsvc_handle_t user_handle; in mlsvc_join_rpc()
H A Ddssetup_clnt.c43 mlsvc_handle_t handle; in dssetup_get_domain_info()
H A Dnetr_logon.c52 static uint32_t netr_server_samlogon(mlsvc_handle_t *, netr_info_t *, char *,
231 mlsvc_handle_t netr_handle; in netlogon_logon()
375 netr_server_samlogon(mlsvc_handle_t *netr_handle, netr_info_t *netr_info, in netr_server_samlogon()