Re: [Fwd: Samba authorization]

2002-02-12 Thread Andrew Afliatunov

"Stathy G. Touloumis" wrote:

> It seems that the problem does not reside with Smb.pm but with the shared
> object file Smb.so

I reinstalled Authen-Smb, - Smb.so looks good :) and is there where it must
be. What may be wrong with this file?


--
Andrew







RE: [Fwd: Samba authorization]

2002-02-12 Thread Stathy G. Touloumis

It seems that the problem does not reside with Smb.pm but with the shared
object file Smb.so




[Fwd: Samba authorization]

2002-02-11 Thread Andrew Afliatunov



--- Begin Message ---

Per Einar Ellefsen wrote:

> Hi Andrew,
>
> At 12:56 11.02.2002 +0400, Andrew Afliatunov wrote:
> >
> > 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
> >
> >).
> >But when I try to go to the directory, apache says - "Internal Server
> >Error", and in error.log file I see "Undefined subroutine
> >&Apache::AuthenSmb::handler called". But all necessary files shurely
> >exist and they have appropriate rights. I can't understand what's the
> >matter? Please, help!
>
> 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.)


--- End Message ---