I have mp2 (the 1.99 thru me off), that came from a Red Hat enterprise Package, along with Apache 2 and I do have your 70 version of Authen_Smb. I am getting the "Can't locate object method log_reason via Apache::RequestRec at /usr/lib/perl5/site_perl/5.8.0/Apache/Authen_Smb.pm" only when it is an actual windows user that isn't in the valid user list. If I use just a made up name and password that doesn't exist it works fine and tells me that they are not authorized. Is this a bug or an issue on my side?

Good on you. I'm glad you were persistent! I found the error, and I had just missed one line when porting the module. Change:


$r->log_reason("user $name: not authorized", $r->uri);

with:

MP2 ? $r->log_error("user $name: not authorized", $r->uri) : $r->log_reason("user $name: not authorized", $r->uri);

I will update the module and upload it as soon as possible.

thanks,
speeves
cws





--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to