Fix Basic Auth with non-krb5 mechanisms
authorSimo Sorce <simo@redhat.com>
Tue, 16 Jun 2015 20:06:57 +0000 (16:06 -0400)
committerSimo Sorce <simo@redhat.com>
Fri, 19 Jun 2015 20:42:39 +0000 (16:42 -0400)
commit79cb8bb8418cca0c408db3c79d78fa23d5e18564
tree7ab7293532487426d2afb0e6c82b83d7bc0fd245
parent6e4513dc0ebe5ff6643223d35b509464d451b230
Fix Basic Auth with non-krb5 mechanisms

Try each allowed mechanism explicitly in a loop including sourcing
the server name per mechanism to insure the proper name type is
used in the accept.
Otherwise secondary mechanims will fail to work.

Fixes #43

Signed-off-by: Simo Sorce <simo@redhat.com>
src/mod_auth_gssapi.c