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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/smbsrv/ndl/samrpc.ndl
          +++ new/usr/src/uts/common/smbsrv/ndl/samrpc.ndl
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24   * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  25   25   */
  26   26  
  27   27  #ifndef _MLSVC_SAM_NDL_
  28   28  #define _MLSVC_SAM_NDL_
  29   29  
  30   30  /*
  31   31   * Security Accounts Manager RPC (SAMR) interface definition.
  32   32   */
  33   33  
  34      -#include "ndrtypes.ndl"
       34 +#include <libmlrpc/ndrtypes.ndl>
  35   35  
  36   36  /* Windows NT */
  37   37  #define SAMR_OPNUM_Connect                      0x00    /* SamrConnect */
  38   38  #define SAMR_OPNUM_CloseHandle                  0x01
  39   39  #define SAMR_OPNUM_SetSecObject                 0x02
  40   40  #define SAMR_OPNUM_QuerySecObject               0x03
  41   41  #define SAMR_OPNUM_ShutdownSamServer            0x04    /* NotUsedOnWire */
  42   42  #define SAMR_OPNUM_LookupDomain                 0x05
  43   43  #define SAMR_OPNUM_EnumLocalDomains             0x06
  44   44  #define SAMR_OPNUM_OpenDomain                   0x07
↓ open down ↓ 311 lines elided ↑ open up ↑
 356  356   * struct samr_user_password (internal use) is
 357  357   * the "clear" form of struct samr_encr_passwd
 358  358   * (SAMPR_ENCRYPTED_USER_PASSWORD in MS Net).
 359  359   * It's not used by ndrgen, but is declared here
 360  360   * to help clarify the relationship between these,
 361  361   * and for the benefit of our client-side code.
 362  362   */
 363  363  #ifndef NDRGEN
 364  364  #define SAMR_USER_PWLEN 256
 365  365  struct samr_user_password {
 366      -        smb_wchar_t     Buffer[SAMR_USER_PWLEN];
      366 +        ndr_wchar_t     Buffer[SAMR_USER_PWLEN];
 367  367          DWORD Length;
 368  368  };
 369  369  #endif  /* NDRGEN */
 370  370  
 371  371  /* SAMPR_ENCRYPTED_USER_PASSWORD */
 372  372  #define SAMR_ENCR_PWLEN 516     /* sizeof samr_user_password */
 373  373  struct samr_encr_passwd {
 374  374          BYTE data[SAMR_ENCR_PWLEN];
 375  375  };
 376  376  
↓ open down ↓ 1083 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX