Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! Trying to configure SMB authentication apache2

Status
Not open for further replies.

GrahamBright

Programmer
Oct 31, 2003
65
AT
Hi all,

I'm at the end of the line trying to get Authen-Smb-0.91 and Apache2-AuthenSmb-0.01 (downloaded from cpan) working for Apache 2.0.54 running on SUSE Linux 9.2. Can anyone plese recommend an easier method?

Op_system: SUSE Linux 9.2
perl version 5.8.5
mod_perl 2.0.1


I've installed mod_perl-2.0.1 and configured by httpd.conf with
LoadModule perl_module /usr/local/apache2/modules/mod_perl.so

I've updated by httpd.conf with


<Directory /usr/local/httpd/cgi-bin/>
# This is the standard authentication stuff
AuthName "Mobilkom NT Authentication"
AuthType Basic

# Variables you need to set, you must set at least
# the myPDC variable, the DOMAIN defaults to WORKGROUP
PerlSetVar myPDC DCRFG
PerlSetVar myBDC DCBAS
PerlSetVar myDOMAIN MOBILKOM

PerlAuthenHandler Apache::AuthenSmb

# Standard require stuff, only user and
# valid-user work currently
require valid-user
</Directory>


but everytime I try the authenticaiton I get back in my error.log

Apache::AuthenSmb': Can't locate Apache/Constants.pm in @INC

Any help please

Gb.
 
error

[Mon Jul 25 15:21:15 2005] [error] [client 10.241.134.198] failed to resolve handler `Apache::AuthenSmb': Can't locate Apache/Constants.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/i586-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl . /srv/www) at /usr/lib/perl5/site_perl/5.8.5/Apache/AuthenSmb.pm line 4.\nBEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.5/Apache/AuthenSmb.pm line 4.\nCompilation failed in require at (eval 2) line 3.\n, referer:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top