1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

14332 Commits

Author SHA1 Message Date
Andrew Tridgell
8e52381313 - added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
0001-01-01 00:00:00 +00:00
Andrew Tridgell
566476b3ff added a module for auto-generating the client calls. We can now go
from IDL file to working Samba4 RPC client library in a completely
automated fashion.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
1b7a7bc464 converted the rpcecho pipe to use IDL 0001-01-01 00:00:00 +00:00
Andrew Tridgell
33d9b75783 - handle void functions
- bettenicer handling of PROPERTIES

- handle size_is() on an out variable that refers to an in variable
0001-01-01 00:00:00 +00:00
Andrew Tridgell
9946532f97 use a more consistent style for the client stubs 0001-01-01 00:00:00 +00:00
Andrew Tridgell
6151e5a214 get rid of some prototypes that aren't needed any more 0001-01-01 00:00:00 +00:00
Andrew Tridgell
fba3a7ad22 lsa_LookupNames now works 0001-01-01 00:00:00 +00:00
Andrew Tridgell
7bb45a21ae added support for arrays as function arguments and for unistr_noterm 0001-01-01 00:00:00 +00:00
Andrew Tridgell
9aacdb5b8a check for pidl.pl in path, not $HOME/pidl/ 0001-01-01 00:00:00 +00:00
Andrew Tridgell
afa1ff5f08 added idl, generated code and test code for lsa_LookupSids 0001-01-01 00:00:00 +00:00
Andrew Tridgell
25be8dafda added fixes for the pushing of arrays and handling non-ref pointers in
function arguments
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cba9df9aa4 - include includes.h
- fix ref ptrs in push

- add NTSTATUS return
0001-01-01 00:00:00 +00:00
Andrew Tridgell
47a17e5a08 - more generation fixes
- added auto-generation from the Makefile. Only called when you run "make idl"
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3983b2aee7 - corrected some lsa idl
- updated lsa parse code from pidl
0001-01-01 00:00:00 +00:00
Andrew Tridgell
96e269fefe - generate both the pull and push side
- fixed lots of bugs
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8e865508a6 a bit of a tidy up before I add the ndr_pull_*() side of things 0001-01-01 00:00:00 +00:00
Andrew Tridgell
6b222d3b65 another major bit of restructuring of rpc in Samba4. Mostly moving
files around, but also added the first bits of auto-generated code for
the lsa pipe.

I haven't updated the Makefile to call pidl yet, so for now the code
was cut-and-pasted into librpc/ndr/ndr_lsa.c manually
0001-01-01 00:00:00 +00:00
Andrew Tridgell
42cd6904f5 updated pidl to auto-generate the ndr_push_*() functions for the
Samba4 rpc framework

not complete, but sufficient for a number of lsa functions
0001-01-01 00:00:00 +00:00
Andrew Tridgell
9476dd5620 allow qfsinfo to continue with just 10 levels supported in the server 0001-01-01 00:00:00 +00:00
Andrew Tridgell
6a8f297c45 finished off the ndr_sec.c module 0001-01-01 00:00:00 +00:00
Andrew Tridgell
4368eaa523 fixed another error found by valgrind 0001-01-01 00:00:00 +00:00
Andrew Tridgell
ca5f0ccb6c fixed some error found by valgrind 0001-01-01 00:00:00 +00:00
Andrew Tridgell
25a8692fed lsa_EnumSids() now works 0001-01-01 00:00:00 +00:00
Andrew Tridgell
9cf479873f lsa_OpenPolicy2 now works 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f5bd301ff7 yipee! we can now do lsaOpenPolicy() via the new interfaces, without
using any of the old lsa code
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f51a216136 added support for fragmented sends 0001-01-01 00:00:00 +00:00
Andrew Tridgell
a9aa7954fe added fragmentation support on receive for dcerpc packets. I have
successfully used SourceData with 200M of data in rpcecho
0001-01-01 00:00:00 +00:00
Andrew Tridgell
7c356350e6 added SinkData and SourceData tests for rpcecho 0001-01-01 00:00:00 +00:00
Andrew Tridgell
9c7e4db471 added rpcecho EchoData test 0001-01-01 00:00:00 +00:00
Andrew Tridgell
717803848a actually use the passed parameters! 0001-01-01 00:00:00 +00:00
Andrew Tridgell
a8feb80438 added a helper function to make building rpc functions a bit easier 0001-01-01 00:00:00 +00:00
Andrew Tridgell
8cff335dab started adding RPC-ECHO torture cases 0001-01-01 00:00:00 +00:00
Andrew Tridgell
95fa15cdcf we only want the per-call stub data 0001-01-01 00:00:00 +00:00
Andrew Tridgell
e925c315f5 a major revamp of the low level dcerpc code in samba4, We can now do a
successful LSA OpenPolicy using smbtorture
0001-01-01 00:00:00 +00:00
Andrew Tridgell
9bf904fc34 - a few portability fixes from Jim Myers
- added SMBD_LISTEN_BACKLOG in local.h

- added the beginnings of a ndr/rpc parsing framework for Samba4. It
  currently correctly parses security descriptors for the nttrans
  QUERY_SECDESC call, but I hope it will become a reasonable framework
  that an idl based generator can work to
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3f20041bb9 much better synchronised startup in smbtorture - this allows us to run
massive NBENCH runs without killing the client
0001-01-01 00:00:00 +00:00
Tim Potter
bc17a4a8ad Add RPC-OPEN test as an example for using the new dcerpc client code.
It's a bit icky so I suspect it won't last long.  (-:
0001-01-01 00:00:00 +00:00
Tim Potter
e99e28aa36 A fix for making transfer syntax a pointer instead of an array of pointers
in struct p_ctx_list.
0001-01-01 00:00:00 +00:00
Tim Potter
d66f5afaaa Add raw and cli dcerpc code to LIBRAW_OBJ and LIBSMB_OBJ, respectively. 0001-01-01 00:00:00 +00:00
Tim Potter
94686a3f94 Cli level code for initial dcerpc client support. 0001-01-01 00:00:00 +00:00
Tim Potter
34a2cc1099 Initial version of raw dcerpc client support. 0001-01-01 00:00:00 +00:00
Tim Potter
35ee9fdeab Add data structures for initial dcerpc support. 0001-01-01 00:00:00 +00:00
Tim Potter
7d21af3fdf Implement raw SMBtrans by backending the SMBtrans2 send code. Receive is
the same for trans and trans2.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
5b9f7bc8b5 added some NTVFS info, and started the process model section 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f0b309cb30 the beginnings of a samba4 programming guide 0001-01-01 00:00:00 +00:00
Andrew Tridgell
89f7261ba5 fixed snprintf.c for systems that have only some of the *printf() family of functions
cope with servers that return bogus (too large) values in max_xmit

cope with a couple more error conditions in RAW-SFILEINFO

better startup time heuristics in NBENCH
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
42dbb8e2eb Update MySQL configuration scripts, add module macros 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
ac05e976f2 Remove obsolete file 0001-01-01 00:00:00 +00:00
Andrew Tridgell
4559208c80 better child synchronisation at startup in NBENCH 0001-01-01 00:00:00 +00:00
Andrew Tridgell
19eab118c1 - use deltree to setup base directory 0001-01-01 00:00:00 +00:00