Controlling which handlers run, and when

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Controlling which handlers run, and when

I'm trying to combine mod_authnz_ldap with a mod_perl PerlAuthenHandler.  I've got everything working correctly except that the mod_authnz_ldap handler is being called twice…once before my PerlAuthenHandler [when the request has not been properly configured] and once after.

This is a problem.  I've been able to see this flow by using AuthzLDAPAuthoritative off. [to get a "DECLINED" out of the first invocation].  When I do, my require ldap-filter, etc., directives are not treated as authoritative on the "second pass" when the request user has been set correctly.

--Pete

---
Peter L. Thomas, pthomas@xxxxxxxx
(w) 703-682-5308 (c) 703-615-7806 (pgr) 877-383-8910
<<Thomas, Peter L. (pthomas@xxxxxxxx).vcf>>

BEGIN:VCARD
VERSION:2.1
N:Thomas;Peter;L.
FN:Thomas, Peter L. (pthomas@xxxxxxxx)
ORG:HPTi
TITLE:Leadership
TEL;WORK;VOICE:(703) 682-5308
TEL;HOME;VOICE:(540) 668-7124
TEL;CELL;VOICE:(703) 615-7806
TEL;VOICE:(703) 957-9124
TEL;WORK;FAX:(703) 707-0103
ADR;WORK:;;13145 Sagle Rd;Purcellville;VA;20132-1835;United States
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:13145 Sagle Rd=0D=0APurcellville, VA 20132-1835=0D=0AUnited States
ADR;HOME:;;13145 Sagle Rd;Purcellville;VA;20132-1835;United States
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:13145 Sagle Rd=0D=0APurcellville, VA 20132-1835=0D=0AUnited States
URL;WORK:http://www.painless-computing.com/peteandpam
EMAIL;PREF;INTERNET:pthomas@xxxxxxxx
REV:20090825T170420Z
END:VCARD
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux