1 #
   2 # CDDL HEADER START
   3 #
   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 #
  23 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  24 # Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  25 #
  26 
  27 # testdir base
  28 export TESTDS=smbclnt
  29 export TBASEDIR=/var/tmp/$TESTDS
  30 export TMNT=$TBASEDIR/mnt
  31 export TMNT2=$TBASEDIR/mnt2
  32 export TDIR=$TBASEDIR/test
  33 
  34 # Users for SMB client authentication testing
  35 # Share names (public, a_share, b_share) are hard-coded in the tests.
  36 export AUSER=smbusera
  37 export AUSERUID=20100
  38 export APASS=A_nex_123
  39 export BUSER=smbuserb
  40 export BUSERUID=20101
  41 export BPASS=B_nex_123
  42 export TUSER=smbuserc
  43 export TUSERUID=20102
  44 export TPASS=C_nex_123
  45 
  46 # Should replace this in the few tests that use $TUSER1
  47 export TUSER1=$BUSER
  48 
  49 # User groups
  50 export SMBGRP=smbgrp
  51 export SMBGRPGID=2000
  52 export SMBGRP1=smbgrp1
  53 export SMBGRP1GID=2001
  54 
  55 # Share group name
  56 export SHAREGRP=smbclient
  57 
  58 # expect tools
  59 export EXPECT=${EXPECT:-"/usr/bin/expect"}
  60 
  61 # utility for set password for cifs user on the server side
  62 export PASSWDEXP=${PASSWDEXP:-"${STF_SUITE}/bin/passwd.exp"}
  63 
  64 # utility for create the keychain for the cifs user
  65 export SMBUTILEXP=${STF_SUITE}/bin/smbutil.exp
  66 
  67 # utility to truncate the file
  68 export FILETRUNC=${STF_SUITE}/bin/file_trunc
  69 
  70 # large data file (read-only) used for copy tests, etc.
  71 export REFFILE=/usr/lib/libc.so.1
  72 
  73 # avoid testruner timeouts (set by smbclienttest -f)
  74 # export STC_QUICK=1