ID:               42096
 Updated by:       [email protected]
 Reported By:      michael202 at gmx dot de
-Status:           No Feedback
+Status:           Assigned
 Bug Type:         Streams related
 Operating System: win32 only - Windows
 PHP Version:      5.2*
 Assigned To:      pajoye


Previous Comments:
------------------------------------------------------------------------

[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.

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

[2009-11-27 17:18:56] michael202 at gmx dot de

First I gave up on this issue and switched to drive letters.
Now I tested php 5.3.1 and this bug is fixed !

It must have been an issue with php, because:

I have two parallel installations of php (5.2.6 and 5.3.1) on the same
computer.
If I switch between these I can produce the bug with 5.2.6 and I don't
have it with 5.3.1.

Again: for each access to a file with a UNC path, something truncates
the last character of the share name (here import -> impor) resulting in
hundreds of these error messages (/var/log/samba/log.smbd):

[2009/11/27 18:07:44, 0] smbd/service.c:make_connection(794)
  pro (1.2.7.1) couldn't find service impor

AND resulting in a very high load and a server hard reset.

Thanks !

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

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

Reply via email to