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

 ID:               50542
 User updated by:  dd at headlineweb dot nl
 Reported by:      dd at headlineweb dot nl
 Summary:          scandir() cannot open UNC paths since PHP 5.3.1
-Status:           Feedback
+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,



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?


Previous Comments:
------------------------------------------------------------------------
[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)?

------------------------------------------------------------------------
[2010-03-09 16:26:05] bramus at bram dot us

Hi Pajoye,



thanks for your fast reply. I've dugg a bit deeper (thanks to your link)
and got it working by leaving ""Physical Path Credentials" untouched
(viz. take over the credentials from the Application Pool) and by
changing the "Physical Path Credentials Logon Type" from "ClearText" to
"Network".



By doing so it now works fine.



Regards and thanks for your help,

Bram.

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


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

Reply via email to