[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No Subject
Hello
I'm trying to compile mod_auth_kerb on an OpenBSD 3.0 system(heimdal-0.3a)
and get hit with the following errors:
cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208104 -DEAPI -DUSE_EXPAT
-I../lib/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include
-I/usr/include/kerberosV -DKRB5 -DKRB_DEF_REALM=\"bob.hostname.tld\" -c
mod_auth_kerb.c
mod_auth_kerb.c:154: warning: initialization makes pointer from integer
without a cast
mod_auth_kerb.c:156: warning: excess elements in struct initializer
mod_auth_kerb.c:156: warning: (near initialization for `tgtname')
mod_auth_kerb.c: In function `kerb_validate_user_pass_V5':
mod_auth_kerb.c:1016: request for member `length' in something not a
structure or union
mod_auth_kerb.c:1017: request for member `data' in something not a
structure or union
mod_auth_kerb.c:1019: request for member `length' in something not a
structure or union
mod_auth_kerb.c:1020: request for member `data' in something not a
structure or union
mod_auth_kerb.c: In function `kerb_validate_ticket_V5':
the offending code is:
/* Get tgt */
if (code = krb5_build_principal_ext(kcontext, &server,
krb5_princ_realm(kcontext, me)->length,
krb5_princ_realm(kcontext, me)->data,
tgtname.length, tgtname.data,
krb5_princ_realm(kcontext, me)->length,
krb5_princ_realm(kcontext, me)->data,
0)) {
Searching the internet via Google turned up nothing regarding
mod_auth_kerb and heimdal.
I understand there are differences between the MIT API and heimdals. I'm
just asking for pointers to a fix?
thanks
- Follow-Ups:
- Re: none
- From: joda@pdc.kth.se (Johan Danielsson)