1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

293 Commits

Author SHA1 Message Date
Andrew Tridgell
a9fbdd4838 added IDL and test for lsa_EnumPrivsAccount()
(This used to be commit f8bbce69bf43984ddf35c22cb6a9e6ef22f8f6f4)
2003-11-10 11:37:19 +00:00
Andrew Tridgell
db7012397f much cleaner handling of the different types of variables
(This used to be commit 4df59bcff56a00e413fbde1a40ffebcb16763d3c)
2003-11-10 11:33:21 +00:00
Jelmer Vernooij
e69987090f Add make rule for smbiconv
(This used to be commit 4c0226c71820c18725fd44dc66e1db36037c6a70)
2003-11-09 16:24:31 +00:00
Jelmer Vernooij
47d3fe181b Remove check for SAM, which has already been removed
(This used to be commit db68d642d67125b2d7f8355d6c913719f8821a92)
2003-11-09 16:08:14 +00:00
Jelmer Vernooij
7d07455b96 Add iconv test utility
(This used to be commit 00807119eeb32dcf5f3b19fa08956fa9177405a5)
2003-11-09 15:52:01 +00:00
Jelmer Vernooij
070f8d2070 Add check for precompiled headers
(This used to be commit e92e04b889d4d52fc4d6a7f484188ee2557aa708)
2003-11-09 13:16:52 +00:00
Andrew Tridgell
3fa8da4d26 - fixed lsa_EnumTrustDom
- added lsa_OpenAccount

- handle STATUS_SOME_UNMAPPED
(This used to be commit e5d93cf996b3e9647ef0ca45f6aab7601369936b)
2003-11-09 11:01:39 +00:00
Andrew Tridgell
3c669340f5 added lsa_EnumTrustDom
(This used to be commit ef60a70912c70b11438b53ed033efe31f662143d)
2003-11-09 10:01:24 +00:00
Andrew Tridgell
4bba087298 added lsa_EnumPrivs idl and test code
(This used to be commit fe12f81ba4583b1121bf128db55c4763736a205c)
2003-11-09 09:44:06 +00:00
Andrew Tridgell
e3581c28bb added a test for lsa_Close()
(This used to be commit dbadbbf1a7de011305c7f9d5d8d92467cb6e1c61)
2003-11-09 09:04:28 +00:00
Andrew Tridgell
2f6adaadbb i forgot to commit the rpcecho idl file
(This used to be commit 6c50589a9c19bf14afd2ef9a2170561b336f469e)
2003-11-09 08:31:36 +00:00
Andrew Tridgell
44dfd03963 - added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
(This used to be commit 8e52381313fc5a603b6d7e6ff090896c772096e9)
2003-11-09 08:30:29 +00:00
Andrew Tridgell
5eb907f1d4 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.
(This used to be commit 566476b3ff91eaa02c4f3c494afbf9ac7c200461)
2003-11-09 08:28:47 +00:00
Andrew Tridgell
adf6142953 converted the rpcecho pipe to use IDL
(This used to be commit 1b7a7bc4641e4f0e604bc20699c094fa5f49315d)
2003-11-09 07:24:06 +00:00
Andrew Tridgell
b7a6971ce1 - handle void functions
- bettenicer handling of PROPERTIES

- handle size_is() on an out variable that refers to an in variable
(This used to be commit 33d9b75783651ccb02f895bc9e0b0d0d59f67b1d)
2003-11-09 07:22:48 +00:00
Andrew Tridgell
363754a865 use a more consistent style for the client stubs
(This used to be commit 9946532f97bf8c820e8615dc6697f740144cd9d8)
2003-11-09 04:40:50 +00:00
Andrew Tridgell
4991e27bbc get rid of some prototypes that aren't needed any more
(This used to be commit 6151e5a2144bbccedb76772ea2cebc9676977efd)
2003-11-09 02:25:03 +00:00
Andrew Tridgell
946d358646 lsa_LookupNames now works
(This used to be commit fba3a7ad22edcbe394861e42b5e5c53709e9d5fe)
2003-11-09 02:21:24 +00:00
Andrew Tridgell
75a30ad828 added support for arrays as function arguments and for unistr_noterm
(This used to be commit 7bb45a21aeb9ea653c86ae7aa45ceee850b4b255)
2003-11-09 02:20:26 +00:00
Andrew Tridgell
30d45fc57c check for pidl.pl in path, not $HOME/pidl/
(This used to be commit 9aacdb5b8ac26a7a6337aeb23f63513fbd2236f6)
2003-11-09 01:18:59 +00:00
Andrew Tridgell
cff32d6b0a added idl, generated code and test code for lsa_LookupSids
(This used to be commit afa1ff5f08fceba3d34b4e0965fe7e0c0143ede9)
2003-11-09 00:58:40 +00:00
Andrew Tridgell
2430e941d7 added fixes for the pushing of arrays and handling non-ref pointers in
function arguments
(This used to be commit 25be8dafdae65d9b6cbd04514290f1402e882f4e)
2003-11-09 00:57:27 +00:00
Andrew Tridgell
574a11bd37 - include includes.h
- fix ref ptrs in push

