xref: /illumos-gate/usr/src/test/libmlrpc-tests/tests/netrlogon/samlogon_tests/run_samlogon_tests.ksh (revision a89c0811c892ec231725fe10817ef95dda813c06)
1#!/usr/bin/ksh
2
3#
4# This file and its contents are supplied under the terms of the
5# Common Development and Distribution License ("CDDL"), version 1.0.
6# You may only use this file in accordance with the terms of version
7# 1.0 of the CDDL.
8#
9# A full copy of the text of the CDDL should have accompanied this
10# source.  A copy of the CDDL is also available via the Internet at
11# http://www.illumos.org/license/CDDL.
12#
13
14#
15# Copyright 2020 Tintri by DDN, Inc. All rights reserved.
16#
17
18if [[ -z $MLRPC_TESTS ]]; then
19	echo "MLRPC_TESTS not set" >&2
20	exit 1
21fi
22
23. $MLRPC_TESTS/cfg/samlogon.config
24
25$MLRPC_TESTS/tests/netrlogon/samlogon_tests/samlogon $NETBIOS_DOMAIN $DC_FQDN \
26    $USERNAME $CLIENT_COMPUTER $CHALLENGE_FILE $NT_RESPONSE_FILE \
27    $LM_RESPONSE_FILE
28exit $?
29