[PATCH] Fix typo setting max protocol

Michael Adam obnox at samba.org
Tue Sep 11 13:17:04 UTC 2018


On 2018-09-11 at 14:58 +0200, Andreas Schneider via samba-technical wrote:
> Hi,
> 
> the attached patch fixes a typo setting the max protocol.
> 
> Please review and push if OK.

RB+, obvious goodness.
(I'll allow some more time for others to review.)

Gosh, is there a bug for this? :-o

Cheers - Michael



> Thanks,
> 
> 
> 	Andreas
> 
> -- 
> Andreas Schneider                      asn at samba.org
> Samba Team                             www.samba.org
> GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D

> From 0c2c782119c91e45b6fd731737dbb7fa36a2a13a Mon Sep 17 00:00:00 2001
> From: Andreas Schneider <asn at samba.org>
> Date: Tue, 11 Sep 2018 14:56:54 +0200
> Subject: [PATCH] s3:libsmbclient: Fix a typo
> 
> Signed-off-by: Andreas Schneider <asn at samba.org>
> ---
>  source3/libsmb/libsmb_setget.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/source3/libsmb/libsmb_setget.c b/source3/libsmb/libsmb_setget.c
> index b1c4ff3b557..9696f5f00ac 100644
> --- a/source3/libsmb/libsmb_setget.c
> +++ b/source3/libsmb/libsmb_setget.c
> @@ -538,7 +538,7 @@ smbc_setOptionProtocols(SMBCCTX *c,
>  	}
>  
>  	if (max_proto != NULL) {
> -		ok &= lp_set_cmdline("client min protocol", max_proto);
> +		ok &= lp_set_cmdline("client max protocol", max_proto);
>  	}
>  
>  	return ok;
> -- 
> 2.18.0
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180911/ba86d08e/signature.sig>


More information about the samba-technical mailing list