diff --git a/fstest/test_all/config.yaml b/fstest/test_all/config.yaml index 1c1fc3262..e6e3f056f 100644 --- a/fstest/test_all/config.yaml +++ b/fstest/test_all/config.yaml @@ -591,6 +591,11 @@ backends: - backend: "smb" remote: "TestSMBKerberos:rclone" fastlist: false + env: + - KRB5_CONFIG=/tmp/rclone_krb5/krb5.conf + - KRB5CCNAME=/tmp/rclone_krb5/ccache + ignoretests: + - cmd/gitannex - backend: "storj" remote: "TestStorj:" fastlist: true diff --git a/fstest/testserver/init.d/TestSMBKerberos b/fstest/testserver/init.d/TestSMBKerberos index 3fa7e120c..ddf0d87b3 100755 --- a/fstest/testserver/init.d/TestSMBKerberos +++ b/fstest/testserver/init.d/TestSMBKerberos @@ -10,10 +10,17 @@ REALM=RCLONE.LOCAL SMB_PORT=28633 KRB5_PORT=28634 +# KRB5_CONFIG and KRB5CCNAME should be set by the caller but default +# them here for the integration tests +export TEMP_DIR=/tmp/rclone_krb5 +mkdir -p "${TEMP_DIR}" +export KRB5_CONFIG=${KRB5_CONFIG:-${TEMP_DIR}/krb5.conf} +export KRB5CCNAME=${KRB5CCNAME:-${TEMP_DIR}/ccache} + . $(dirname "$0")/docker.bash start() { - docker build -t ${IMAGE} - <