[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mod_lua + mod_authz_svn: Problem with authenticating user and mod_authz_svn behaviour

From: Torsten Krah <krah.tm_at_gmail.com>
Date: Thu, 25 Jan 2018 13:52:14 +0100

Am Mittwoch, den 24.01.2018, 15:49 +0100 schrieb Torsten Krah:
> I'll do not yet have an idea how to determine if auth is configured -
> because for a unknown reason to me (i don't know the code well) - the
> module wants to get that info and delegates that decision to the
> condition:
>
> ap_auth_type(r) != NULL
>
> As described this is NULL, but the authentication hook from LUA is in
> place so there is actually some authentication configured.
> I'll still have a question running about that on the httpd list -
> what's
> the best way to handle that and get that info (if we need that info at
> all - i am not sure about that).

About that open question i'll received an answer on the httpd list.
Eric Covener answered that it is possible to get that info (there is
some code in mod_info.c which does get that info) but he added:

    It does seem like a risky idea to do it for anything but problem
    determination, though.

So the question remains - why must atuhz_svn needs that info and is it
possible to remove that condition at all and just continue on the stack
to see what it returns?
May be the ones who added that code have some insights about that.

kind regards

Torsten

  • application/x-pkcs7-signature attachment: smime.p7s
Received on 2018-01-25 13:52:29 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.