|  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: 2017-10-24 07:51 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: requinix (profile)
Status: Closed Package: Filesystem function related
PHP Version: 5.3.2 OS: windows 2008, 2008R2,2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: v-sumada at microsoft dot com
New email:
PHP Version: OS:


 [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)"
 [2017-10-24 07:31 UTC]
-Status: Assigned +Status: Open -Assigned To: pajoye +Assigned To:
 [2017-10-24 07:51 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: requinix
 [2017-10-24 07:51 UTC]
Closing per cresstone's comment.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Jun 06 09:03:41 2023 UTC