summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2002-09-03 03:53:50 +0000
committerRichard Sharpe <sharpe@samba.org>2002-09-03 03:53:50 +0000
commitbb30cd160b7d01b38fb6473d15a9056118d51a42 (patch)
treece2434de25025af553f1a171cde9b6e26fbb0cfc /source3/libsmb
parent207455610418a32b428f1f267091e2ec7d245ece (diff)
downloadsamba-bb30cd160b7d01b38fb6473d15a9056118d51a42.tar.gz
samba-bb30cd160b7d01b38fb6473d15a9056118d51a42.tar.bz2
samba-bb30cd160b7d01b38fb6473d15a9056118d51a42.zip
Add type A to the small MSRPC generator ...
(This used to be commit 7f8fd5f270af74dcb3fd18af74233f7db4d8f9a7)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clispnego.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c
index fc25436d10..8376398e3f 100644
--- a/source3/libsmb/clispnego.c
+++ b/source3/libsmb/clispnego.c
@@ -471,6 +471,7 @@ DATA_BLOB spnego_gen_auth_response(void)
U = unicode string (input is unix string)
a = address (1 byte type, 1 byte length, unicode string, all inline)
+ A = ASCII string (pointer + length) Actually same as B
B = data blob (pointer + length)
b = data blob in header (pointer + length)
d = word (4 bytes)
@@ -500,6 +501,7 @@ BOOL msrpc_gen(DATA_BLOB *blob,
s = va_arg(ap, char *);
data_size += (str_charnum(s) * 2) + 4;
break;
+ case 'A':
case 'B':
b = va_arg(ap, uint8 *);
head_size += 8;