Skip to content

Commit 1f5a4e4

Browse files
iboukrissimo5
authored andcommitted
Acquire server creds with given cred_usage rather than both
Reviewed-by: Simo Sorce <simo@redhat.com>
1 parent 66d6bdf commit 1f5a4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod_auth_gssapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ static bool mag_auth_basic(request_rec *req,
526526

527527
/* must acquire creds based on the actual mechs we want to try */
528528
if (!mag_acquire_creds(req, cfg, actual_mechs,
529-
GSS_C_BOTH, &acquired_cred, NULL)) {
529+
cred_usage, &acquired_cred, NULL)) {
530530
goto done;
531531
}
532532

0 commit comments

Comments
 (0)