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


   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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.

  23  */
  24 
  25 #ifndef _MLSVC_LSA_NDL_
  26 #define _MLSVC_LSA_NDL_
  27 
  28 /*
  29  * Local Security Authority RPC (LSARPC) interface definition.
  30  *
  31  * Names containing a backslash ('\') are known as qualified or composite
  32  * names.  The string preceding the backslash is assumed to be the domain
  33  * name and the string following the slash is assumed to be name to be
  34  * resolved within that domain.
  35  *
  36  * Names that do not contain a backslash are known as isolated names.
  37  * An isolated name may be a single label, such as john, or may be in
  38  * user principal name (UPN) form, such as john@example.com.
  39  */
  40 
  41 #include "ndrtypes.ndl"
  42 
  43 
  44 #define LSARPC_OPNUM_CloseHandle                        0x00
  45 #define LSARPC_OPNUM_Delete                             0x01
  46 #define LSARPC_OPNUM_EnumPrivileges                     0x02
  47 #define LSARPC_OPNUM_QuerySecurityObject                0x03
  48 #define LSARPC_OPNUM_SetSecurityObject                  0x04
  49 #define LSARPC_OPNUM_ChangePassword                     0x05
  50 #define LSARPC_OPNUM_OpenPolicy                         0x06
  51 #define LSARPC_OPNUM_QueryInfoPolicy                    0x07
  52 #define LSARPC_OPNUM_SetInfoPolicy                      0x08
  53 #define LSARPC_OPNUM_ClearAuditLog                      0x09
  54 #define LSARPC_OPNUM_CreateAccount                      0x0a
  55 #define LSARPC_OPNUM_EnumerateAccounts                  0x0b
  56 #define LSARPC_OPNUM_CreateTrustedDomain                0x0c
  57 #define LSARPC_OPNUM_EnumTrustedDomain                  0x0d
  58 #define LSARPC_OPNUM_LookupNames                        0x0e
  59 #define LSARPC_OPNUM_LookupSids                         0x0f
  60 #define LSARPC_OPNUM_CreateSecret                       0x10
  61 #define LSARPC_OPNUM_OpenAccount                        0x11




   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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 
  26 #ifndef _MLSVC_LSA_NDL_
  27 #define _MLSVC_LSA_NDL_
  28 
  29 /*
  30  * Local Security Authority RPC (LSARPC) interface definition.
  31  *
  32  * Names containing a backslash ('\') are known as qualified or composite
  33  * names.  The string preceding the backslash is assumed to be the domain
  34  * name and the string following the slash is assumed to be name to be
  35  * resolved within that domain.
  36  *
  37  * Names that do not contain a backslash are known as isolated names.
  38  * An isolated name may be a single label, such as john, or may be in
  39  * user principal name (UPN) form, such as john@example.com.
  40  */
  41 
  42 #include <libmlrpc/ndrtypes.ndl>
  43 
  44 
  45 #define LSARPC_OPNUM_CloseHandle                        0x00
  46 #define LSARPC_OPNUM_Delete                             0x01
  47 #define LSARPC_OPNUM_EnumPrivileges                     0x02
  48 #define LSARPC_OPNUM_QuerySecurityObject                0x03
  49 #define LSARPC_OPNUM_SetSecurityObject                  0x04
  50 #define LSARPC_OPNUM_ChangePassword                     0x05
  51 #define LSARPC_OPNUM_OpenPolicy                         0x06
  52 #define LSARPC_OPNUM_QueryInfoPolicy                    0x07
  53 #define LSARPC_OPNUM_SetInfoPolicy                      0x08
  54 #define LSARPC_OPNUM_ClearAuditLog                      0x09
  55 #define LSARPC_OPNUM_CreateAccount                      0x0a
  56 #define LSARPC_OPNUM_EnumerateAccounts                  0x0b
  57 #define LSARPC_OPNUM_CreateTrustedDomain                0x0c
  58 #define LSARPC_OPNUM_EnumTrustedDomain                  0x0d
  59 #define LSARPC_OPNUM_LookupNames                        0x0e
  60 #define LSARPC_OPNUM_LookupSids                         0x0f
  61 #define LSARPC_OPNUM_CreateSecret                       0x10
  62 #define LSARPC_OPNUM_OpenAccount                        0x11