#27051 [NoF->Asn]: Impersonation with FastCGI does not EXEC process as impersonated user
From: pajoye@php.net Date: Tue, 22 Sep 2009 20:04:57 +0000 Subject: #27051 [NoF->Asn]: Impersonation with FastCGI does not EXEC process as impersonated user References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-142715@lists.php.net to get a copy of this message
ID: 27051
Updated by: pajoye@php.net
Reported By: ghoffer at globalscape dot com
-Status: No Feedback
+Status: Assigned
Bug Type: Feature/Change Request
Operating System: Windows
PHP Version: 5.3
Assigned To: pajoye
New Comment:
Stupid auto no feedback.
Previous Comments:
------------------------------------------------------------------------
[2009-09-16 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-09-08 17:58:55] pajoye@php.net
Just a quick note about the user profile, it is not set (by design) so
I won't try to access the profile data.
More on the impersonated problem later.
------------------------------------------------------------------------
[2009-09-07 22:42:29] benadler at gmx dot net
I checked using Process Monitor - convert.exe is NOT started by the
correct user:
User: NT AUTHORITY\NETWORK SERVICE
Auth ID: 00000000:000003e4
------------------------------------------------------------------------
[2009-09-07 11:34:10] pajoye@php.net
I'm not sure the users environment is set, that's a different thing.
But is it the correct user?
------------------------------------------------------------------------
[2009-09-07 11:17:13] benadler at gmx dot net
Hope I'm not too verbose. Maybe it helps to see that calling this
exec("d:/programme/imagemagick/convert.exe -density $density
$baseDirectory/$bookId/document.pdf -quality 95
$baseDirectory/$bookId/$version/page_%04d.jpg", $output);
print_r($output);
in a script run by the webserver (as above) causes this:
Array
(
[0] => Error: /invalidfileaccess in --showpage--
[1] => Operand stack:
[2] => --nostringval-- 1 true
[3] => Execution stack:
[4] => %interp_exit .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1905
1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3
%oparray_pop --nostringval-- --nostringval-- 2 1 4
--nostringval-- %for_pos_int_continue --nostringval--
--nostringval-- 1777 1 9 %oparray_pop --nostringval--
--nostringval--
[5] => Dictionary stack:
[6] => --dict:1155/1684(ro)(G)-- --dict:1/20(G)--
--dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)--
--dict:275/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)--
--dict:22/40(L)--
[7] => Current allocation mode is local
[8] => Last OS error: Bad file descriptor
)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27051
--
Edit this bug report at http://bugs.php.net/?id=27051&edit=1
Thread (50 messages)
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Opn->Asn]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Asn->Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [NoF->Asn]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Asn->Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- #27051 [NoF->Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [NoF->Csd]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Csd]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Csd]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Csd]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Csd]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Csd->Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
- Bug #27051 [Fbk->Tbd]: Impersonation with FastCGI does not EXEC process as impersonated user
| « previous | php.bugs (#142715) | next » |
|---|