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


   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 _DSSETUP_NDL_
  27 #define _DSSETUP_NDL_
  28 
  29 /*
  30  * Active Directory Service Setup
  31  *
  32  * Originally this interface contained a number of operations, as listed
  33  * below, but due to a buffer overflow security issue, all operations
  34  * except DsRoleGetPrimaryDomainInfo have been deprecated (MS04-011).
  35  */
  36 
  37 #include "ndrtypes.ndl"
  38 
  39 
  40 #define DSSETUP_OPNUM_DsRoleGetPrimaryDomainInfo        0x00
  41 #define DSSETUP_OPNUM_DsRoleDnsNameToFlatName           0x01
  42 #define DSSETUP_OPNUM_DsRoleDcAsDc                      0x02
  43 #define DSSETUP_OPNUM_DsRoleDcAsReplica                 0x03
  44 #define DSSETUP_OPNUM_DsRoleDemoteDc                    0x04
  45 #define DSSETUP_OPNUM_DsRoleGetDcOperationProgress      0x05
  46 #define DSSETUP_OPNUM_DsRoleGetDcOperationResults       0x06
  47 #define DSSETUP_OPNUM_DsRoleCancel                      0x07
  48 #define DSSETUP_OPNUM_DsRoleServerSaveStateForUpgrade   0x08
  49 #define DSSETUP_OPNUM_DsRoleUpgradeDownlevelServer      0x09
  50 #define DSSETUP_OPNUM_DsRoleAbortDownlevelServerUpgrade 0x0a
  51 
  52 /*
  53  * DS roles
  54  */
  55 #define DS_ROLE_STANDALONE_WORKSTATION  0
  56 #define DS_ROLE_MEMBER_WORKSTATION      1
  57 #define DS_ROLE_STANDALONE_SERVER       2




   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  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _DSSETUP_NDL_
  29 #define _DSSETUP_NDL_
  30 
  31 /*
  32  * Active Directory Service Setup
  33  *
  34  * Originally this interface contained a number of operations, as listed
  35  * below, but due to a buffer overflow security issue, all operations
  36  * except DsRoleGetPrimaryDomainInfo have been deprecated (MS04-011).
  37  */
  38 
  39 #include <libmlrpc/ndrtypes.ndl>
  40 
  41 
  42 #define DSSETUP_OPNUM_DsRoleGetPrimaryDomainInfo        0x00
  43 #define DSSETUP_OPNUM_DsRoleDnsNameToFlatName           0x01
  44 #define DSSETUP_OPNUM_DsRoleDcAsDc                      0x02
  45 #define DSSETUP_OPNUM_DsRoleDcAsReplica                 0x03
  46 #define DSSETUP_OPNUM_DsRoleDemoteDc                    0x04
  47 #define DSSETUP_OPNUM_DsRoleGetDcOperationProgress      0x05
  48 #define DSSETUP_OPNUM_DsRoleGetDcOperationResults       0x06
  49 #define DSSETUP_OPNUM_DsRoleCancel                      0x07
  50 #define DSSETUP_OPNUM_DsRoleServerSaveStateForUpgrade   0x08
  51 #define DSSETUP_OPNUM_DsRoleUpgradeDownlevelServer      0x09
  52 #define DSSETUP_OPNUM_DsRoleAbortDownlevelServerUpgrade 0x0a
  53 
  54 /*
  55  * DS roles
  56  */
  57 #define DS_ROLE_STANDALONE_WORKSTATION  0
  58 #define DS_ROLE_MEMBER_WORKSTATION      1
  59 #define DS_ROLE_STANDALONE_SERVER       2