Re: SMB2: Enforce sec= mount option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Scott Lovenberg wrote:
It'd take a tiny bit of messing with the command line parser, but I'd
be for that.  As a gesture of good faith, since I raised the issue,
I'd be willing to submit the patch set for mount.cifs to support this
if everyone is on board.  I'd suggest staying away from '<' and '>'
---
Yeah, the '<' sent a shiver as I wrote it. find uses "-5" means '<=5', but
the minus bothered me a bit, but perhaps less than the '<'.
Was looking at samba's switches they allow specifying "min" and "max"
for protocols, that could be written compactly with "proto=+smb1,-smb2.1",
or any number of more verbose options.  The options for auth+security seem
a bit less regular than always specifying a range, like some options automatically disable lower security options -- I suppose specifying
a 'max' isn't needed, since if once side offers a higher level that is
too high for the other, the other can just NACK during the negotiation.

Better get back to lurking now... ;-)





--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux