1
0

run.sh 321 B

12345678910
  1. #!/usr/bin/env bash
  2. set -e
  3. SCRIPT_DIR="${0%/*}"
  4. DC_IP=$("$SCRIPT_DIR"/start-dc.sh)
  5. "$SCRIPT_DIR"/start-apache.sh "$DC_IP" "$PWD" -v "$PWD/$SCRIPT_DIR"/apache-session.conf:/etc/apache2/sites-enabled/000-default.conf
  6. "$SCRIPT_DIR"/setup-sso-nc.sh smb::kerberos_sso_session
  7. "$SCRIPT_DIR"/test-sso-smb-session.sh "$DC_IP"