git.samba.org
/
janger
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d786489
)
s3: libsmb: Add missing cli_tdis() in error path if encryption setup failed on temp...
author
Jeremy Allison
<jra@samba.org>
Thu, 4 Feb 2021 01:43:08 +0000
(17:43 -0800)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 8 Feb 2021 10:46:08 +0000
(10:46 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13992
Signed-off-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clidfs.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index 4495a0278309608e2e592b7d3d3cdf8ecf91908c..3cc52cc5ac9fd0d089c3e780dc36c3cc4ac4f502 100644
(file)
--- a/
source3/libsmb/clidfs.c
+++ b/
source3/libsmb/clidfs.c
@@
-1230,6
+1230,7
@@
bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
if (force_encrypt) {
status = cli_cm_force_encryption_creds(cli, creds, "IPC$");
if (!NT_STATUS_IS_OK(status)) {
+ cli_tdis(cli);
cli_state_restore_tcon(cli, orig_tcon);
return false;
}