|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51945 Symlink() Fails On DFS Shares
Submitted: 2010-05-28 19:20 UTC Modified: 2010-06-08 11:48 UTC
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: v-sumada at microsoft dot com Assigned: pajoye
Status: Assigned Package: Filesystem function related
PHP Version: 5.3.2 OS: windows 2008, 2008R2,2003
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-05-28 19:20 UTC] v-sumada at microsoft dot com
We have a DFS Standalone namespace created at the 2008 Server with a new folder  which has been given a target as remote share .We are trying to create a symlink in this remote Share from 2008R2 Server for a directory and as well as File and Both the cases Fail.The Expected result is failure in  creating the symlink using symlink(). The processs Montior show with the result of "Name Not Found"  in creating a symlink.

Test script:
$path ='\\\\winhost-name\\namespace\\folder\\';
$dir_name = "symlinkdir";
$symlink_name = "symlinktodir";

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-08 11:48 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: pajoye
 [2011-11-29 15:42 UTC] php at cresstone dot com
This appears to be fixed in 5.4, tested using: "PHP 5.4.0RC2-dev (cli) (built: Nov 21 2011 20:03:16)"
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Aug 29 15:01:52 2017 UTC