summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-04-29 10:00:04 +1000
committerStefan Metzmacher <metze@samba.org>2013-05-16 19:02:00 +0200
commit9430310dc3adaf98dbff494a1056e02f8750c41d (patch)
tree59b358e5df1e34103b17771a31b1aec96587ff6d /source4
parent768c3bb16ae8aac2d96d4fa0d8a7593fc9be6ca8 (diff)
downloadsamba-9430310dc3adaf98dbff494a1056e02f8750c41d.tar.gz
samba-9430310dc3adaf98dbff494a1056e02f8750c41d.tar.bz2
samba-9430310dc3adaf98dbff494a1056e02f8750c41d.zip
gensec: Make the no-hostname status message much less scary
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c2
-rw-r--r--source4/auth/gensec/gensec_krb5.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index e3bafe2150..3e35cae28c 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -336,7 +336,7 @@ static NTSTATUS gensec_gssapi_client_start(struct gensec_security *gensec_securi
const char *hostname = gensec_get_target_hostname(gensec_security);
if (!hostname) {
- DEBUG(1, ("Could not determine hostname for target computer, cannot use kerberos\n"));
+ DEBUG(3, ("No hostname for target computer passed in, cannot use kerberos for this connection\n"));
return NT_STATUS_INVALID_PARAMETER;
}
if (is_ipaddress(hostname)) {
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c
index 140a165783..fbec64c4ea 100644
--- a/source4/auth/gensec/gensec_krb5.c
+++ b/source4/auth/gensec/gensec_krb5.c
@@ -240,7 +240,7 @@ static NTSTATUS gensec_krb5_common_client_start(struct gensec_security *gensec_s
NTSTATUS nt_status;
hostname = gensec_get_target_hostname(gensec_security);
if (!hostname) {
- DEBUG(1, ("Could not determine hostname for target computer, cannot use kerberos\n"));
+ DEBUG(3, ("No hostname for target computer passed in, cannot use kerberos for this connection\n"));
return NT_STATUS_INVALID_PARAMETER;
}
if (is_ipaddress(hostname)) {