|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
33 - 30 = ?
Subscribe to this entry?

 [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: Fri Jun 02 09:03:36 2023 UTC