diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-05 13:49:49 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-05 16:12:05 +1100 |
commit | f01f124969b3e75accfc82fb85487fdab2046e82 (patch) | |
tree | fff735301ded7ff57bd6327611d4277a430c16a2 | |
parent | 2e1e446ba3f9fd177a29876a9d7173d11b334f40 (diff) | |
download | samba-f01f124969b3e75accfc82fb85487fdab2046e82.tar.gz samba-f01f124969b3e75accfc82fb85487fdab2046e82.tar.bz2 samba-f01f124969b3e75accfc82fb85487fdab2046e82.zip |
s4-rpc: don't use s->credentials after it is freed
-rw-r--r-- | source4/librpc/rpc/dcerpc_schannel.c | 3 |
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; } |