Print this page
    
NEX-5273 SMB 3 Encryption
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>
SMB-56 extended security NTLMSSP, inbound
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/lib/libshare/smb/Makefile.com
          +++ new/usr/src/lib/libshare/smb/Makefile.com
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  
    | 
      ↓ 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 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
       25 +# Copyright 2017 Nexenta Systems, Inc.  All rights reserved.
  26   26  #
  27   27  
  28   28  LIBRARY =       libshare_smb.a
  29   29  VERS =          .1
  30   30  SMBMLSVC_DIR    = $(SRC)/lib/smbsrv/libmlsvc/common
  31   31  SMBBASE_DIR     = $(SRC)/lib/smbsrv/libsmb/common
  32   32  SMBCOMMON_DIR   = $(SRC)/common/smbsrv
  33   33  
  34   34  LIBOBJS =       libshare_smb.o smb_share_doorclnt.o
  35      -SMBCOMMON_OBJ = smb_door_legacy.o
       35 +SMBCOMMON_OBJ = smb_door_legacy.o smb_cfg_util.o
  36   36  SMBBASE_OBJ =   smb_cfg.o smb_scfutil.o
  37   37  OBJECTS =       $(LIBOBJS) $(SMBCOMMON_OBJ) $(SMBBASE_OBJ)
  38   38  
  39   39  include ../../../Makefile.lib
  40   40  
  41   41  ROOTLIBDIR =    $(ROOT)/usr/lib/fs/smb
  42   42  ROOTLIBDIR64 =  $(ROOT)/usr/lib/fs/smb/$(MACH64)
  43   43  
  44   44  LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
  45   45  lintcheck := SRCS = $(LIBSRCS)
  46   46  
  47   47  LIBS =          $(DYNLIB)
  48   48  LDLIBS +=       -lshare -lscf -luuid -ldlpi -lnsl -lnvpair -lxml2 -lumem -lc
  49   49  
  50   50  CFLAGS +=       $(CCVERBOSE)
  51   51  CERRWARN +=     -_gcc=-Wno-char-subscripts
  52   52  CERRWARN +=     -_gcc=-Wno-switch
  53   53  CPPFLAGS +=     -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
  54   54                  -I$(SRCDIR)/../common
  55   55  $(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
  56   56  
  57   57  .KEEP_STATE:
  58   58  
  59   59  all: $(LIBS)
  60   60  
  61   61  install: all
  62   62  
  
    | 
      ↓ open down ↓ | 
    17 lines elided | 
    
      ↑ open up ↑ | 
  
  63   63  lint: lintcheck
  64   64  
  65   65  pics/smb_door_client.o:       $(SMBBASE_DIR)/smb_door_client.c
  66   66          $(COMPILE.c) -o $@ $(SMBBASE_DIR)/smb_door_client.c
  67   67          $(POST_PROCESS_O)
  68   68  
  69   69  pics/smb_door_legacy.o:       $(SMBCOMMON_DIR)/smb_door_legacy.c
  70   70          $(COMPILE.c) -o $@ $(SMBCOMMON_DIR)/smb_door_legacy.c
  71   71          $(POST_PROCESS_O)
  72   72  
       73 +pics/smb_cfg_util.o:       $(SMBCOMMON_DIR)/smb_cfg_util.c
       74 +        $(COMPILE.c) -o $@ $(SMBCOMMON_DIR)/smb_cfg_util.c
       75 +        $(POST_PROCESS_O)
       76 +
  73   77  pics/smb_cfg.o:       $(SMBBASE_DIR)/smb_cfg.c
  74   78          $(COMPILE.c) -o $@ $(SMBBASE_DIR)/smb_cfg.c
  75   79          $(POST_PROCESS_O)
  76   80  
  77   81  pics/smb_scfutil.o:       $(SMBBASE_DIR)/smb_scfutil.c
  78   82          $(COMPILE.c) -o $@ $(SMBBASE_DIR)/smb_scfutil.c
  79   83          $(POST_PROCESS_O)
  80   84  
  81   85  include ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX