cli_netlogon: Remove an unnecessary if-condition
authorVolker Lendecke <vl@samba.org>
Tue, 5 Sep 2017 14:26:11 +0000 (16:26 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 25 Sep 2017 07:43:11 +0000 (09:43 +0200)
commitc234599a5404947c676bfdb6b8bd3929960b1cd9
tree24b598d42a97d5c9c951bed8bdd94604adc3da32
parenta969fc99a83d84d1c8e54eb476738d3096155152
cli_netlogon: Remove an unnecessary if-condition

We don't need to check this here. rpccli_create_netlogon_creds_ctx via
netlogon_creds_cli_context_global returns NT_STATUS_INVALID_PARAMETER for an
unknown schannel type. Slightly different error code, but we could change the
one in netlogon_creds_cli_context_global if necessary.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/rpc_client/cli_netlogon.c