summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-17 13:47:14 +1000
committerAndrew Tridgell <tridge@samba.org>2011-06-17 15:24:23 +1000
commite080ae0faa2556825189f82fa61a7ff5f249dbc5 (patch)
tree2f30993c0cf36217fa2ca709780bfd2105b2f0e8 /source4/auth/gensec
parent705ed1c4921a1456ebcf80ac352567679ab7dfa9 (diff)
downloadsamba-e080ae0faa2556825189f82fa61a7ff5f249dbc5.tar.gz
samba-e080ae0faa2556825189f82fa61a7ff5f249dbc5.tar.bz2
samba-e080ae0faa2556825189f82fa61a7ff5f249dbc5.zip
s4-auth: quiet down the krb5 warnings when kerberos is not set to 'MUST'
this prevents spurious error messages on client commands when when we will fallback to NTLM authentication Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/gensec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index b91e790d3c..7e6a83d51f 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -639,7 +639,7 @@ static NTSTATUS gensec_start_mech(struct gensec_security *gensec_security)
if (gensec_security->ops->client_start) {
status = gensec_security->ops->client_start(gensec_security);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(2, ("Failed to start GENSEC client mech %s: %s\n",
+ DEBUG(gensec_security->subcontext?4:2, ("Failed to start GENSEC client mech %s: %s\n",
gensec_security->ops->name, nt_errstr(status)));
}
return status;