[PATCH] lib/param: Consolidate code to enable smb signing on the server, always enable on AD DC

Stefan (metze) Metzmacher metze at samba.org
Fri Nov 15 00:20:25 MST 2013


Hi Andrew,

> +bool lpcfg_server_signing_allowed(struct loadparm_context *lp_ctx, bool *mandatory)
> +{
> +	bool allowed = true;
> +	*mandatory = false;
> +
> +	enum smb_signing_setting signing_setting = lpcfg_server_signing(lp_ctx);
> +	if (signing_setting == SMB_SIGNING_DEFAULT) {
> +		/*

Please move '*mandatory = false;' after the 'enum smb_signing_setting
signing_setting'
line.

metze


More information about the samba-technical mailing list