I am attempting to set up an administrative web-interface to a script I
swiped from the net that finds open files on a specified server.
The script uses Win32::Lanman and runs fine from the command line on the
server that houses the web server.
The web server is apache and the pages are secured using basic
authentication through apache.
I keep getting a return code of 5 from the Lanman module when the script
gets to the enumeration portion.(see code below)
--------------------------------
if(!Win32::Lanman::NetFileEnum("\\\\$server", '', '', \@infos))
{
print "Sorry, something went wrong; error: ";
# get the error code
print Win32::Lanman::GetLastError();
exit 1;
}
--------------------------------
I have searched through the lanman.pm module and found a reference to
"access denied" in relation to this error code and method call.
My question: Has anyone set up anything similar? If so, how did you set it
up?(did you use the same architecture?)
Thanks for any help,
Kevin Ailes
Administrator
OTTO Engineering
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin