Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user

From: Date: Wed, 24 Mar 2010 22:50:21 +0000
Subject: Bug #27051 [Com]: Impersonation with FastCGI does not EXEC process as impersonated user
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-148961@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=27051&edit=1

 ID:               27051
 Comment by:       heer2351 at zonnet dot nl
 Reported by:      ghoffer at globalscape dot com
 Summary:          Impersonation with FastCGI does not EXEC process as
                   impersonated user
 Status:           Feedback
 Type:             Bug
 Package:          CGI related
 Operating System: Windows
 PHP Version:      5.3
 Assigned To:      pajoye

 New Comment:

I am using a simple test script to do the test:
<?php
echo exec('cmd /c echo Hello World!');
?> 

FastCGI impersonation:
In PHP.ini
fastcgi.impersonate = 1

IIS:
Anonymous Authentication = On 
User is same user as Application Pool user

User has been added to IIS_WPG


Previous Comments:
------------------------------------------------------------------------
[2010-03-24 23:40:45] pajoye@php.net

And how exactly did you configure FCGI (impersonation). As your
configuration is exactly one of my tests configuration, and it works
just fine.

------------------------------------------------------------------------
[2010-03-24 23:39:38] pajoye@php.net

Yes, which command do you call?

------------------------------------------------------------------------
[2010-03-24 23:22:18] heer2351 at zonnet dot nl

Maybe superfluous, but the only change I make is in the fcgiext.ini

I change the ExePath from:
ExePath=D:\PHP\PHP_5_2_13\php-cgi.exe
No fork error

To
ExePath=D:\PHP\PHP_5_3_3_dev\php-cgi.exe
Fork error

Rights are assigned on D:\PHP and inherit down, so that can not be the
problem. No other changes to my environment for the problem to appear.

------------------------------------------------------------------------
[2010-03-24 23:17:05] heer2351 at zonnet dot nl

5.3.3.dev did not solve the problem

Had most versions in my first post:
PHP 5.3.2 (cgi-fcgi) (built: Mar  3 2010 20:47:00)
FastCGI DLL Version 7.5.7693.0
Microsoft Windows Server 2003R2
IIS6 - dll's have version 6.0.3790.1830

Do you need anymore information?

------------------------------------------------------------------------
[2010-03-24 23:07:38] pajoye@php.net

Then I need more details about your exact configuration (windows
version, IIS version, fastcgi version, etc.)

------------------------------------------------------------------------


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/bug.php?id=27051


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=27051&edit=1


Thread (50 messages)

« previous php.bugs (#148961) next »