- add NTSTATUS return
(This used to be commit cba9df9aa4cef7d35ae786a90d6c34b54e9a086a)
2003-11-08 13:24:14 +00:00
Andrew Tridgell
668c938678 - more generation fixes
- added auto-generation from the Makefile. Only called when you run "make idl"
(This used to be commit 47a17e5a08dcb5ef2880f75a59bf417e161a71d3)
2003-11-08 13:23:20 +00:00
Andrew Tridgell
7d212460a5 - corrected some lsa idl
- updated lsa parse code from pidl
(This used to be commit 3983b2aee77b0e093847bfc02e02b83ab281f5dd)
2003-11-08 11:21:57 +00:00
Andrew Tridgell
4e4a63d518 - generate both the pull and push side
- fixed lots of bugs
(This used to be commit 96e269fefedd1e8541eae7ad5e3fb98df978c81b)
2003-11-08 11:19:39 +00:00
Andrew Tridgell
3043b766c8 a bit of a tidy up before I add the ndr_pull_*() side of things
(This used to be commit 8e865508a6619af4f2d72c3db7890edf9e07da1d)
2003-11-06 12:42:37 +00:00
Andrew Tridgell
4fa0f615f2 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
(This used to be commit 6b222d3b6541ee74cf8bf3f0913cd444903ca991)
2003-11-06 12:34:04 +00:00
Andrew Tridgell
fa3db33a54 updated pidl to auto-generate the ndr_push_*() functions for the
Samba4 rpc framework

not complete, but sufficient for a number of lsa functions
(This used to be commit 42cd6904f51bac1ff92f0aea0deffb11864dfac2)
2003-11-06 12:29:23 +00:00
Andrew Tridgell
60f4bb657a allow qfsinfo to continue with just 10 levels supported in the server
(This used to be commit 9476dd562010dc30dd9aea777e0cede273e6e29a)
2003-11-06 05:51:58 +00:00
Andrew Tridgell
eeffb71c72 finished off the ndr_sec.c module
(This used to be commit 6a8f297c45c9897b3dba18467cb449a70abf0b56)
2003-11-05 00:49:42 +00:00
Andrew Tridgell
18d7a41ace fixed another error found by valgrind
(This used to be commit 4368eaa523830f3101f0bb052346ed26bc70ae73)
2003-11-04 23:12:44 +00:00
Andrew Tridgell
c1b3ebb1fa fixed some error found by valgrind
(This used to be commit ca5f0ccb6cd10d51c96a5cd8e0cd97d50cbb9a73)
2003-11-04 22:42:00 +00:00
Andrew Tridgell
41304b3c57 lsa_EnumSids() now works
(This used to be commit 25a8692fede323b53240192e5d349b39fe0b7342)
2003-11-04 11:16:07 +00:00
Andrew Tridgell
485f930088 lsa_OpenPolicy2 now works
(This used to be commit 9cf479873f3501776091c9d01551adadcf525794)
2003-11-04 09:48:33 +00:00
Andrew Tridgell
46046aa69b yipee! we can now do lsaOpenPolicy() via the new interfaces, without
using any of the old lsa code
(This used to be commit f5bd301ff7befa223a1d761a37ae8f7ce7f1fcd1)
2003-11-04 09:10:31 +00:00
Andrew Tridgell
d8cbe76b86 added support for fragmented sends
(This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a)
2003-11-04 03:38:46 +00:00
Andrew Tridgell
994301bfec added fragmentation support on receive for dcerpc packets. I have
successfully used SourceData with 200M of data in rpcecho
(This used to be commit a9aa7954fe84c925bb158af8b73aa71b7ea84e2b)
2003-11-04 02:28:08 +00:00
Andrew Tridgell
0a427a43c4 added SinkData and SourceData tests for rpcecho
(This used to be commit 7c356350e6148078725de6b6829eb0855771ae17)
2003-11-03 10:01:20 +00:00
Andrew Tridgell
399fff106d added rpcecho EchoData test
(This used to be commit 9c7e4db4712d1b2b7d8125e3ae535efd50b80f58)
2003-11-03 09:18:38 +00:00
Andrew Tridgell
87ef172531 actually use the passed parameters!
(This used to be commit 717803848afd7e1b443c3134183c171b54f192d7)
2003-11-03 08:39:37 +00:00
Andrew Tridgell
dfc43cdf14 added a helper function to make building rpc functions a bit easier
(This used to be commit a8feb80438680b9ec399c908987c58c4a6a998e6)
2003-11-03 08:37:48 +00:00
Andrew Tridgell
dc2ffe07a8 started adding RPC-ECHO torture cases
(This used to be commit 8cff335dab438aa2dbcca91a717e14ef5a8288dd)
2003-11-03 07:26:30 +00:00
Andrew Tridgell
d064846d5f we only want the per-call stub data
(This used to be commit 95fa15cdcf2df5e8436281cdf96c84228a56cc4c)
2003-11-03 06:30:33 +00:00
Andrew Tridgell
c5cf474439 a major revamp of the low level dcerpc code in samba4, We can now do a
successful LSA OpenPolicy using smbtorture
(This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)
2003-11-03 06:22:45 +00:00
Andrew Tridgell
7fd381376f - 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
(This used to be commit 9bf904fc34f88e0581f93656e73d3c01ca96f761)
2003-10-30 08:32:26 +00:00
Andrew Tridgell
4e3ca10b13 much better synchronised startup in smbtorture - this allows us to run
massive NBENCH runs without killing the client
(This used to be commit 3f20041bb930ff1e4d9c0709008174faa5f690d5)
2003-10-29 04:21:58 +00:00
Tim Potter
9182f0e6c5 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.  (-:
(This used to be commit bc17a4a8ade1b003acb5681471568a94e81aad08)
2003-10-28 11:00:54 +00:00
Tim Potter
4cac564d71 A fix for making transfer syntax a pointer instead of an array of pointers
in struct p_ctx_list.
(This used to be commit e99e28aa36f31e862e89cef246b50a34b5115af9)
2003-10-28 10:59:19 +00:00
Tim Potter
ab2bd17d62 Add raw and cli dcerpc code to LIBRAW_OBJ and LIBSMB_OBJ, respectively.
(This used to be commit d66f5afaaabdbaddb846fdff0421398f4cb19d89)
2003-10-28 10:30:16 +00:00