On Tue, Apr 19, 2022 at 12:23:31PM -0000, Stuart Henderson wrote:
> On 2022-04-18, Maksim Rodin <a23s4a2...@yandex.ru> wrote:
> > Hello,
> > I am trying to build mod_auth_kerb for apache2 on OpenBSD 6.9
> > I installed heimdal-libs-7.7.0p0 and downloaded the latest src for
> > mod_auth_kerb from github
> > After unpacking and configuring the following way:
> > ./configure --with-krb5=/usr/local/heimdal --with-krb4=no
> > I try to run 'make'
> > I get a bunch of warnings like these:
> >
> > ```
> > /usr/local/heimdal/include/krb5-protos.h:18:52: note: expanded from macro 
> > 'KRB5_DEPRECATED_FUNCTION'
> > #define KRB5_DEPRECATED_FUNCTION(x) __attribute__((__deprecated__(x)))
> >                                                    ^
> > src/mod_auth_kerb.c:1547:47: warning: incompatible pointer types passing 
> > 'request_rec *' (aka 'struct request_rec *') to parameter of type 'const 
> > char *'
> >       [-Wincompatible-pointer-types]
> >                         log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
> 
> This suggests that it is not compatible with the API of the version of
> Apache HTTPD that you're trying to use it with.
> 
> You might have better luck with https://github.com/S2-/mod_auth_kerb
> but that is still years old and might not work either

Last I looked at mod_auth_kerb (in the context of SVN server auth in my case),
it was is a dead end. It is a 3rd party module, written against Apache 1.x,
and was never updated to Apache 2.x APIs. And it has licencing issues.

Might have better luck with mod_auth_gssapi.

Reply via email to