Print this page
1575 untangle libmlrpc ... (smbsrv)


  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 2010 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  *
  25  * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _SMBSRV_NETRAUTH_H
  29 #define _SMBSRV_NETRAUTH_H
  30 
  31 /*
  32  * NETR remote authentication and logon services.
  33  */
  34 
  35 #include <sys/types.h>
  36 #include <smbsrv/wintypes.h>
  37 #include <smbsrv/netbios.h>
  38 #include <smbsrv/smbinfo.h>
  39 #include <netdb.h>
  40 
  41 #ifdef __cplusplus
  42 extern "C" {
  43 #endif
  44 
  45 /*
  46  * See also netlogon.ndl.
  47  */
  48 #define NETR_WKSTA_TRUST_ACCOUNT_TYPE           0x02
  49 #define NETR_DOMAIN_TRUST_ACCOUNT_TYPE          0x04
  50 
  51 /*
  52  * Negotiation flags for challenge/response authentication.
  53  */
  54 #define NETR_NEGOTIATE_BASE_FLAGS               0x000001FF
  55 #define NETR_NEGOTIATE_STRONGKEY_FLAG           0x00004000
  56 




  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 2010 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.
  24  *
  25  * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _SMBSRV_NETRAUTH_H
  29 #define _SMBSRV_NETRAUTH_H
  30 
  31 /*
  32  * NETR remote authentication and logon services.
  33  */
  34 
  35 #include <sys/types.h>
  36 #include <smb/wintypes.h>
  37 #include <smbsrv/netbios.h>
  38 #include <smbsrv/smbinfo.h>
  39 #include <netdb.h>
  40 
  41 #ifdef __cplusplus
  42 extern "C" {
  43 #endif
  44 
  45 /*
  46  * See also netlogon.ndl.
  47  */
  48 #define NETR_WKSTA_TRUST_ACCOUNT_TYPE           0x02
  49 #define NETR_DOMAIN_TRUST_ACCOUNT_TYPE          0x04
  50 
  51 /*
  52  * Negotiation flags for challenge/response authentication.
  53  */
  54 #define NETR_NEGOTIATE_BASE_FLAGS               0x000001FF
  55 #define NETR_NEGOTIATE_STRONGKEY_FLAG           0x00004000
  56