Why is that when you create a share, the default is 'msdfs root = yes'? Also, why is that a share that is set 'msdfs root = yes' -- or, rather, a share that does /not/ set 'msdfs root = no' -- advertises that it is a DFS root to the Linux CIFS client, /even /when 'host msdfs = no'? This sounds like A) a bug (ignoring 'host msdfs', and B) a misfeature (msdfs root should probably /not/ default to yes).
Rob Shinn wrote:> Why is that when you create a share, the default is 'msdfs root = yes'? > Also, why is that a share that is set 'msdfs root = yes' -- or, rather, > a share that does /not/ set 'msdfs root = no' -- advertises that it is a > DFS root to the Linux CIFS client, /even /when 'host msdfs = no'? This > sounds like A) a bug (ignoring 'host msdfs', and B) a misfeature (msdfs > root should probably /not/ default to yes).The default for 'msdfs root' was changed to 'no' in, I believe, samba 3.0.25. If you're using a version earlier than that, I suggest putting 'msdfs root = no' in the global section of smb.conf. That seems to disable it for all shares. I ran into similar issues with this problem and the [homes] share, ah la samba bug 4398. Be aware that you generally have to reboot the _client_ machine(s) in order for changes to the 'msdfs root' parameter to be recognized. -Brian -- --------------------------------------------------- Brian H. Nelson Youngstown State University System Administrator Media and Academic Computing bnelson[at]cis.ysu.edu ---------------------------------------------------
On Thu, Jul 31, 2008 at 6:42 PM, John Drescher <drescherjm@gmail.com> wrote:> On Thu, Jul 31, 2008 at 4:58 PM, Ryan Novosielski <novosirj@umdnj.edu> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Brian H. Nelson wrote: >>> Rob Shinn wrote: >>>> Why is that when you create a share, the default is 'msdfs root = yes'? >>>> Also, why is that a share that is set 'msdfs root = yes' -- or, rather, >>>> a share that does /not/ set 'msdfs root = no' -- advertises that it is a >>>> DFS root to the Linux CIFS client, /even /when 'host msdfs = no'? This >>>> sounds like A) a bug (ignoring 'host msdfs', and B) a misfeature (msdfs >>>> root should probably /not/ default to yes). >>> >>> The default for 'msdfs root' was changed to 'no' in, I believe, samba >>> 3.0.25. If you're using a version earlier than that, I suggest putting >>> 'msdfs root = no' in the global section of smb.conf. That seems to >>> disable it for all shares. >>> >>> I ran into similar issues with this problem and the [homes] share, ah la >>> samba bug 4398. Be aware that you generally have to reboot the _client_ >>> machine(s) in order for changes to the 'msdfs root' parameter to be >>> recognized. >> >> Any clue when it was changed to yes? I hadn't noticed it myself, and am >> sort of wary of this kind of thing (something taking place that I didn't >> ask for). >> > I think the change was just the opposite: > > http://us6.samba.org/samba/history/samba-3.0.25a.html > > John >-- John M. Drescher