summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-05 13:49:49 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-05 16:12:05 +1100
commitf01f124969b3e75accfc82fb85487fdab2046e82 (patch)
treefff735301ded7ff57bd6327611d4277a430c16a2 /source4/librpc/rpc
parent2e1e446ba3f9fd177a29876a9d7173d11b334f40 (diff)
downloadsamba-f01f124969b3e75accfc82fb85487fdab2046e82.tar.gz
samba-f01f124969b3e75accfc82fb85487fdab2046e82.tar.bz2
samba-f01f124969b3e75accfc82fb85487fdab2046e82.zip
s4-rpc: don't use s->credentials after it is freed
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c3
1 files changed, 1 insertions, 2 deletions
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;
}