AW: Multiple authentication methods

2002-02-12 Thread Marcel Weber
It works I don't get the point why it did not work the other way round, but now everything is just fine now : package Apache::AuthenIntra; #use strict; use Apache::AuthenSmb; use Apache::AuthSybase; use Apache::Constants; sub handler { my $r = shift; my($res, $s

AW: Multiple authentication methods

2002-02-12 Thread Marcel Weber
Hi This way, I do not get any failure messages, but the authenication does not work at all. Say, it does not matter wat password your typing in, you get always authenticated. Even when one auf the handlers logs a violation and return AUTH_REQUIRED / DECLINED. package Apache::AuthenIntra; use st

AW: Multiple authentication methods

2002-02-12 Thread Marcel Weber
Thank you! I also tried something like this at first. But I get this error message in my apache/error.log [Tue Feb 12 20:20:59 2002] [error] Can't locate object method "handler" via package "Apache::AuthenS mb" (perhaps you forgot to load "Apache::AuthenSmb"?) at /usr/share/perl5/Apache/AuthenI

AW: Multiple authentication methods

2002-02-11 Thread Marcel Weber
Hmm, I fiddled a bit around whith this code but, it does not really work the way I want it to. This is what I coded: sub handler { my $r = shift; my($res, $sent_pw) = $r->get_basic_auth_pw; return $res if $res != OK; $r->push_handlers( PerlAuthenHandler=> Apache: