Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 216591 Details for
Bug 319351
gss_krb5_copy_ccache can't find delegated Kerberos creds when using SPNEGO
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed fix
krb5-trunk-spnego_delegation.patch (text/plain), 1.46 KB, created by
Nalin Dahyabhai
on 2007-10-04 22:16:48 UTC
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Nalin Dahyabhai
Created:
2007-10-04 22:16:48 UTC
Size:
1.46 KB
patch
obsolete
>An spnego credential is itself a union credential, so search through it >when we're looking for credentials of a mechanism which may already have >been wrapped by spnego. > >Index: src/lib/gssapi/mechglue/g_glue.c >=================================================================== >--- src/lib/gssapi/mechglue/g_glue.c (revision 20093) >+++ src/lib/gssapi/mechglue/g_glue.c (working copy) >@@ -33,6 +33,8 @@ > #define MSO_BIT (8*(sizeof (int) - 1)) /* Most significant octet bit */ > > extern gss_mechanism *gssint_mechs_array; >+#define SPNEGO_OID_LENGTH 6 >+#define SPNEGO_OID "\053\006\001\005\005\002" > > /* > * This file contains the support routines for the glue layer. >@@ -548,6 +550,8 @@ > gss_OID mech_type; > { > int i; >+ gss_union_cred_t spnego_cred; >+ gss_cred_id_t mech_cred; > > if (union_cred == GSS_C_NO_CREDENTIAL) > return GSS_C_NO_CREDENTIAL; >@@ -555,6 +559,17 @@ > for (i=0; i < union_cred->count; i++) { > if (g_OID_equal(mech_type, &union_cred->mechs_array[i])) > return union_cred->cred_array[i]; >+ >+ /* if this is an spnego credential, search its contents */ >+ if ((union_cred->mechs_array[i].length == SPNEGO_OID_LENGTH) && >+ (memcmp(union_cred->mechs_array[i].elements, >+ SPNEGO_OID, >+ SPNEGO_OID_LENGTH) == 0)) { >+ spnego_cred = union_cred->cred_array[i]; >+ mech_cred = gssint_get_mechanism_cred(spnego_cred, mech_type); >+ if (mech_cred != GSS_C_NO_CREDENTIAL) >+ return mech_cred; >+ } > } > return GSS_C_NO_CREDENTIAL; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 319351
: 216591