diff options
| author | Simo Sorce <simo@redhat.com> | 2013-11-15 15:59:26 -0500 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2013-11-17 11:43:52 +0100 |
| commit | 4a3934da484df1db295b262dcdd356d6508ad8a9 (patch) | |
| tree | 185990f496c36f89a9917ceaae33192338a71e7c /src/gssapi.c | |
| parent | 68b996bdbf82be9ff8fdcc4750ae1a58cdaf131a (diff) | |
gssapi: Add support for GSSAPIDelegateCredentials config option.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/gssapi.c')
| -rw-r--r-- | src/gssapi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gssapi.c b/src/gssapi.c index 88815a47..e2bcce34 100644 --- a/src/gssapi.c +++ b/src/gssapi.c @@ -805,6 +805,9 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_gssapi_response){ } session->gssapi->client.flags = GSS_C_MUTUAL_FLAG | GSS_C_INTEG_FLAG; + if (session->opts.gss_delegate_creds) { + session->gssapi->client.flags |= GSS_C_DELEG_FLAG; + } /* prepare the first TOKEN response */ maj_stat = gss_init_sec_context(&min_stat, |
