Web lists-archives.com

Re: [Samba] per share way to not follow msdfs links




Hi

On Thu, Sep 20, 2018, 4:43 PM Aurélien Aptel via samba <
samba@xxxxxxxxxxxxxxx> wrote:

> Re-sending with right email...
>
>  msdfs root is set to "no" by default and is per-share.
>
>      [myshare]
>      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ürn
> <https://maps.google.com/?q=Linux+GmbH,+Maxfeldstra%C3%9Fe+5,+90409+N%C3%BCrn&entry=gmail&source=g>berg,
> 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
> instructions:  https://lists.samba.org/mailman/options/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba