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

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

Hi everyone,
Sorry for bothering.
I have two servers (, running samba. is configured as dfs root, the smb.conf file is as below:
path = /mnt/dfsroot
msdfs root = yes
then under /mnt/dfsroot on I created a dir "abc" and two links:
link1 --> msdfs:\\\dfsroot\abc
link2 --> msdfs:\\\dfsroot\abc
I also created the same dir "abc" on
So if I visit \\\dfsroot\link1 or \\\dfsroot\link2 it will be refered to \\\dfsroot\abc and \\\dfsroot\abc respectively.
Now I find I can successfully change the name of dir "abc" on by renaming \\\dfsroot\link1, after rename the dir "abc" will have the new name. But if I tried to rename \\\dfsroot\link2, the request will be refused.
My question is: is it possible to rename the dir "abc" on through \\\dfsroot\link2 ?
many thanks in advance!
Best regards,

James Pan

More information about the samba-technical mailing list