diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-04-20 13:55:04 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-04-20 13:55:04 +0200 |
commit | 8a5d94e329e8ee2e7d4e03b9719188cb50bc4978 (patch) | |
tree | 703fc3c8b3ae39eb57cd242f52c51ba406e43a45 /libcli | |
parent | ddcc355f2b5379884755827c20a1d1bfd1fd4d51 (diff) | |
download | samba-8a5d94e329e8ee2e7d4e03b9719188cb50bc4978.tar.gz samba-8a5d94e329e8ee2e7d4e03b9719188cb50bc4978.tar.bz2 samba-8a5d94e329e8ee2e7d4e03b9719188cb50bc4978.zip |
libcli/auth Ensure we cancel the transaction when schannel not detected
(found by jra on code review)
Andrew Bartlett
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/auth/schannel_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |