From:             giunta dot gaetano at sea-aeroportimilano dot it
Operating system: Windows 2003
PHP version:      4.4.0
PHP Bug Type:     IIS related
Bug description:  php isapi does not impersonate app. pool user

Description:
------------
I had a very hard time trying to figure out which user will be used to
actually run the php processes on IIS 6+php isapi.

The server is configured in non-IIS5-compliant security mode, and php runs
fine, but it keeps using the windows user account configured for anonymous
website access, instead of the user account set for the Application Pool
connected to the website in question.

All MS docs state that web apps run under the user account/using the
privileges of the account defined for the App. Pool (by default NETWORK
SERVICE).

User comments on the online manual vary wildly: some users seem to have
had success in using the app. pool user, some using the anonymous
connection user.

Docs at
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/webapp/iis/appisoa.mspx#EGAA
indicate that in order for the web app to exibhit this behaviour, it has
to call the he Win32API RevertToSelf function, of which I sould finnd no
trace in the php source code, except for the FCGI module...

Am I missing something?


-- 
Edit bug report at http://bugs.php.net/?id=34871&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34871&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34871&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34871&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34871&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34871&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34871&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34871&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34871&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34871&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34871&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34871&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34871&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34871&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34871&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34871&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34871&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34871&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34871&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34871&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34871&r=mysqlcfg

Reply via email to