Jonathan Turner 50a61c6f22 use canonical name to derive SPN (#274) há 7 anos atrás
..
docker 50a61c6f22 use canonical name to derive SPN (#274) há 7 anos atrás
krb5kdc-vagrant a6e3edd1c8 refactor API há 7 anos atrás
krbclient-vagrant a6e3edd1c8 refactor API há 7 anos atrás
krbhttp-vagrant a6e3edd1c8 refactor API há 7 anos atrás
latest-krb5kdc-vagrant a6e3edd1c8 refactor API há 7 anos atrás
mit-krb5kdc a6e3edd1c8 refactor API há 7 anos atrás
older-krb5kdc-vagrant a6e3edd1c8 refactor API há 7 anos atrás
ActiveDirectory.md a6e3edd1c8 refactor API há 7 anos atrás
README.md a6e3edd1c8 refactor API há 7 anos atrás
http.testtab a6e3edd1c8 refactor API há 7 anos atrás
sysHTTP.testtab a6e3edd1c8 refactor API há 7 anos atrás
sysHTTP_RES.GOKRB5.testtab a6e3edd1c8 refactor API há 7 anos atrás
testuser1-USER.GOKRB5.testtab a6e3edd1c8 refactor API há 7 anos atrás
testuser1.testtab a6e3edd1c8 refactor API há 7 anos atrás
testuser2-USER.GOKRB5.testtab a6e3edd1c8 refactor API há 7 anos atrás
testuser2.testtab a6e3edd1c8 refactor API há 7 anos atrás
testuser3.testtab a6e3edd1c8 refactor API há 7 anos atrás

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).