Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 483974 Details for
Bug 601342
net-nds/openldap USE=kerberos with app-crypt/heimdal compile fails
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
openldap-2.4.40-heimdal.patch
openldap-2.4.40-heimdal.patch (text/plain), 970 bytes, created by
Honza Macháček
on 2017-07-13 12:42:21 UTC
(
hide
)
Description:
openldap-2.4.40-heimdal.patch
Filename:
MIME Type:
Creator:
Honza Macháček
Created:
2017-07-13 12:42:21 UTC
Size:
970 bytes
patch
obsolete
>diff -Naurp openldap-2.4.40.orig/contrib/slapd-modules/kinit/kinit.c openldap-2.4.40/contrib/slapd-modules/kinit/kinit.c >--- openldap-2.4.40.orig/contrib/slapd-modules/kinit/kinit.c 2014-09-19 01:48:49.000000000 +0000 >+++ openldap-2.4.40/contrib/slapd-modules/kinit/kinit.c 2014-11-11 17:27:53.064971391 +0000 >@@ -25,7 +25,7 @@ > #include "ldap_rq.h" > #include <ac/errno.h> > #include <ac/string.h> >-#include <krb5/krb5.h> >+#include <krb5.h> > > typedef struct kinit_data { > krb5_context ctx; >@@ -85,9 +85,9 @@ kinit_check_tgt(kinit_data *kid, int *re > continue; > } > >- if (creds.server->length==2 && >- (!strcmp(creds.server->data[0].data, "krbtgt")) && >- (!strcmp(creds.server->data[1].data, princ->realm.data))) { >+ if (creds.server->name.name_string.len==2 && >+ (!strcmp(creds.server->name.name_string.val[0], "krbtgt")) && >+ (!strcmp(creds.server->name.name_string.val[1], princ->realm))) { > > krb5_unparse_name(kid->ctx, creds.server, &name); >
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 601342
: 483974