ID: 50542 Updated by: paj...@php.net Reported By: dd at headlineweb dot nl -Status: Open +Status: Feedback Bug Type: *Directory/Filesystem functions Operating System: win32 only - W2003 PHP Version: 5.3.1 Assigned To: pajoye New Comment:
@dd at headlineweb dot nl We have setup a test environment with two windows server 2003. File/dir operations work as expected using 5.3.2RC2. However, it is important to verify that the php user (IUSR_xxx for example) actually has access to the share. That's also means that impersonate must be set. The default IIS user did not have access to the shares (or any other resources but www). You said earlier that impersonate is set and the user has access to the share. Can you verify that it is actually set? If it still fails, then we will cruelly need access to your config or at least the exact details about the settings you use on each server. So we can setup the exact same config in our labs (at Microsoft). Previous Comments: ------------------------------------------------------------------------ [2010-02-14 13:20:04] dd at headlineweb dot nl Hi pajoye, sorry, but it still does not solve my problem with this package: php-5.3.2RC2-nts-Win32-VC9-x86.zip ------------------------------------------------------------------------ [2010-02-13 12:15:00] paj...@php.net PHP 5.3.2RC2 has been released and contains a fix for network share. It would rock if you can give it a try. I also asked our test team to setup an environment to reproduce this issue (it works just fine for me in my local 2k3 servers). ------------------------------------------------------------------------ [2010-01-28 07:42:17] dd at headlineweb dot nl are you using DFS: Yes are you sure that this share is a DFS: No, this share itself is not DFS i thought you where talking about the server and not the path. As you see in my example code: hdlsrv is a DFS enabled server, but the share itself is not DFS. i'm sorry, maybe i misunderstood the question. the package you have me http://downloads.php.net/pierre/php-5.3.3-dev-nts-Win32-VC9-x86-dfsfix.zip does not solve the problem. ------------------------------------------------------------------------ [2010-01-27 16:46:44] s...@php.net Automatic comment from SVN on behalf of pajoye Revision: http://svn.php.net/viewvc/?view=revision&revision=294102 Log: - don't go through the reparse code when we have a share or DFS path (should fix #50542) ------------------------------------------------------------------------ [2010-01-27 16:30:44] paj...@php.net Sorry, but it is just confusing. ISAPI is not the problem and is not maintained anymore either. The only thing I need to know is whether the binary I gave works in your scenario or not. The one you reported initially. And to be sure that we are talking about the same thing, are you sure that this share is a DFS (Distributed File System) path? Anyway, all tests pass here, using the binary I gave earlier: http://downloads.php.net/pierre/php-5.3.3-dev-nts-Win32-VC9-x86-dfsfix.zip It is pointless to use 5.3.1, 5.3.0 or 5.2.x as they do not contain the fix about DFS. However 5.3.1 works just fine with normal shares (normal shared path on a given host). ------------------------------------------------------------------------ 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/50542 -- Edit this bug report at http://bugs.php.net/?id=50542&edit=1