Re: [Samba] per share way to not follow msdfs links
- Date: Thu, 20 Sep 2018 14:41:35 -0700
- From: Aurélien Aptel via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] per share way to not follow msdfs links
Re-sending with right email...
msdfs root is set to "no" by default and is per-share.
msdfs root = no
path = ...
Should do the trick.
Otherwise if mounting on linux you can also use the 'nodfs' mount option
(mount.cifs //host/share/... /mnt/ -o ...,nodfs) to disable DFS
resolving and automatic sub-mounting.
Chad W Seys <cwseys@xxxxxxxxxxxxxxxx> writes:
> Hi Aurélien,
> Thanks! The mount option nodfs worked if I also used vers=1.0, but
> otherwise msdfs resolving still occurred. (Looks like cifs uses a
> higher smb version if vers=1.0 not specified.) I'll send an email to
> the CIFS kernel mailing list.
Yep, sounds like a bug indeed. You still have the option to edit the smb.conf
on the server side if you want to use smb2+.
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
To unsubscribe from this list go to the following URL and read the