Find the right server name when using basic auth
authorSimo Sorce <simo@redhat.com>
Mon, 25 May 2015 13:53:44 +0000 (15:53 +0200)
committerSimo Sorce <simo@redhat.com>
Tue, 26 May 2015 17:09:25 +0000 (13:09 -0400)
commit604ffd0c49a6541cec07d0e4aac1fea02408f15b
treebb487b5ef177d1d23e6a68c5856077bc460bf87b
parent435bf2e0f4fac0378fb44e013d8d68ac18fb1565
Find the right server name when using basic auth

When S4U2Proxy is used in combination with Basic Auth, the gss_inquire_cred()
call will return the client name instead of the server name we need.
Detect this case and aquire a separate set of credentials in that case.

Fixes #28
src/mod_auth_gssapi.c