Download the new Filemon from Sysinternals.  Run it while you're trying
to do your thing.  I BELIEVE it now tells you the userid that was denied
access to a file.  

-----Original Message-----
From: Ken Cornetet [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 20, 2003 8:00 AM
To: [EMAIL PROTECTED]
Subject: RE: unprivileged userID's and loading DLL's

A couple of thoughts:

1. Can you log in as the apache user and actually run the cgi script?

2. User rights assignments don't take effect until the user logs in. Did
you restart the apache service after fiddling with the rights
assignments? I seem to have vague memories that when I was trying such
things, a reboot may be required to insure the service picks up the new
rights.

-----Original Message-----
From: Paul Jansen [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 20, 2003 2:51 AM
To: [EMAIL PROTECTED]
Subject: unprivileged userID's and loading DLL's


This is infuriating me.  I've done lots of web
searches with various terms and have come up with
nothing but the same question from others.  I'm hoping
someone might be able to help?

I'm running a perl script as a CGI-app under apache on
a windows NT box.  Apache is running is a regular pleb
user with not many rights.  The script wants to use
DBD::ODBC to get at an access database on the local
machine.
I get this error:

Can't load 'd:/Perl/site/lib/auto/DBD/ODBC/ODBC.dll'
for module DBD::ODBC: load_file:Access is denied at
d:/Perl/lib/DynaLoader.pm line 200.  at d:\apache\cgi-bin\DISK_S~2.PL
line 8 Compilation failed in require at d:\apache\cgi-bin\DISK_S~2.PL
line 8. BEGIN failed--compilation aborted at
d:\apache\cgi-bin\DISK_S~2.PL line 8.

I've logged on as the apache user and verified that it
has rights to get at this dll.  It had read rights and
I even changed it to 'full control'  but that didn't
make any difference.  If I put the apache user in the administrators
group the script runs fine so obviously this si a 'rights' issue. I've
gone through the advanced user rights and I tried 'load and unload
device drivers' but giving that to the apache user hasn't helped. Surely
someone has come across this before and found a fix. Thanks in advance
for any tips to solve this one!

PJ

http://mobile.yahoo.com.au - Yahoo! Mobile
- Exchange IMs with Messenger friends on your Telstra or Vodafone mobile
phone. _______________________________________________
Perl-Win32-Admin mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to