setup_testsuite revision 5864
5739N/A# The contents of this file are subject to the terms of the 5739N/A# Common Development and Distribution License (the "License"). 5739N/A# You may not use this file except in compliance with the License. 5739N/A# See the License for the specific language governing permissions 5739N/A# and limitations under the License. 5739N/A# When distributing Covered Code, include this CDDL HEADER in each 5739N/A# If applicable, add the following below this CDDL HEADER, with the 5739N/A# fields enclosed by brackets "[]" replaced with your own identifying 5739N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5739N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. 5739N/A# Run this command as root to set up for sasl testsuite 5739N/A# creates a standard set of sasl users and makes them principals 5739N/A *)
echo "Architecture unknown" 5739N/A# realm used as default, edit if a different realm is desired. 5739N/A# realm for cross-realm auth. 5739N/A# password for all principals not added to keytab 5739N/A# Set this to the ID that is allowed to run kadmin 5739N/A# Be default you would do: "kadmin -p kdc/admin" and use the passwd above. 5739N/A# should be null if seting up master kdc 5739N/A -f: Force answer yes (non-interactive mode). Use with caution as 5739N/A this script will delete existing KDB. 5739N/A # ask question, set global answer 5739N/A # answer is a global set by ask 5739N/A echo "Exiting, no action performed" 5739N/A################################ Start of Main script ######################### 5739N/A print -
u2 "Error: $me must be run as root. aborting..." 5739N/A# Check for the testsuites we need 5739N/A print -
u2 "Error: ping full hostname ${fqdn} failed. Aborting..." 5864N/A "solaris" )
# old kerberos configured 5864N/A *)
# "MIT" or mediator does not exist