From 06348629b921adb6262e0f3d9a9c244568e2a78f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 4 Jul 2005 02:27:18 +0000 Subject: 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) --- source4/rpc_server/dcesrv_auth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/rpc_server') 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; } -- cgit