summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-07-19 16:45:16 -0700
committerJeremy Allison <jra@samba.org>2010-07-19 16:45:16 -0700
commit8cba4a0c9639c48ec2433a98529bd8352e9d06c9 (patch)
tree9cf2522fea2214e8cc11f23d5a4e904b7202357d /source3/include/proto.h
parent625a51138916473eacc1447b11ffd93db0832077 (diff)
downloadsamba-8cba4a0c9639c48ec2433a98529bd8352e9d06c9.tar.gz
samba-8cba4a0c9639c48ec2433a98529bd8352e9d06c9.tar.bz2
samba-8cba4a0c9639c48ec2433a98529bd8352e9d06c9.zip
Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() and
into negprot_spnego() where it belongs (it's not an SPNEGO operation). Add a TALLOC_CTX for callers of negprot_spnego(). Closer to unifying all the gen_negTokenXXX calls. Jeremy.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index ad0c11fc9f..a0bb55c0a8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2821,8 +2821,7 @@ bool cli_set_secdesc(struct cli_state *cli, uint16_t fnum, struct security_descr
/* The following definitions come from libsmb/clispnego.c */
-DATA_BLOB spnego_gen_negTokenInit(char guid[16],
- const char *OIDs[],
+DATA_BLOB spnego_gen_negTokenInit(const char *OIDs[],
const char *principal);
DATA_BLOB gen_negTokenInit(const char *OID, DATA_BLOB blob);
bool spnego_parse_negTokenInit(DATA_BLOB blob,