Fw: [linux-cifs-client] Can't create symlink on a windows share

William Marshall bmarsh at us.ibm.com
Fri Jan 16 21:00:08 GMT 2009


I wrote on 01/12/2009 04:41:02 PM:

> Volker wrote on 01/12/2009 03:41:44 PM:
> 
> > On Mon, Jan 12, 2009 at 10:36:02PM +0100, brice.rouanet at iut-tlse3.fr 
wrote:
> > > Yes, but with SFU and NFS we can create symlink I think, why samba 
> > > can't do the same thing ?
> > 
> > If you can show how a Windows client does this via the SMB
> > protocol, please send a sniff.

Initially I had a trace attached here, but that made the post too big. 
Steve and Volker have the trace, so I'll just send the output to the list.

>dir l:
 Volume in drive L is WWW
 Volume Serial Number is EC6D-93A9

 Directory of L:\

01/06/2005  07:00 AM            22,293 dasdusage.shtml
02/12/2008  05:19 PM    <DIR>          IBM HTTP Server 2.0
03/14/2003  10:20 PM    <DIR>          n2www before merge
07/08/2005  07:42 PM    <DIR>          Program Files
08/02/2006  09:58 AM    <DIR>          qnet
08/19/2003  04:28 PM    <DIR>          RCHS1TSK OLD DATA
01/06/2005  07:00 AM             1,530 rchs99hd.shtml
03/25/2003  05:07 PM    <JUNCTION>     www
               2 File(s)         23,823 bytes
               6 Dir(s)  15,530,983,424 bytes free

>ping  -n 1 rchn2www

>junction l:*

Junction v1.05 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2007 Mark Russinovich
Systems Internals - http://www.sysinternals.com

\\?\L:\www: JUNCTION
   Print Name     : E:\IBM HTTP Server 2.0
   Substitute Name: E:\IBM HTTP Server 2.0


>ping  -n 1 rchn2www

>junction l:\new "l:\IBM HTTP Server 2.0"

Junction v1.05 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2007 Mark Russinovich
Systems Internals - http://www.sysinternals.com

Created: l:\new
Targetted at: l:\IBM HTTP Server 2.0

>ping  -n 1 rchn2www

>junction l:*

Junction v1.05 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2007 Mark Russinovich
Systems Internals - http://www.sysinternals.com

\\?\L:\new: JUNCTION
   Substitute Name: l:\IBM HTTP Server 2.0

\\?\L:\www: JUNCTION
   Print Name     : E:\IBM HTTP Server 2.0
   Substitute Name: E:\IBM HTTP Server 2.0


>junction -d  l:\new

Junction v1.05 - Windows junction creator and reparse point viewer
Copyright (C) 2000-2007 Mark Russinovich
Systems Internals - http://www.sysinternals.com

Deleted l:\new.


Bill
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list