]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbspool: print a hint about smbspool_krb5_wrapper
authorMikhail Novosyolov <m.novosyolov@rosalinux.ru>
Sat, 2 Nov 2019 22:47:51 +0000 (01:47 +0300)
committerGünther Deschner <gd@samba.org>
Mon, 9 Dec 2019 12:48:45 +0000 (12:48 +0000)
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>
source3/client/smbspool.c

index 34def0c91a908a784e4fcb41b60fcf98c833e189..5e2d230ab8b79334f7e8d85609845248dc3e811f 100644 (file)
@@ -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;