[PATCH] FreeBSD Port: www/mod_authenticache

View: New views
3 Messages — Rating Filter:   Alert me  

[PATCH] FreeBSD Port: www/mod_authenticache

by jbondc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had some issues with this apache module say if I had the following config:

 

<Location />

    Require user jbondc

</Location>

 

<Location /MADOLAINE >

    Require user mado

</Location>

 

When going over to /MADOLAINE, the module would re-use cached information.
The patch checks if new auth info is provided.

 

# Behavior without patch (credentials re-used)

 

[Sat Oct 24 15:58:21 2009] [info] [client xxxxxx] mod_authenticache: valid
ticket from jbondc for /

[Sat Oct 24 15:59:54 2009] [info] [client xxxxxx] mod_authenticache: valid
ticket from jbondc for /MADOLAINE

[Sat Oct 24 15:59:54 2009] [error] [client xxxxxx] access to /MADOLAINE
failed, reason: user jbondc not allowed access

 

# With patch (if new username/password provided, don't use cookie)

[Sat Oct 24 15:58:21 2009] [info] [client xxxxxx] mod_authenticache: valid
ticket from jbondc for /

[Sat Oct 24 16:00:06 2009] [error] [client xxxxxx] PAM: user 'mado' - not
authenticated: authentication error

 



_______________________________________________
freebsd-apache@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "freebsd-apache-unsubscribe@..."

check_user.patch (1K) Download Attachment

Re: [PATCH] FreeBSD Port: www/mod_authenticache

by Philip M. Gollucci :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jonathan Bond-Caron wrote:
> I had some issues with this apache module say if I had the following config:

you should send this upstream to the module author rather then the
FreeBSD port.  If the module is unmaintained, we can include it in the
tree directly

--
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@...) c: 703.336.9354
Consultant          - P6M7G8 Inc.                http://p6m7g8.net
Senior Sys Admin    - RideCharge, Inc.           http://ridecharge.com
ASF Member          - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation         http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
_______________________________________________
freebsd-apache@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "freebsd-apache-unsubscribe@..."

RE: [PATCH] FreeBSD Port: www/mod_authenticache

by jbondc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat Oct 24 10:50 PM, Philip M. Gollucci wrote:
> Jonathan Bond-Caron wrote:
> > I had some issues with this apache module say if I had the following
> config:
>
> you should send this upstream to the module author rather then the
> FreeBSD port.  If the module is unmaintained, we can include it in the
> tree directly
>

Thanks, wasn't sure if someone else was maintaining it, the author is
Copyright (c) 2002 Anthony D. Urso. (anthonyu)

After googling, I e-mailed him at anthonyu@...


_______________________________________________
freebsd-apache@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-apache
To unsubscribe, send any mail to "freebsd-apache-unsubscribe@..."