libnet: Fix Coverity ID 1634803 Dereference after null check
[samba4-gss.git] / examples / ad-bench / settings.sh
blobb4a68ae8963068c1c6c4626628f67509391b3f9b
1 #!/bin/bash
2 # AD-Bench settings
4 # Copyright (C) 2009 Kai Blin <kai@samba.org>
6 # This file is part of AD-Bench, an Active Directory benchmark tool
8 # AD-Bench is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
13 # AD-Bench is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with AD-Bench. If not, see <http://www.gnu.org/licenses/>.
21 DATE=date
22 BC=bc
23 SED=sed
24 DATE_FORMATSTR="+%s.%N"
26 KINIT=kinit
27 # MIT krb < 1.6
28 KINIT_PARAM_OLD="--password-file=STDIN"
29 # MIT krb >= 1.6
30 KINIT_PARAM_NEW=""
32 KDESTROY=kdestroy
33 SEQ=seq
35 NEW_KRB5CCNAME=/tmp/ad_test_ccname
37 NET="${HOME}/samba/bin/net"
38 CONFIG_FILE=$(dirname $0)/smb.conf
40 RUNS=$(dirname $0)/runs.txt