From: Mikhail Novosyolov Date: Sat, 2 Nov 2019 22:47:51 +0000 (+0300) Subject: s3:smbspool: print a hint about smbspool_krb5_wrapper X-Git-Tag: ldb-2.1.0~385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c95d32f685d989c91e62a734229d2bd241291315;p=thirdparty%2Fsamba.git s3:smbspool: print a hint about smbspool_krb5_wrapper When I first met with the situation that Kerberos kredentials cache of root user was looked for instead of the one of the printing task creator, it took a lot of time to understand that smbspool_krb5_wrapper will resolve this. Signed-off-by: Mikhail Novosyolov Reviewed-by: Andreas Schneider Reviewed-by: Guenther Deschner --- diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 34def0c91a9..5e2d230ab8b 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -699,8 +699,8 @@ smb_connect(struct cli_state **output_cli, if (strcmp(auth_info_required, "negotiate") == 0) { if (!kerberos_ccache_is_valid()) { fprintf(stderr, - "ERROR: No valid Kerberos credential cache " - "found!\n"); + "ERROR: No valid Kerberos credential cache found! " + "Using smbspool_krb5_wrapper may help.\n"); return NT_STATUS_LOGON_FAILURE; } user = jobusername;