[PATCH] honour 'disable netbios' config param when using smbclient -L

David Disseldorp ddiss at suse.de
Mon Nov 14 13:41:59 UTC 2016


On Mon, 14 Nov 2016 12:17:32 +0000, Noel Power wrote:

> @@ -5676,6 +5680,10 @@ static int do_message_op(struct user_auth_info *a_info)
>  {
>  	NTSTATUS status;
>  
> +	if (lp_disable_netbios()) {
> +		return 0;
> +	}
> +

I think an error should be returned (and printed) for this case.

Cheers, David



More information about the samba-technical mailing list