From f01f124969b3e75accfc82fb85487fdab2046e82 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 5 Mar 2010 13:49:49 +1100 Subject: s4-rpc: don't use s->credentials after it is freed --- source4/librpc/rpc/dcerpc_schannel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/librpc/rpc/dcerpc_schannel.c') diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c index 0870c89714..4927e203cd 100644 --- a/source4/librpc/rpc/dcerpc_schannel.c +++ b/source4/librpc/rpc/dcerpc_schannel.c @@ -315,8 +315,7 @@ static void continue_schannel_key(struct composite_context *ctx) /* receive schannel key */ c->status = dcerpc_schannel_key_recv(ctx); if (!composite_is_ok(c)) { - DEBUG(1, ("Failed to setup credentials for account %s: %s\n", - cli_credentials_get_username(s->credentials), nt_errstr(c->status))); + DEBUG(1, ("Failed to setup credentials: %s\n", nt_errstr(c->status))); return; } -- cgit