The Samba-Bugzilla – Attachment 13498 Details for
Bug 12704
smbclient should not print an error if kerberos is not enforced
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
additional patch for 4.6 and 4.7
0001-s3-libsmb-Print-the-kinit-failed-message-with-DBGLVL.patch (text/plain), 1.20 KB, created by
Andreas Schneider
on 2017-08-24 16:37:15 UTC
(
hide
)
Description:
additional patch for 4.6 and 4.7
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2017-08-24 16:37:15 UTC
Size:
1.20 KB
patch
obsolete
>From 769ce387042d75ad4ecd033f6c7addeedf329ed8 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Thu, 24 Aug 2017 12:51:35 +0200 >Subject: [PATCH] s3:libsmb: Print the kinit failed message with DBGLVL_NOTICE > >The default debug level of smbclient is set to 'log level = 1'. So we >need to use at least NOTICE to not get the message when we do not force >kerberos. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=12704 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> > >Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> >Autobuild-Date(master): Thu Aug 24 17:22:18 CEST 2017 on sn-devel-144 >--- > source3/libsmb/cliconnect.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c >index d98debc7771..1d1ed249621 100644 >--- a/source3/libsmb/cliconnect.c >+++ b/source3/libsmb/cliconnect.c >@@ -349,7 +349,7 @@ NTSTATUS cli_session_creds_prepare_krb5(struct cli_state *cli, > 0 /* no time correction for now */, > NULL); > if (ret != 0) { >- int dbglvl = DBGLVL_WARNING; >+ int dbglvl = DBGLVL_NOTICE; > > if (krb5_state == CRED_MUST_USE_KERBEROS) { > dbglvl = DBGLVL_ERR; >-- >2.14.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
slow
:
review-
Actions:
View
Attachments on
bug 12704
:
13100
|
13498
|
13503