Your Name
81e43d9639
Handle return from writes
...
examples/smb2-cat-async.c and examples/smb2-cat-sync.c had write()'s
whose return values were not being caught, which was preventing
make from compiling the examples.
2025-07-30 16:07:44 -04:00
Ronnie Sahlberg
3ef99b3cfb
smb2-cat-async: use a define for max read size
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2025-07-17 11:56:26 +10:00
Ronnie Sahlberg
e7ffada737
Add epoll based example
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2025-07-16 17:24:08 +10:00
Tryggvi Larusson
5b9a7af89d
Added example command smb2-notify under examples
2025-01-03 10:30:22 +10:00
Ronnie Sahlberg
05a4df55d3
Fix format string in smb2-lsa-lookupsids.c
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-12-28 08:22:00 +10:00
Ronnie Sahlberg
badaf2ca65
tests: mode the dcerpc coder tests to the test directory
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-12-11 12:58:07 +10:00
Ronnie Sahlberg
5e06a8182a
Add a utils directory
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-10-24 15:59:50 +10:00
bdodge
b76f1af1c2
restore reply in handlers, needed for non-proxy case
2024-10-05 15:57:54 -04:00
Ronnie Sahlberg
bb4977a052
Merge pull request #370 from bdodge/bdd/pdu-passthrough
...
Bdd/pdu passthrough
2024-10-01 00:53:16 -04:00
bdodge
852e6560fa
clear replies in all general handlers, fix example server
2024-09-30 10:02:04 -04:00
Ronnie Sahlberg
fb33c63a8f
dcerpc: srvsvc add share info level 0
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-30 14:58:31 +10:00
Ronnie Sahlberg
f3e846e79c
dcerpc: initial reword to have a carray helper.
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-30 08:32:35 +10:00
Ronnie Sahlberg
c63e0621e8
Add ndr64 test for SHARE_INFO_1_CONTAINER
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-29 10:25:50 +10:00
Ronnie Sahlberg
ff0176ed82
Add test for SHARE_INFO_1_CONTAINER
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-29 08:40:18 +10:00
Ronnie Sahlberg
324200233a
Add test for SHARE_INFO_1
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-29 07:28:38 +10:00
Ronnie Sahlberg
9ad4c09e82
srvsvc: Fixup naming so NetrShareGetInfo matches MS-SRVS
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 13:31:19 +10:00
Ronnie Sahlberg
0ed80252d7
srvsvc: Fix name of NetrShareEnumwq
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 13:10:08 +10:00
Ronnie Sahlberg
728b083014
srvsvc: Switch NetShareEnum reply over to SHARE_ENUM_STRUCT
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 12:59:01 +10:00
Ronnie Sahlberg
2d1078eefa
Shound look at prd->hdr, not ctx to find which endianness to use
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 04:58:29 +10:00
Ronnie Sahlberg
bd4052673c
dcerpc: add BE test for dcerpc_uint16
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 04:08:32 +10:00
Ronnie Sahlberg
ef3f4d75e0
dcerpc: add framework to test both NDR32 and NDR64
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 03:32:05 +10:00
Ronnie Sahlberg
d28d3ba7e8
We need to redo all coder tests.
...
Lets start with a test to marshall/unmarshall a dcerpc_utf8z
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 03:31:50 +10:00
Ronnie Sahlberg
6f8e398507
dcerpc: more updates
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-28 03:31:34 +10:00
Ronnie Sahlberg
7e9a174bc5
dcerpc: long overdue rewrite of the dcerpc coders
...
More sane API now where we can abort and signal failure back to
the application better.
Preparations to write a dcerpc idl compiler
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2024-09-25 21:14:29 +10:00
bdodge
f43bb10cfc
clean up seterror/printfs, add cb for errors, add accessor for dialect
2024-09-24 13:08:13 -04:00