From 8a5d94e329e8ee2e7d4e03b9719188cb50bc4978 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 20 Apr 2009 13:55:04 +0200 Subject: libcli/auth Ensure we cancel the transaction when schannel not detected (found by jra on code review) Andrew Bartlett --- libcli/auth/schannel_state.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libcli/auth') diff --git a/libcli/auth/schannel_state.c b/libcli/auth/schannel_state.c index b45249e9e2..e01330010b 100644 --- a/libcli/auth/schannel_state.c +++ b/libcli/auth/schannel_state.c @@ -294,6 +294,7 @@ NTSTATUS schannel_creds_server_step_check(struct ldb_context *ldb, if (schannel_required_for_call && !schannel_in_use) { DEBUG(0,("schannel_creds_server_step_check: client %s not using schannel for netlogon, despite negotiating it\n", creds->computer_name )); + ldb_transaction_cancel(ldb); return NT_STATUS_ACCESS_DENIED; } -- cgit