Bug #51945 [Opn->Asn]: Symlink() Fails On DFS Shares
Edit report at http://bugs.php.net/bug.php?id=51945&edit=1
ID: 51945
Updated by: tony2001@php.net
Reported by: v-sumada at microsoft dot com
Summary: Symlink() Fails On DFS Shares
-Status: Open
+Status: Assigned
Type: Bug
Package: Filesystem function related
Operating System: windows 2008, 2008R2,2003
PHP Version: 5.3.2
-Assigned To:
+Assigned To: pajoye
Previous Comments:
------------------------------------------------------------------------
[2010-05-28 19:20:01] v-sumada at microsoft dot com
Description:
------------
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:
---------------
<?php
$path ='\\\\winhost-name\\namespace\\folder\\';
$dir_name = "symlinkdir";
$symlink_name = "symlinktodir";
var_dump(mkdir($dir_name,0777,true));
var_dump(symlink($dir_name,symlink_name));
?>
Expected result:
----------------
bool(true)
bool(true)
Actual result:
--------------
bool(true)
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51945&edit=1
Thread (5 messages)