Edit report at http://bugs.php.net/bug.php?id=50542&edit=1
ID: 50542 Comment by: sbalazic at gmail dot com Reported by: dd at headlineweb dot nl Summary: scandir() cannot open UNC paths since PHP 5.3.1 Status: Open Type: Bug Package: *Directory/Filesystem functions Operating System: win32 only - W2003 PHP Version: 5.3.1 Assigned To: pajoye New Comment: Hi all, is there any solution for this problem? I have the same problem I have this configuration: - W2k3 - IIS 6.0 - PHP version 5.2.6 (triend with PHP 5.2.13) If someone of you can give me some more information about solving this issue will be very appreciate. thnks Previous Comments: ------------------------------------------------------------------------ [2010-06-02 11:18:23] dd at headlineweb dot nl hi all, its long time ago, but i've solved my problem partially. i have not been working on this problem a long time till yesterday. if i deselect "integrated windows authentication" and select "basic authentication" and fill in the realm and default domain boxes. the problem is solved and unc works fine, but then i get a login screen when i open the page. (so IE does not send my credentials anymore) if i switch it back to the old config, the page loads without login box (IE sends my credentials to the website) but UNC paths wont work. what can i do about this? ------------------------------------------------------------------------ [2010-03-23 12:11:10] paj...@php.net It may be different in the various IIS versions (different ways to configure it, between 5, 6 or 7.x) but the principle is exactly the same. We have tested using IIS6 and 7.x and it works perfectly. ------------------------------------------------------------------------ [2010-03-23 11:57:27] dd at headlineweb dot nl But the above solution does not apply IIS 6, Only > 7? ------------------------------------------------------------------------ [2010-03-09 17:01:23] bramus at bram dot us Hi Pajoye, my last comment was wrong (had a cached version of a test I ran, therefore I had wrong results). The correct solution is to actually set the "Physical Path Credentials" and leave "Physical Path Credentials Logon Type" as it is (viz. "ClearText"). This however raises an IIS bug that the credentials of the Application Pool don't get passed to the path correctly, although it's set to take over the App Pool credentials. Anywho, for now the issue indeed is solved indeed; A tad bit of documentation would be handy indeed ;-) Regards, B! ------------------------------------------------------------------------ [2010-03-09 16:42:14] paj...@php.net Ah! I was beginning to think that I was either stupid, blind or both :) Can I consider this issue as solved (but need to be documented, cruelly)? ------------------------------------------------------------------------ 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=50542 -- Edit this bug report at http://bugs.php.net/bug.php?id=50542&edit=1