git.samba.org
/
ab
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddcc355
)
libcli/auth Ensure we cancel the transaction when schannel not detected
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 20 Apr 2009 11:55:04 +0000
(13:55 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 20 Apr 2009 11:55:04 +0000
(13:55 +0200)
(found by jra on code review)
Andrew Bartlett
libcli/auth/schannel_state.c
patch
|
blob
|
history
diff --git
a/libcli/auth/schannel_state.c
b/libcli/auth/schannel_state.c
index b45249e9e2b2f8925cdaeee066c2a7903d2a5bb1..e01330010b21b8955877964649c79d6aef9e6f55 100644
(file)
--- 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;
}