Per Einar Ellefsen wrote:

> [Please keep your replies on the list]
>
> At 16:21 11.02.2002 +0400, Andrew Afliatunov wrote:
> >Per Einar Ellefsen wrote:
> >
> > > Hi Andrew,
> > >
> > > At 12:56 11.02.2002 +0400, Andrew Afliatunov wrote:
> > > ><Directory "/u01/httpd/docs/admin">
> > > >     Options Indexes FollowSymLinks Includes
> > > >     AllowOverride None
> > > >         AuthType Basic
> > > >         PerlSetVar myPDC e250.taom.lan
> > > >         PerlSetVar myBDC e250.taom.lan
> > > >         PerlSetVar myDOMAIN ACADEMY
> > > >         AuthName "Administrator's page"
> > > >         require user u0100659
> > > >     PerlAuthenHandler Apache::AuthenSmb
> > > ></Directory>
> > > >).
> > >
> > > Have you loaded Apache::AuthenSmb before setting it as a PerlAuthenHandler
> > > ? The PerlAuthenHandler directive won't load the module for you, you need
> > > either
> > > PerlModule Apache::AuthenSmb
> > > in your httpd.conf, before the PerlAuthenHandler directive,
> >
> >When I put this in httpd.conf, 'apachectl configtest' gives this:
> >--
> >Syntax error on line 346 of /usr/local/apache/conf/httpd.conf:
> >Can't load
> >'/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Authen/Smb/Smb.so' for
> >module Authen::Smb: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation
> >error: file
> >/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/Authen/Smb/Smb.so:
> >symbol main: referenced symbol not found at
> >/usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
> >  at /usr/local/lib/perl5/site_perl/5.6.1/Apache/AuthenSmb.pm line 5
> >Compilation failed in require at
> >/usr/local/lib/perl5/site_perl/5.6.1/Apache/AuthenSmb.pm line 5.
> >BEGIN failed--compilation aborted at
> >/usr/local/lib/perl5/site_perl/5.6.1/Apache/AuthenSmb.pm line 5.
> >Compilation failed in require at (eval 3) line 3.
> >--
> >Line 5 of AuthenSmb.pm contains 'use Authen::Smb'. Why apache can't find it?
> >(Smb.pm does exist.)
>
> This is a different problem: It's related to your Authen::Smb installation
> (which Apache::AuthenSmb makes use of to handle its authentication
> requests). You might want to try and re-install it.
>

Yes, I guessed that it's a problem with Authen::Smb. I tried to reinstall it -
without success. By the way, on another our machine with SunOS 5.7 the same
configuration apache+mod_perl+Authen works perfectly, though I didn't put
'PerlModule Apache::AuthenSmb' in httpd.conf there.


--
Andrew



Reply via email to