summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-20 14:59:31 -0700
committerJeremy Allison <jra@samba.org>2010-07-20 14:59:31 -0700
commitcce19c51625e2d73a541bbdfcc549f5a63c26abe (patch)
tree1803424149e5593829e67650202db5c0e5ef4361 /source3/smbd
parent4ed9437b7e24365b9acd179b6553793db95a4c54 (diff)
downloadsamba-cce19c51625e2d73a541bbdfcc549f5a63c26abe.tar.gz
samba-cce19c51625e2d73a541bbdfcc549f5a63c26abe.tar.bz2
samba-cce19c51625e2d73a541bbdfcc549f5a63c26abe.zip
Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL context tallocs.
Jeremy.
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/negprot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index c5c83cac30..4ff4eee404 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -211,7 +211,7 @@ DATA_BLOB negprot_spnego(TALLOC_CTX *ctx, struct smbd_server_connection *sconn)
blob = data_blob(guid, 16);
#else
/* Code for standalone WXP client */
- blob = spnego_gen_negTokenInit(OIDs_ntlm, NULL, "NONE");
+ blob = spnego_gen_negTokenInit(ctx, OIDs_ntlm, NULL, "NONE");
#endif
} else {
fstring myname;
@@ -222,7 +222,7 @@ DATA_BLOB negprot_spnego(TALLOC_CTX *ctx, struct smbd_server_connection *sconn)
== -1) {
return data_blob_null;
}
- blob = spnego_gen_negTokenInit(OIDs_krb5, NULL, host_princ_s);
+ blob = spnego_gen_negTokenInit(ctx, OIDs_krb5, NULL, host_princ_s);
SAFE_FREE(host_princ_s);
}