is it possible to rename a dfs referral target from client?

James Pan jmpret at yahoo.cn
Wed Nov 21 18:28:27 MST 2012


Hi everyone,
Sorry for bothering.
I have two servers (10.0.0.13, 10.0.0.14) running samba.
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 also 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 I find I can successfully change the name of dir "abc" on 10.0.0.13 by renaming \\10.0.0.13\dfsroot\link1, after rename the dir "abc" will have the new name. 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 the dir "abc" on 10.0.0.14 through \\10.0.0.13\dfsroot\link2 ?
 
many thanks in advance!
Best regards,

James Pan


More information about the samba-technical mailing list