summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-04 07:02:38 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:12 +1000
commitda9bca62825f838ac57d7a56dc8b0e9b5de181c8 (patch)
tree14981c77f30d2f328e06a950c069cfb47a380991 /source4/rpc_server
parenteb84c7ac908ad68443496c70775f16ce5d30310a (diff)
downloadsamba-da9bca62825f838ac57d7a56dc8b0e9b5de181c8.tar.gz
samba-da9bca62825f838ac57d7a56dc8b0e9b5de181c8.tar.bz2
samba-da9bca62825f838ac57d7a56dc8b0e9b5de181c8.zip
s4-rpc_server Put all 'logon failure' messages at the same debug level 4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcesrv_auth.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c
index 3d18e65229..3140598fec 100644
--- a/source4/rpc_server/dcesrv_auth.c
+++ b/source4/rpc_server/dcesrv_auth.c
@@ -83,7 +83,7 @@ bool dcesrv_auth_bind(struct dcesrv_call_state *call)
auth->auth_info->auth_level);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(1, ("Failed to start GENSEC mechanism for DCERPC server: auth_type=%d, auth_level=%d: %s\n",
+ DEBUG(3, ("Failed to start GENSEC mechanism for DCERPC server: auth_type=%d, auth_level=%d: %s\n",
(int)auth->auth_info->auth_type,
(int)auth->auth_info->auth_level,
nt_errstr(status)));
@@ -136,7 +136,8 @@ NTSTATUS dcesrv_auth_bind_ack(struct dcesrv_call_state *call, struct ncacn_packe
dce_conn->auth_state.auth_info->auth_reserved = 0;
return NT_STATUS_OK;
} else {
- DEBUG(2, ("Failed to start dcesrv auth negotiate: %s\n", nt_errstr(status)));
+ DEBUG(4, ("GENSEC mech rejected the incoming authentication at bind_ack: %s\n",
+ nt_errstr(status)));
return status;
}
}
@@ -181,7 +182,7 @@ bool dcesrv_auth_auth3(struct dcesrv_call_state *call)
dce_conn->auth_state.session_key = dcesrv_generic_session_key;
return true;
} else {
- DEBUG(4, ("dcesrv_auth_auth3: failed to authenticate: %s\n",
+ DEBUG(4, ("GENSEC mech rejected the incoming authentication at bind_auth3: %s\n",
nt_errstr(status)));
return false;
}
@@ -266,7 +267,8 @@ NTSTATUS dcesrv_auth_alter_ack(struct dcesrv_call_state *call, struct ncacn_pack
return NT_STATUS_OK;
}
- DEBUG(2, ("Failed to finish dcesrv auth alter_ack: %s\n", nt_errstr(status)));
+ DEBUG(4, ("GENSEC mech rejected the incoming authentication at auth alter_ack: %s\n",
+ nt_errstr(status)));
return status;
}