ID: 42096
Updated by: [email protected]
Reported By: michael202 at gmx dot de
Status: Assigned
Bug Type: Streams related
Operating System: win32 only - Windows
PHP Version: 5.2*
Assigned To: pajoye
New Comment:
Ok, I was able to reproduce a similar problem. It looks like it fails
to detect the UNC path. I have to analyze further to see why it fails
now.
Previous Comments:
------------------------------------------------------------------------
[2009-12-14 20:05:06] roelvs at hotmail dot com
To help you isolate the problem, a sample code snippet producing the
SMB trouble:
$filename="test.dat";
$dataFile = fopen( $filename, "r" ) ;
if($dataFile) {
while (!feof($dataFile)) {
$buffer = fgets($dataFile, 4096);
}
fclose($dataFile);
}
else {
die( "fopen failed for $filename" ) ;
}
/*(to be executed from smb share!)*/
------------------------------------------------------------------------
[2009-12-14 15:40:07] roelvs at hotmail dot com
The bug is still in 5.2.11 on windows 2008 x64. We use a Windows
fileserver (DFS), fastcgi.
the results in a slowdown of traffic, and what seems to be unnecessary
load for the PHP server.
the UNC paths used look like \\NASdepart.acad.kahosl.be\home
in a sniffing session this results in
\\NASdepart.acad.kahosl.be\hom
and the described error. (status_bad_network_name)
After this error, it looks like PHP tries to recover using a
time-consuming iterative directory lookup.
If necessary, I can provide a screenshot showing the problem, although
I am not an SMB protocol specialist...
------------------------------------------------------------------------
[2009-12-05 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2009-11-27 22:33:00] [email protected]
Can't reproduce it here. Please provide a script to reproduce this
problem, like the UNC path you use as well as which Windows version.
------------------------------------------------------------------------
[2009-11-27 17:21:59] [email protected]
I have to verify with UNC path and 5.2.
------------------------------------------------------------------------
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/42096
--
Edit this bug report at http://bugs.php.net/?id=42096&edit=1