Home
last modified time | relevance | path

Searched refs:samr_handle (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamr_clnt.c79 mlsvc_handle_t *samr_handle) in samr_open() argument
95 samr_handle); in samr_open()
118 mlsvc_handle_t *samr_handle) in samr_connect() argument
130 status = ndr_rpc_bind(samr_handle, server, domain, username, "SAMR"); in samr_connect()
136 access_mask, samr_handle); in samr_connect()
142 ndr_rpc_unbind(samr_handle); in samr_connect()
159 mlsvc_handle_t *samr_handle) in samr_connect2() argument
171 arg.servername = ndr_rpc_malloc(samr_handle, len); in samr_connect2()
175 if (ndr_rpc_call(samr_handle, opnum, &arg) != 0) { in samr_connect2()
180 (void) memcpy(&samr_handle->handle, &arg.handle, in samr_connect2()
[all …]
H A Dsamlib.c102 mlsvc_handle_t samr_handle; in sam_delete_account() local
115 &samr_handle); in sam_delete_account()
119 sid = samr_lookup_domain(&samr_handle, domain_name); in sam_delete_account()
125 status = samr_open_domain(&samr_handle, SAM_LOOKUP_INFORMATION, in sam_delete_account()
148 (void) samr_close_handle(&samr_handle); in sam_delete_account()
166 mlsvc_handle_t samr_handle; in sam_lookup_name() local
179 &samr_handle); in sam_lookup_name()
184 domain_sid = (struct samr_sid *)samr_lookup_domain(&samr_handle, in sam_lookup_name()
187 (void) samr_close_handle(&samr_handle); in sam_lookup_name()
191 status = samr_open_domain(&samr_handle, SAM_LOOKUP_INFORMATION, in sam_lookup_name()
[all …]
H A Dmlsvc_util.c226 mlsvc_handle_t samr_handle; in mlsvc_join_rpc() local
241 MAXIMUM_ALLOWED, &samr_handle); in mlsvc_join_rpc()
248 status = samr_open_domain(&samr_handle, MAXIMUM_ALLOWED, in mlsvc_join_rpc()
299 (void) samr_close_handle(&samr_handle); in mlsvc_join_rpc()
/titanic_41/usr/src/uts/common/smbsrv/ndl/
H A Dsamrpc.ndl270 CONTEXT_HANDLE(samr_handle) samr_handle_t;