kill security=share and security=server

Jeremy Allison jra at samba.org
Thu Jan 27 14:27:27 MST 2011


On Thu, Jan 27, 2011 at 10:24:54PM +0100, Volker Lendecke wrote:
> 
> That's not what I would have expected. I'd have expected
> something like
> 
> int lp_max_protocol(void)
> {
> 	if (lp_security()==SEC_SHARE) {
> 		return MIN(PROTO_SMB1, _lp_max_protocol());
> 	}
> 	return _lp_max_protocol();
> }
> 
> Untested, just hacked into this mail. But you know what I
> mean.

Oh I see - yeah that's doing something different - stopping
the SMB2 negotiation if "security=share".

That would also work. But we still need a warning
message to tell people they have 2 conflicting options.

Jeremy.


More information about the samba-technical mailing list