Jonathan Turner cbdf1c7592 fix failing pre-auth on TGT renewal when client's prefered etype is not 7 years ago
..
docker cbdf1c7592 fix failing pre-auth on TGT renewal when client's prefered etype is not 7 years ago
krb5kdc-vagrant b77c1e4a4c fix integration test kdc config 7 years ago
krbclient-vagrant c7bc1c0d0d golint fixes and new krbclient vagrant 8 years ago
krbhttp-vagrant cfa6e89a3b test against mod_auth_gssapi 7 years ago
latest-krb5kdc-vagrant b77c1e4a4c fix integration test kdc config 7 years ago
mit-krb5kdc 72011f9c07 red dom testenv 8 years ago
older-krb5kdc-vagrant b77c1e4a4c fix integration test kdc config 7 years ago
ActiveDirectory.md f5dd6dff87 fix identity realm 7 years ago
README.md 79866d016e contribution guidelines 8 years ago
http.testtab 3b1435f16b testenv 8 years ago
sysHTTP.testtab 72bc7f381d pac tests 9 years ago
sysHTTP_RES.GOKRB5.testtab e4f1ffe3cb test data and target correct kdc 8 years ago
testuser1-USER.GOKRB5.testtab e4f1ffe3cb test data and target correct kdc 8 years ago
testuser1.testtab d3bdd4d8c6 support for rc4-hmac enctype 8 years ago
testuser2-USER.GOKRB5.testtab 1010d14c54 fixes to PAC decoding 7 years ago
testuser2.testtab d3bdd4d8c6 support for rc4-hmac enctype 8 years ago
testuser3.testtab d3bdd4d8c6 support for rc4-hmac enctype 8 years ago

README.md

gokrb5 Integration Test Environment

Below are some instructions for how to run the network services required for the gokrb5 integration tests.

There are two options to run these services.

  1. As docker containers directly on your machine.
  2. As a vagrant VM instances.

Docker Containers

The Docker containers can be run with the commands you see in the before_install section of the .travis.yml file. You will need to set the environment variable TEST_KDC_ADDR to "127.0.0.1" when running the integration tests.

Vagant VM Instance

The Vagrant VM instance has been configured to work with VirtualBox. VirtualBox will need to be configured with a host network. In the Vagrantfile configuration the CIDR range for that network is assumed to be 10.80.0.0/16 and the instance will run on 10.80.88.88. If this does not work for your environment you will need to update the Vagrantfile accordingly and when running the integration tests set the environment variable TEST_KDC_ADDR to the IP you have allocated for this Vagrant instance.

Running the Integration Tests

Ensure you have set the environment variable TEST_KDC_ADDR accordingly.

To run the integration tests pass -tags=adintegration as an argument to the go test command. This will run all unit and integration tests (other than the integration tests for Active Directory).