Print this page
NEX-18708 Domain logons may get STATUS_ACCESS_DENIED
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
1575 untangle libmlrpc from SMB server
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
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>
NEX-2225 Unable to join NexentaStor to 2008 AD
re #12435 rb3958 r10 is added 2 times to panic info
re #12393 rb3935 Kerberos and smbd disagree about who is our AD server
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/lib/smbsrv/libmlsvc/common/mlsvc.h
+++ new/usr/src/lib/smbsrv/libmlsvc/common/mlsvc.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 *
|
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
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 (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
23 - * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
23 + * Copyright 2018 Nexenta Systems, Inc. All rights reserved.
24 24 */
25 25
26 26 #ifndef _SMBSRV_MLSVC_H
27 27 #define _SMBSRV_MLSVC_H
28 28
29 29 #include <smbsrv/smb_share.h>
30 30 #include <smbsrv/ndl/netlogon.ndl>
31 31
32 32 #ifdef __cplusplus
33 33 extern "C" {
34 34 #endif
35 35
36 36 struct netr_info;
37 37
38 38 int smb_dclocator_init(void);
|
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
39 39 void smbrdr_initialize(void);
40 40 void dssetup_initialize(void);
41 41 void srvsvc_initialize(void);
42 42 void wkssvc_initialize(void);
43 43 void lsarpc_initialize(void);
44 44 void logr_initialize(void);
45 45 void netr_initialize(void);
46 46 void samr_initialize(void);
47 47 void svcctl_initialize(void);
48 48 void winreg_initialize(void);
49 -int srvsvc_gettime(unsigned long *);
50 49 void msgsvcsend_initialize(void);
51 50 void spoolss_initialize(void);
52 51 void netdfs_initialize(void);
53 52
54 53 void logr_finalize(void);
55 54 void svcctl_finalize(void);
56 55 void spoolss_finalize(void);
57 56 void netdfs_finalize(void);
58 57
59 58 /* netr_auth.c */
60 59 DWORD netr_open(char *, char *, mlsvc_handle_t *);
61 60 int netr_close(mlsvc_handle_t *);
62 61 DWORD netlogon_auth(char *, mlsvc_handle_t *, DWORD);
63 62 int netr_setup_authenticator(struct netr_info *, struct netr_authenticator *,
64 63 struct netr_authenticator *);
65 64 DWORD netr_validate_chain(struct netr_info *, struct netr_authenticator *);
66 65
67 -void ndr_srvsvc_timecheck(char *, char *);
66 +uint32_t smb_netlogon_check(char *, char *);
68 67
68 +int srvsvc_gettime(unsigned long *);
69 +void srvsvc_timecheck(char *, char *);
70 +
69 71 /* Generic functions to get/set windows Security Descriptors */
70 72 uint32_t srvsvc_sd_get(smb_share_t *, uint8_t *, uint32_t *);
71 73 uint32_t srvsvc_sd_set(smb_share_t *, uint8_t *);
72 74
73 75 uint32_t smb_logon_init(void);
74 76 void smb_logon_fini(void);
75 77
76 78 /* Locking for process-wide settings (i.e. privileges) */
77 79 void smb_proc_initsem(void); /* init (or re-init in child) */
78 80 int smb_proc_takesem(void); /* parent before */
79 81 void smb_proc_givesem(void); /* parent after */
80 82
81 83 /* Quota */
82 84 void smb_quota_init(void);
83 85 void smb_quota_fini(void);
84 86 void smb_quota_add_fs(const char *);
85 87 void smb_quota_remove_fs(const char *);
86 88
87 89 uint32_t smb_ddiscover_main(char *, smb_domainex_t *);
88 90
89 91 #ifdef __cplusplus
90 92 }
91 93 #endif
92 94 #endif /* _SMBSRV_MLSVC_H */
|
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX