]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libsmb: avoid wrong debug message in cli_session_creds_prepare_krb5()
authorStefan Metzmacher <metze@samba.org>
Tue, 17 Sep 2019 08:08:10 +0000 (10:08 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 24 Sep 2019 18:30:37 +0000 (18:30 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14124

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/libsmb/cliconnect.c

index 8d2bd0dcea172f429b84ac09bc289d287e4221d6..c8a3e3e881de074e3d1ae877181dcf85612ba372 100644 (file)
@@ -375,6 +375,8 @@ NTSTATUS cli_session_creds_prepare_krb5(struct cli_state *cli,
                /*
                 * Ignore the error and hope that NTLM will work
                 */
+               TALLOC_FREE(frame);
+               return NT_STATUS_OK;
        }
 
        DBG_DEBUG("Successfully authenticated as %s to access %s using "