summaryrefslogtreecommitdiff
path: root/source3/client/smbspool.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-08-07 17:55:57 -0700
committerJeremy Allison <jra@samba.org>2008-08-07 17:55:57 -0700
commit617bf10c66f45b6ed83d7f5441586606261e0560 (patch)
treec90b9c3017c2b827e78960136d54eea9b82e00f0 /source3/client/smbspool.c
parent3907392459533832ada823e614154951365348ee (diff)
downloadsamba-617bf10c66f45b6ed83d7f5441586606261e0560.tar.gz
Fix bug #5675 with a varient of Tim Waugh's patch,
as proposed by James Peach. Jeremy. (This used to be commit 5c27ad75836136c39774c9456d63f46fa62e281f)
Diffstat (limited to 'source3/client/smbspool.c')
-rw-r--r--source3/client/smbspool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index e567ef8037a..f35a9d3003e 100644
--- a/source3/client/smbspool.c
+++ b/source3/client/smbspool.c
@@ -347,7 +347,7 @@ get_exit_code(struct cli_state * cli,
}
if (cli) {
- if (cli->use_kerberos || (cli->capabilities & CAP_EXTENDED_SECURITY))
+ if (cli->use_kerberos && cli->got_kerberos_mechanism)
fputs("ATTR: auth-info-required=negotiate\n", stderr);
else
fputs("ATTR: auth-info-required=username,password\n", stderr);