xref: /illumos-gate/usr/src/test/smbclient-tests/include/default_cfg.ksh (revision 142d813a06c6f9a6142e2c276b62129a17a31a65)
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
28export TESTDS=smbclnt
29export TBASEDIR=/var/tmp/$TESTDS
30export TMNT=$TBASEDIR/mnt
31export TMNT2=$TBASEDIR/mnt2
32export 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.
36export AUSER=smbusera
37export AUSERUID=20100
38export APASS=A_nex_123
39export BUSER=smbuserb
40export BUSERUID=20101
41export BPASS=B_nex_123
42export TUSER=smbuserc
43export TUSERUID=20102
44export TPASS=C_nex_123
45
46# Should replace this in the few tests that use $TUSER1
47export TUSER1=$BUSER
48
49# User groups
50export SMBGRP=smbgrp
51export SMBGRPGID=2000
52export SMBGRP1=smbgrp1
53export SMBGRP1GID=2001
54
55# Share group name
56export SHAREGRP=smbclient
57
58# expect tools
59export EXPECT=${EXPECT:-"/usr/bin/expect"}
60
61# utility for set password for cifs user on the server side
62export PASSWDEXP=${PASSWDEXP:-"${STF_SUITE}/bin/passwd.exp"}
63
64# utility for create the keychain for the cifs user
65export SMBUTILEXP=${STF_SUITE}/bin/smbutil.exp
66
67# utility to truncate the file
68export FILETRUNC=${STF_SUITE}/bin/file_trunc
69
70# large data file (read-only) used for copy tests, etc.
71export REFFILE=/usr/lib/libc.so.1
72
73# avoid testruner timeouts (set by smbclienttest -f)
74# export STC_QUICK=1
75