Print this page
NEX-14666 Need to provide SMB 2.1 Client
NEX-17187 panic in smbfs_acl_store
NEX-17231 smbfs create xattr files finds wrong file
NEX-17224 smbfs lookup EINVAL should be ENOENT
NEX-17260 SMB1 client fails to list directory after NEX-14666
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com>
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
and: (cleanup)
NEX-2667 Wrong error when join domain with wrong password
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
Reviewed by: Bayard Bell <bayard.bell@nexenta.com>
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/lib/smbsrv/libmlsvc/common/samlib.c
          +++ new/usr/src/lib/smbsrv/libmlsvc/common/samlib.c
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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  /*
  23   23   * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  24      - * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
       24 + * Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
  25   25   */
  26   26  
  27   27  /*
  28   28   * This module provides the high level interface to the SAM RPC
  29   29   * functions.
  30   30   */
  31   31  
  32   32  #include <sys/types.h>
  33   33  #include <sys/isa_defs.h>
  34   34  #include <sys/byteorder.h>
  35   35  
  36   36  #include <alloca.h>
  37   37  
  38   38  #include <smbsrv/libsmb.h>
  39   39  #include <smbsrv/libmlsvc.h>
  40      -#include <smbsrv/ntaccess.h>
       40 +#include <smb/ntaccess.h>
  41   41  #include <lsalib.h>
  42   42  #include <samlib.h>
  43   43  
  44   44  #ifdef _LITTLE_ENDIAN
  45   45  /* little-endian values on little-endian */
  46   46  #define htolel(x)       ((uint32_t)(x))
  47   47  #define letohl(x)       ((uint32_t)(x))
  48   48  #else   /* (BYTE_ORDER == LITTLE_ENDIAN) */
  49   49  /* little-endian values on big-endian (swap) */
  50   50  #define letohl(x)       BSWAP_32(x)
↓ open down ↓ 350 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX