summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-07-04 02:27:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:09 -0500
commit06348629b921adb6262e0f3d9a9c244568e2a78f (patch)
treece94a19fa37648f56bbd8ddec1273891fc198299 /source4/rpc_server
parentd92b30fe3851905cf38e43f44cf5e62b9a111de0 (diff)
downloadsamba-06348629b921adb6262e0f3d9a9c244568e2a78f.tar.gz
samba-06348629b921adb6262e0f3d9a9c244568e2a78f.tar.bz2
samba-06348629b921adb6262e0f3d9a9c244568e2a78f.zip
r8109: Try to print out more helpful debug messages on DCERPC server-side
gensec failure to start. Andrew Bartlett (This used to be commit bc8f8d2dcfbcf06bb9c49981bc3811b252a4b9b0)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcesrv_auth.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c
index f8b17701de..b8f86fb6df 100644
--- a/source4/rpc_server/dcesrv_auth.c
+++ b/source4/rpc_server/dcesrv_auth.c
@@ -56,7 +56,7 @@ BOOL dcesrv_auth_bind(struct dcesrv_call_state *call)
status = gensec_server_start(dce_conn, &auth->gensec_security, call->event_ctx);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(1, ("Failed to start GENSEC server code: %s\n", nt_errstr(status)));
+ DEBUG(1, ("Failed to start GENSEC for DCERPC server: %s\n", nt_errstr(status)));
return False;
}
@@ -64,8 +64,9 @@ 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 mech-specific server code (%d): %s\n",
+ DEBUG(1, ("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)));
return False;
}