H A D | lsar_clnt.c | 155 mlsvc_handle_t *lsa_handle) 161 rc = ndr_rpc_bind(lsa_handle, server, domain, username, "LSARPC"); 168 arg.servername = ndr_rpc_derive_nbhandle(lsa_handle, server); 170 ndr_rpc_unbind(lsa_handle); 176 if (ndr_rpc_server_os(lsa_handle) == NATIVE_OS_WIN2000) { 185 if ((rc = ndr_rpc_call(lsa_handle, opnum, &arg)) != 0) { 186 ndr_rpc_unbind(lsa_handle); 193 (void) memcpy(&lsa_handle->handle, &arg.domain_handle, 196 if (ndr_is_null_handle(lsa_handle)) 200 ndr_rpc_release(lsa_handle); 154 lsar_open(char *server, char *domain, char *username, mlsvc_handle_t *lsa_handle) argument 219 lsar_open_account(mlsvc_handle_t *lsa_handle, struct mslsa_sid *sid, mlsvc_handle_t *lsa_account_handle) argument 273 lsar_close(mlsvc_handle_t *lsa_handle) argument 301 lsar_query_security_desc(mlsvc_handle_t *lsa_handle) argument 334 lsar_query_info_policy(mlsvc_handle_t *lsa_handle, WORD infoClass, smb_domain_t *info) argument 417 lsar_lookup_names(mlsvc_handle_t *lsa_handle, void *key, smb_account_t *info) argument 526 lsar_lookup_names1(mlsvc_handle_t *lsa_handle, lsa_names_t *names, smb_account_t *info) argument 580 lsar_lookup_names2(mlsvc_handle_t *lsa_handle, lsa_names_t *names, smb_account_t *info) argument 635 lsar_lookup_names3(mlsvc_handle_t *lsa_handle, lsa_names_t *names, smb_account_t *info) argument 697 lsar_lookup_names4(mlsvc_handle_t *lsa_handle, lsa_names_t *names, smb_account_t *info) argument 755 lsar_lookup_sids(mlsvc_handle_t *lsa_handle, void *key, smb_account_t *account) argument 792 lsar_lookup_sids1(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument 852 lsar_lookup_sids2(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument 920 lsar_lookup_sids3(mlsvc_handle_t *lsa_handle, lsa_sid_t *sid, smb_account_t *account) argument 993 lsar_enum_accounts(mlsvc_handle_t *lsa_handle, DWORD *enum_context, struct mslsa_EnumAccountBuf *accounts) argument 1065 lsar_enum_trusted_domains(mlsvc_handle_t *lsa_handle, DWORD *enum_context, smb_trusted_domains_t *list) argument 1109 lsar_enum_trusted_domains_ex(mlsvc_handle_t *lsa_handle, DWORD *enum_context, smb_trusted_domains_t *list) argument 1190 lsar_lookup_priv_value(mlsvc_handle_t *lsa_handle, char *name, struct ms_luid *luid) argument 1235 lsar_lookup_priv_name(mlsvc_handle_t *lsa_handle, struct ms_luid *luid, char *name, int namelen) argument 1278 lsar_lookup_priv_display_name(mlsvc_handle_t *lsa_handle, char *name, char *display_name, int display_len) argument [all...] |