[cifs-protocol] is it possible to rename a dfs referral target?

James Pan jmpret at yahoo.cn
Tue Nov 20 22:38:46 MST 2012


Hi everyone,
I have two servers (10.0.0.13, 10.0.0.14) running samba server.
10.0.0.13 is configured as dfs root, the smb.conf file is as below:
 
[dfsroot]
path = /mnt/dfsroot
msdfs root = yes
....
 
then under /mnt/dfsroot on 10.0.0.13 I created a dir "abc" and two links:
link1 --> msdfs:\\10.0.0.13\dfsroot\abc
link2 --> msdfs:\\10.0.0.14\dfsroot\abc
 
I created the same dir "abc" on 10.0.0.14
 
So if i visit \\10.0.0.13\dfsroot\link1 or \\10.0.0.13\dfsroot\link2 it will be refered to \\10.0.0.13\dfsroot\abc and \\10.0.0.14\dfsroot\abc respectively.
 
Now if I tried to rename \\10.0.0.13\dfsroot\link1 it will succeed and the dir "abc" will be renamed to the newname. But if I tried to rename \\10.0.0.13\dfsroot\link2, the request will be refused.
 
My question is: is it possible to rename \\10.0.0.13\dfsroot\link2?
 
many thanks in advance!


Best regards,

James Pan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20121121/1375a0ac/attachment.html>


More information about the cifs-protocol mailing list