summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-08-24 12:51:35 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-08-24 17:22:18 +0200
commit6d7681c73dc68930dc39f05d58c2679b7c84ad97 (patch)
tree524644d346af2af749e1a34f1d97d9fc3e0d7a43 /source3/libsmb/cliconnect.c
parentc90069b26424752b15922de9cb796c431d2f3e08 (diff)
downloadsamba-6d7681c73dc68930dc39f05d58c2679b7c84ad97.tar.gz
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
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r--source3/libsmb/cliconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 91fd18b646f..70bcead445e 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;