All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Add smb3 mount helper
       [not found] <CAH2r5mstkeagNZzxMZQdritnU53jsVOWW2kMN8bcfN2fL7CCOA@mail.gmail.com>
@ 2019-04-05  9:39 ` Aurélien Aptel
  2019-04-05 16:07   ` Pavel Shilovsky
  2019-04-05 17:06   ` Steve French
  0 siblings, 2 replies; 3+ messages in thread
From: Aurélien Aptel @ 2019-04-05  9:39 UTC (permalink / raw)
  To: Steve French, CIFS, samba-technical, Pavel Shilovsky

Steve French <smfrench@gmail.com> writes:
>     We want to encourage use of more secure SMB3, and don't want
>     people using cifs and this new helper makes it less confusing:
>          "mount -t smb3"
>     rather than
>          "mount -t cifs"
>     Users can still mount the old way, but if they use smb3 mount
>     helper (mount.smb3 or "mount -t smb3") it will be less confusing
>     and less likely to use older insecure dialects.

I don't think duplicating the source is a good idea. Could we just make
a symlink or hardlink at installation? Alternatively move the common
code to a separate file.


Cheers,
-- 
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, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Add smb3 mount helper
  2019-04-05  9:39 ` Add smb3 mount helper Aurélien Aptel
@ 2019-04-05 16:07   ` Pavel Shilovsky
  2019-04-05 17:06   ` Steve French
  1 sibling, 0 replies; 3+ messages in thread
From: Pavel Shilovsky @ 2019-04-05 16:07 UTC (permalink / raw)
  To: Aurélien Aptel; +Cc: Steve French, CIFS, samba-technical

пт, 5 апр. 2019 г. в 02:39, Aurélien Aptel <aaptel@suse.com>:
>
> Steve French <smfrench@gmail.com> writes:
> >     We want to encourage use of more secure SMB3, and don't want
> >     people using cifs and this new helper makes it less confusing:
> >          "mount -t smb3"
> >     rather than
> >          "mount -t cifs"
> >     Users can still mount the old way, but if they use smb3 mount
> >     helper (mount.smb3 or "mount -t smb3") it will be less confusing
> >     and less likely to use older insecure dialects.
>
> I don't think duplicating the source is a good idea. Could we just make
> a symlink or hardlink at installation? Alternatively move the common
> code to a separate file.
>
>

Agree. I suggest to move the common code to a separate file.

--
Best regards,
Pavel Shilovsky

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Add smb3 mount helper
  2019-04-05  9:39 ` Add smb3 mount helper Aurélien Aptel
  2019-04-05 16:07   ` Pavel Shilovsky
@ 2019-04-05 17:06   ` Steve French
  1 sibling, 0 replies; 3+ messages in thread
From: Steve French @ 2019-04-05 17:06 UTC (permalink / raw)
  To: Aurélien Aptel; +Cc: CIFS, samba-technical, Pavel Shilovsky

Yes - we could move common code to a common C file - would be fairly
easy to reduce most of the duplicated code (and can do the diff
between the two mount.cifs.c vs mount.smb3.c)  - goal is also to
behave differently for the two (we don't want to show/display/use
obsolete options in the mount.smb3.c flavor of the mount helper)

On Fri, Apr 5, 2019 at 4:39 AM Aurélien Aptel <aaptel@suse.com> wrote:
>
> Steve French <smfrench@gmail.com> writes:
> >     We want to encourage use of more secure SMB3, and don't want
> >     people using cifs and this new helper makes it less confusing:
> >          "mount -t smb3"
> >     rather than
> >          "mount -t cifs"
> >     Users can still mount the old way, but if they use smb3 mount
> >     helper (mount.smb3 or "mount -t smb3") it will be less confusing
> >     and less likely to use older insecure dialects.
>
> I don't think duplicating the source is a good idea. Could we just make
> a symlink or hardlink at installation? Alternatively move the common
> code to a separate file.
>
>
> Cheers,
> --
> 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, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)



-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-05 17:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAH2r5mstkeagNZzxMZQdritnU53jsVOWW2kMN8bcfN2fL7CCOA@mail.gmail.com>
2019-04-05  9:39 ` Add smb3 mount helper Aurélien Aptel
2019-04-05 16:07   ` Pavel Shilovsky
2019-04-05 17:06   ` Steve French

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.