Print this page
NEX-16929 Incorrect parameters passed to DC lead to STATUS_INVALID_INFO_CLASS
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
1575 untangle libmlrpc from SMB server
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
NEX-1810 extended security Kerberos (inbound)
re #12435 rb3958 r10 is added 2 times to panic info
re #12393 rb3935 Kerberos and smbd disagree about who is our AD server

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/smbsrv/ndl/netlogon.ndl
          +++ new/usr/src/uts/common/smbsrv/ndl/netlogon.ndl
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   *
  25      - * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
       25 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  26   26   */
  27   27  
  28   28  #ifndef _MLSVC_NETR_NDL_
  29   29  #define _MLSVC_NETR_NDL_
  30   30  
  31   31  /*
  32   32   ***********************************************************************
  33   33   *
  34   34   * NetLogon RPC (NETR) interface definition.
  35   35   *
  36   36   ***********************************************************************
  37   37   */
  38   38  
  39      -#include "ndrtypes.ndl"
       39 +#include <libmlrpc/ndrtypes.ndl>
  40   40  
  41   41  
  42   42  #define NETR_OPNUM_UasLogon                     0x00
  43   43  #define NETR_OPNUM_UasLogoff                    0x01
  44   44  #define NETR_OPNUM_SamLogon                     0x02
  45   45  #define NETR_OPNUM_SamLogoff                    0x03
  46   46  #define NETR_OPNUM_ServerReqChallenge           0x04
  47   47  #define NETR_OPNUM_ServerAuthenticate           0x05
  48   48  #define NETR_OPNUM_ServerPasswordSet            0x06
  49   49  #define NETR_OPNUM_DatabaseDeltas               0x07
↓ open down ↓ 338 lines elided ↑ open up ↑
 388  388  
 389  389  
 390  390  /*
 391  391   * WARNING
 392  392   *
 393  393   * Validation_level is really a WORD and authoritative is really a
 394  394   * BYTE. They are declared as DWORD here due to the way things are
 395  395   * unmarshalled. NT does not clear out the unused bytes in the
 396  396   * DWORD so they must be cast to get the correct value.
 397  397   */
      398 +ALIGN(2)
 398  399  OPERATION(NETR_OPNUM_SamLogon)
 399  400  struct netr_SamLogon {
 400  401          IN              LPTSTR servername;
 401  402          IN              LPTSTR hostname;
 402  403          IN              struct netr_authenticator *auth;
 403  404          INOUT   struct netr_authenticator *ret_auth;
 404  405          IN              struct netr_login_info logon_info;
 405  406          INOUT   WORD validation_level;
 406  407    SWITCH(validation_level)
 407  408          OUT             union netr_validation_u ru;
↓ open down ↓ 51 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX