[PATCH] Fix typo setting max protocol

Jeremy Allison jra at samba.org
Tue Sep 11 16:25:43 UTC 2018


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

Argh. How did I miss this :-(.

> 
> 	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
> 




More information about the samba-technical mailing list