1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 /* 22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 26 #ifndef _SMBSRV_MLSVC_H 27 #define _SMBSRV_MLSVC_H 28 29 #include <smbsrv/ndl/netlogon.ndl> 30 31 #ifdef __cplusplus 32 extern "C" { 33 #endif 34 35 int smb_dclocator_init(void); 36 void dssetup_initialize(void); 37 void srvsvc_initialize(void); 38 void wkssvc_initialize(void); 39 void lsarpc_initialize(void); 40 void logr_initialize(void); 41 void netr_initialize(void); 42 void samr_initialize(void); 43 void svcctl_initialize(void); 44 void winreg_initialize(void); 45 int srvsvc_gettime(unsigned long *); 46 void msgsvcsend_initialize(void); 47 void spoolss_initialize(void); 48 49 int netr_open(char *, char *, mlsvc_handle_t *); 50 int netr_close(mlsvc_handle_t *); 51 DWORD netlogon_auth(char *, mlsvc_handle_t *, DWORD); 52 int netr_setup_authenticator(netr_info_t *, struct netr_authenticator *, 53 struct netr_authenticator *); 54 DWORD netr_validate_chain(netr_info_t *, struct netr_authenticator *); 55 56 #ifdef __cplusplus 57 } 58 #endif 59 60 61 #endif /* _SMBSRV_MLSVC_H */ 62