Acquire creds only once for basic_auth
authorSimo Sorce <simo@redhat.com>
Sun, 21 Jun 2015 19:07:24 +0000 (15:07 -0400)
committerSimo Sorce <simo@redhat.com>
Mon, 22 Jun 2015 22:57:02 +0000 (18:57 -0400)
commitf20a3525f62bdc154e4a93d7e2eb6310067999b3
treef29f4045d8fbef72d879f001e36cb5f3a8e6903c
parentc18ca3a748d4e963bbfe4a55288c981025b9f076
Acquire creds only once for basic_auth

Instead of acquiring creds by looping at each round, use
gss_inquire_cred_by_mech() to work around the union_name issue and
get the correct per-mechanism server name.

Closes #45

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