Report to user if an LDAP error occurs
authorRob Crittenden <rcritten@redhat.com>
Mon, 20 Jul 2015 20:42:36 +0000 (16:42 -0400)
committerPatrick Uiterwijk <puiterwijk@redhat.com>
Tue, 18 Aug 2015 18:50:43 +0000 (20:50 +0200)
commit5f591228346bd96561b693cae43b8f14e4c3b26d
treeaa811936e90768dc9eefeb3fff5194fb867758f6
parent9eaa965575ef31de52cef559c420ba7880756887
Report to user if an LDAP error occurs

Catch LDAP errors and display them properly rather than
just dumping the exception.

Rename variable authed to authok.

Add test for case where LDAP server is not started to
confirm the user receives the error alert.

https://fedorahosted.org/ipsilon/ticket/55

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Makefile
ipsilon/login/authldap.py
tests/helpers/http.py
tests/ldapdown.py [new file with mode: 0755]