summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-04-28 10:52:55 -0400
committerRob Crittenden <rcritten@redhat.com>2015-05-06 16:00:24 -0400
commit9cbeccde3151029d70bedb0579482e10a5cbab7b (patch)
tree4fcf1cdbda21c7d173405240f5e4a1e9b6e467e1 /Makefile
parente6a3656ab71faea8669af50ceeaf4d9a91fe0142 (diff)
downloadipsilon.git-9cbeccde3151029d70bedb0579482e10a5cbab7b.tar.gz
ipsilon.git-9cbeccde3151029d70bedb0579482e10a5cbab7b.tar.xz
ipsilon.git-9cbeccde3151029d70bedb0579482e10a5cbab7b.zip
Configure a KDC, add test for GSSAPI/Kerberos
Using nss_wrappers so we can control host names we can setup a KDC and test GSSAPI, including fallback to forms-based auth. This also means that fetch_page() needs to handle 401 a bit better, so it can re-try a failed authentication or fall back to forms-based auth. Note for posterity: if gss_localname() fails this is likely due to using the wrong krb5.conf in Apache, so pass in all environment variables. The KDC setup code was based heavily on the tests in the gssproxy project. https://fedorahosted.org/ipsilon/ticket/116 Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2434898..df6eb0f 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,7 @@ tests: wrappers
PYTHONPATH=./ ./tests/tests.py --test=testnameid
PYTHONPATH=./ ./tests/tests.py --test=testrest
PYTHONPATH=./ ./tests/tests.py --test=testmapping
+ PYTHONPATH=./ ./tests/tests.py --test=testgssapi
PYTHONPATH=./ ./tests/tests.py --test=attrs
PYTHONPATH=./ ./tests/tests.py --test=trans
PYTHONPATH=./ ./tests/tests.py --test=pgdb