1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

libcli/auth Ensure we cancel the transaction when schannel not detected

(found by jra on code review)

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2009-04-20 13:55:04 +02:00
parent ddcc355f2b
commit 8a5d94e329

View File

@ -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;
}