Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160033 Details for
Bug 231396
net-fs/nfs-utils - heimdal compatibility
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
for heimdal compatiblity
nfs-utils-1.1.2-no_libgssapi.patch (text/plain), 2.00 KB, created by
Michael Hammer (RETIRED)
on 2008-07-10 10:17:37 UTC
(
hide
)
Description:
for heimdal compatiblity
Filename:
MIME Type:
Creator:
Michael Hammer (RETIRED)
Created:
2008-07-10 10:17:37 UTC
Size:
2.00 KB
patch
obsolete
>Index: nfs-utils-1.1.0/utils/gssd/context_lucid.c >=================================================================== >--- nfs-utils-1.1.0.orig/utils/gssd/context_lucid.c >+++ nfs-utils-1.1.0/utils/gssd/context_lucid.c >@@ -48,8 +48,10 @@ > #include <krb5.h> > #include <gssapi/gssapi.h> > #ifndef OM_uint64 >+#ifndef GSSAPI_GSSAPI_H_ > typedef uint64_t OM_uint64; > #endif >+#endif > #include <gssapi/gssapi_krb5.h> > > static int >@@ -171,10 +173,10 @@ serialize_krb5_ctx(gss_ctx_id_t ctx, gss > int retcode = 0; > > printerr(2, "DEBUG: serialize_krb5_ctx: lucid version!\n"); >- maj_stat = gss_export_lucid_sec_context(&min_stat, &ctx, >+ maj_stat = gss_krb5_export_lucid_sec_context(&min_stat, &ctx, > 1, &return_ctx); > if (maj_stat != GSS_S_COMPLETE) { >- pgsserr("gss_export_lucid_sec_context", >+ pgsserr("gss_krb5_export_lucid_sec_context", > maj_stat, min_stat, &krb5oid); > goto out_err; > } >@@ -198,9 +200,9 @@ serialize_krb5_ctx(gss_ctx_id_t ctx, gss > else > retcode = prepare_krb5_rfc_cfx_buffer(lctx, buf); > >- maj_stat = gss_free_lucid_sec_context(&min_stat, ctx, return_ctx); >+ maj_stat = gss_krb5_free_lucid_sec_context(&min_stat, ctx); > if (maj_stat != GSS_S_COMPLETE) { >- pgsserr("gss_export_lucid_sec_context", >+ pgsserr("gss_krb5_export_lucid_sec_context", > maj_stat, min_stat, &krb5oid); > printerr(0, "WARN: failed to free lucid sec context\n"); > } >Index: nfs-utils-1.1.0/utils/gssd/krb5_util.c >=================================================================== >--- nfs-utils-1.1.0.orig/utils/gssd/krb5_util.c >+++ nfs-utils-1.1.0/utils/gssd/krb5_util.c >@@ -294,10 +294,10 @@ limit_krb5_enctypes(struct rpc_gss_sec * > return -1; > } > >- maj_stat = gss_set_allowable_enctypes(&min_stat, credh, &krb5oid, >+ maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, credh, > num_enctypes, &enctypes); > if (maj_stat != GSS_S_COMPLETE) { >- pgsserr("gss_set_allowable_enctypes", >+ pgsserr("gss_krb5_set_allowable_enctypes", > maj_stat, min_stat, &krb5oid); > gss_release_cred(&min_stat, &credh); > return -1;
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 231396
:
160028
|
160032
| 160033 |
160035
|
172863
|
172865
|
180673