Print this page
NEX-19057 All zfs/nfs/smb threads in door calls to idle idmap
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
NEX-2667 Wrong error when join domain with wrong password
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/lib/smbsrv/libmlsvc/common/lsalib.h
+++ new/usr/src/lib/smbsrv/libmlsvc/common/lsalib.h
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
13 13 * When distributing Covered Code, include this CDDL HEADER in each
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21 /*
22 22 * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 * Use is subject to license terms.
24 24 *
25 25 * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
26 26 */
27 27
28 28 #ifndef _LSALIB_H
29 29 #define _LSALIB_H
30 30
31 31 /*
32 32 * Prototypes for the LSA library and RPC client side library interface.
33 33 * There are two levels of interface defined here: lsa_xxx and lsar_xxx.
34 34 * The lsa_xxx functions provide a high level interface which make
35 35 * multiple RPC calls and do all the work necessary to obtain and return
36 36 * the requested information. The lsar_xxx functions provide a low level
37 37 * interface in which each function maps to a single underlying RPC.
38 38 */
39 39
40 40 #include <smbsrv/ndl/lsarpc.ndl>
41 41 #include <smbsrv/libsmb.h>
42 42 #include <smbsrv/libmlsvc.h>
43 43 #include <smbsrv/smb_sid.h>
44 44
|
↓ open down ↓ |
44 lines elided |
↑ open up ↑ |
45 45
46 46 #ifdef __cplusplus
47 47 extern "C" {
48 48 #endif
49 49
50 50 typedef struct mslsa_sid lsa_sid_t;
51 51
52 52 /*
53 53 * lsalib.c
54 54 */
55 -uint32_t lsa_lookup_name(char *, uint16_t, smb_account_t *);
56 -uint32_t lsa_lookup_sid(smb_sid_t *, smb_account_t *);
57 55 DWORD lsa_query_primary_domain_info(char *, char *, smb_domain_t *);
58 56 DWORD lsa_query_account_domain_info(char *, char *, smb_domain_t *);
59 57 DWORD lsa_query_dns_domain_info(char *, char *, smb_domain_t *);
60 58 DWORD lsa_enum_trusted_domains(char *, char *, smb_trusted_domains_t *);
61 59 DWORD lsa_enum_trusted_domains_ex(char *, char *, smb_trusted_domains_t *);
62 60
63 61 /*
64 62 * lsar_open.c
65 63 */
66 64 DWORD lsar_open(char *, char *, char *, mlsvc_handle_t *);
67 65 DWORD lsar_open_policy2(char *, char *, char *, mlsvc_handle_t *);
68 66 int lsar_open_account(mlsvc_handle_t *, struct mslsa_sid *, mlsvc_handle_t *);
69 67 int lsar_close(mlsvc_handle_t *);
70 68
71 69 /*
72 70 * lsar_lookup.c
73 71 */
74 72 int lsar_query_security_desc(mlsvc_handle_t *);
75 73 DWORD lsar_query_info_policy(mlsvc_handle_t *, WORD, smb_domain_t *);
76 74 uint32_t lsar_lookup_names(mlsvc_handle_t *, char *, smb_account_t *);
77 75 uint32_t lsar_lookup_sids(mlsvc_handle_t *, smb_sid_t *, smb_account_t *);
78 76
79 77 DWORD lsar_enum_accounts(mlsvc_handle_t *, DWORD *,
80 78 struct mslsa_EnumAccountBuf *);
81 79 DWORD lsar_enum_trusted_domains(mlsvc_handle_t *, DWORD *,
82 80 smb_trusted_domains_t *);
83 81 DWORD lsar_enum_trusted_domains_ex(mlsvc_handle_t *, DWORD *,
84 82 smb_trusted_domains_t *);
85 83 int lsar_enum_privs_account(mlsvc_handle_t *, smb_account_t *);
86 84 int lsar_lookup_priv_value(mlsvc_handle_t *, char *, struct ms_luid *);
87 85 int lsar_lookup_priv_name(mlsvc_handle_t *, struct ms_luid *, char *, int);
88 86 DWORD lsar_lookup_priv_display_name(mlsvc_handle_t *, char *, char *, int);
89 87
90 88 #ifdef __cplusplus
91 89 }
92 90 #endif
93 91
94 92 #endif /* _LSALIB_H */
|
↓ open down ↓ |
28 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX