summaryrefslogtreecommitdiff
path: root/source3/client/smbspool.c
diff options
context:
space:
mode:
authorMikhail Novosyolov <m.novosyolov@rosalinux.ru>2019-11-03 01:47:51 +0300
committerGünther Deschner <gd@samba.org>2019-12-09 12:48:45 +0000
commitc95d32f685d989c91e62a734229d2bd241291315 (patch)
treecac520b71bc9aeb96b8b890b7ae2f070d91a76e5 /source3/client/smbspool.c
parent58a90358e2e8ff70c65eb49a21d00c5ce775ba54 (diff)
downloadsamba-c95d32f685d989c91e62a734229d2bd241291315.tar.gz
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 <m.novosyolov@rosalinux.ru> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source3/client/smbspool.c')
-rw-r--r--source3/client/smbspool.c4
1 files changed, 2 insertions, 2 deletions
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;