Hi! > Write a test script using Authen::Smb and run it from the commandline. > You can copy-paste the synopsis portion of the Authen::Smb documentation > (i.e. perldoc Authen::Smb). > > If (you can connect and and authenticate from the commandline) { > the problem resides in your mod_perl installation, > # either an @INC problem, or re-install mod_perl. > }
Yes! I can connect and and authenticate from the command line. I don't think that authenticatuion doesn'work in apache because of the @INC problem, because 'httpd -t' doesn't complain on it. It just says -- 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 346 of httpd.conf contains 'PerlModule Apache::AuthenSmb') So, I probably have wrong mod_perl installation. But reinstalling it did not help. I used these options: -- perl Makefile.PL \ APACHE_SRC=/u01/soft/apache_1.3.22rusPL30.9 \ DO_HTTPD=1 \ USE_APACI=1 \ PREP_HTTPD=1 \ EVERYTHING=1 -- Looking in different docs I could't find other options that might help. Maybe you suggest ones? -- Andrew.