apple / ccs-pykerberos

Python Kerberos library used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
117 stars 65 forks source link

Patches to use HEIMDAL #40

Closed macosforgebot closed 8 years ago

macosforgebot commented 9 years ago

dan@… originally submitted this as ticket:906


FYI, I have submitted patches for py-requests to the FreeBSD project so that PyKerberos will work with either of:

This allows our users to choose from:

I thought you might be interested in the patches, available from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199123

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199123

macosforgebot commented 9 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:906

macosforgebot commented 8 years ago

dan@… originally submitted this as comment:266:⁠ticket:906


Poke. Prod. Hello. :)

macosforgebot commented 8 years ago

@wsanchez originally submitted this as attachment:heimdal.patch:⁠ticket:906

macosforgebot commented 8 years ago

@wsanchez originally submitted this as comment:267:⁠ticket:906


I've attached the patch as I've applied it in my copy of trunk. I get this error when I build on OS X:

src/kerberosgss.c:151:33: error: use of undeclared identifier 'gss_nt_service_name'; did you mean 'gss_nt_krb5_name'?
        &min_stat, &name_token, gss_krb5_nt_service_name, &state->server_name
                                ^~~~~~~~~~~~~~~~~~~~~~~~
                                gss_nt_krb5_name
/usr/include/gssapi/gssapi_krb5.h:91:41: note: expanded from macro 'gss_krb5_nt_service_name'
#define gss_krb5_nt_service_name        gss_nt_service_name
                                        ^
/usr/include/gssapi/gssapi_krb5.h:84:46: note: 'gss_nt_krb5_name' declared here
GSS_DLLIMP extern const gss_OID_desc * const gss_nt_krb5_name;
                                             ^
macosforgebot commented 8 years ago

john@… originally submitted this as comment:268:⁠ticket:906

macosforgebot commented 8 years ago

@wsanchez originally submitted this as comment:269:⁠ticket:906


Submitting dist/kerberos-1.2.3.tar.gz to https://pypi.python.org/pypi