Andrew Tridgell
9b7b5e5c51
use the auto-generated UUID, version and name rather than listing them
...
in the dcerpc core code
(This used to be commit 16ffeb7c80
)
2003-11-18 05:01:10 +00:00
Andrew Tridgell
c88b0b2bb2
remove some old junk from the Makefile
...
(This used to be commit 8d9d620e10
)
2003-11-18 04:59:59 +00:00
Andrew Tridgell
3425f1bfe4
auto-generate the pipe UUID version and name
...
(This used to be commit cdba426e62
)
2003-11-18 04:59:29 +00:00
Andrew Tridgell
ec7a2944cd
fill in skeletons for the rest of the function calls in wkssvc (based
...
on function names in ethereal)
implement TransportEnum - quite a cute call, you can ask for the
workstations list of network transports, including its ethernet
address.
(This used to be commit 62d7e9819c
)
2003-11-18 03:28:01 +00:00
Andrew Tridgell
cb22240eb4
support the 'default' case in IDL unions
...
(This used to be commit 7f3f274cdc
)
2003-11-18 03:25:51 +00:00
Andrew Tridgell
ca20fa1057
ignore c and h files in the idl dir. This makes it easier to
...
experiment with pidl in that dir without mucking up cvs
(This used to be commit 1b691927ac
)
2003-11-18 01:34:09 +00:00
Andrew Tridgell
2c0a7165ef
* use the new auto-generated debug code method.
...
* add a couple more info levels to wkssvc
(This used to be commit c69161bdb1
)
2003-11-18 01:18:24 +00:00
Andrew Tridgell
7b185ccb32
auto-generate top-level debug print functions when a flag is set on
...
the dcerpc pipe. This saves lots of code in each test suite.
(This used to be commit db74a03d15
)
2003-11-18 01:17:10 +00:00
Andrew Tridgell
f1462caf61
remove an unused variable
...
(This used to be commit 1a885e4abe
)
2003-11-17 12:46:11 +00:00
Andrew Tridgell
892aa2fc75
added wkssvc.idl and test code
...
I think this is our first complete pipe for Samba4 (albeit a simple
one). Of course, there may be lots more info levels that Samba3 didn't
do. Time to explore :)
(This used to be commit 3305226140
)
2003-11-17 12:43:18 +00:00
Andrew Tridgell
d285c6f14f
* add another WERR err code
...
* use the top-level function argument printing to show more detail in
RPC-* tests
(This used to be commit 33bb878562
)
2003-11-17 11:55:56 +00:00
Andrew Tridgell
fb53302c8e
auto-generate functions for printing top-level function
...
parameters. You can choose to print just the [in] parameters, just the
[out] parameters or both
(This used to be commit 6afc3a465e
)
2003-11-17 11:53:12 +00:00
Andrew Tridgell
e62c5c9a8d
use [subcontext] to make GetPrinter a bit easier in smbtorture
...
(This used to be commit a5140985d8
)
2003-11-17 09:34:19 +00:00
Andrew Tridgell
c562794e74
started documenting the extension to IDL that pidl implements
...
(This used to be commit 22b5418a53
)
2003-11-17 09:32:57 +00:00
Andrew Tridgell
59df3ce5b5
security descriptors are no longer a "special" type, they are handled
...
using the [relative] property
this also fixes level3 of PrinterInfo (a relative secdesc)
(This used to be commit d5a15257fd
)
2003-11-17 06:27:45 +00:00
Andrew Tridgell
fa83432e10
* support inline arrays
...
* add enough to allow security descriptors to be IDL described
* added "noprint" property to allow fancy printing for specific
functions
(This used to be commit 08df20c8be
)
2003-11-17 06:25:51 +00:00
Andrew Tridgell
d1feb4c6d5
call OpenPrinterEx on each printer on the server, and then call
...
GetPrinter with all info levels on each printer
(This used to be commit 136b3cfc04
)
2003-11-17 04:56:59 +00:00
Andrew Tridgell
bf48b6e69a
added OpenPrinter and a test function. Note that the Samba3 structure
...
for OpenPrinter was wrong.
(This used to be commit 186ddbbf87
)
2003-11-17 03:38:13 +00:00
Andrew Tridgell
90916de4a5
* more info levels for EnumPrinter
...
* use WERROR return type in spoolss EnumPrinter
(This used to be commit 8301a6b6ad
)
2003-11-17 02:58:10 +00:00
Andrew Tridgell
ff9558bdf9
handle non-NTSTATUS return types
...
(This used to be commit 5832a1447c
)
2003-11-17 02:57:04 +00:00
Andrew Tridgell
657b4d2abd
nicer method of handling spoolss EnumPrinters
...
this also handles the return of several printers (an array of relative
subcontexts)
(This used to be commit 060421c7dc
)
2003-11-17 02:18:11 +00:00
Andrew Tridgell
cc5f231e95
better [relative] handling, allowing for nested relative structures
...
and arrays of relative structures
(This used to be commit eb887f883a
)
2003-11-17 02:17:01 +00:00
Andrew Tridgell
ae4cb40100
use nstring and [relative] to support levels 1 and 2 of EnumPrinters
...
fully
(This used to be commit 69c6017c94
)
2003-11-16 13:49:14 +00:00
Andrew Tridgell
c4b7585288
* the beginnings of non-constant fixed arrays
...
* added relative pointers support
(This used to be commit 4a34a4f29c
)
2003-11-16 13:48:05 +00:00
Andrew Tridgell
ea266c0625
added support for level1 of EnumPrinters in spoolss. This uses a
...
number of "magic" add-ons to IDL to make it less painful, hopefully
this will make IDL generation useful for horrible systems like spoolss
(This used to be commit e18dba7d5a
)
2003-11-16 11:36:59 +00:00
Andrew Tridgell
0c5759a4b2
added support for "relstr", structure and union properties and public
...
functions
(This used to be commit fb2f8c6bff
)
2003-11-16 11:34:32 +00:00
Tim Potter
7ca3720acb
Initial version of printer info 1 for tridge.
...
(This used to be commit 03185769be
)
2003-11-16 06:08:43 +00:00
Andrew Tridgell
4e959703a2
ignore .pidl files
...
(This used to be commit 8b2a0988e8
)
2003-11-16 06:01:07 +00:00
Andrew Tridgell
7b40bd0a5f
use the "subcontext" magic flag for sec_desc_buf
...
(This used to be commit 05ed2f6dc9
)
2003-11-16 06:00:15 +00:00
Andrew Tridgell
3d7524c7ae
added the "subcontext" attribute for auto-handling of user-marshalled
...
sub-context buffers
(This used to be commit 01cc199d78
)
2003-11-16 05:59:05 +00:00
Andrew Tridgell
4d48e84ffa
slightly more efficient strlen setting in lsa and samr strings (calls
...
strlen_m() once, not twice)
(This used to be commit 468c2dc632
)
2003-11-16 05:07:07 +00:00
Andrew Tridgell
b5fccdd9ee
fixed the handling of much more general C expressions in value()
...
statements
(This used to be commit 8b38041f65
)
2003-11-16 05:05:38 +00:00
Tim Potter
1f4fe8e486
Commit autogenerated code for EnumPrinters and ClosePrinter.
...
(This used to be commit 1a0271fc34
)
2003-11-16 04:25:45 +00:00
Tim Potter
fc55fd3e33
Added push/pull routines for uint8_buf IDL type used for spoolss buffers,
...
and possibly other places.
(This used to be commit 8fcac6742f
)
2003-11-16 04:22:20 +00:00
Tim Potter
274667be32
Added tests for EnumPrinters and ClosePrinter.
...
(This used to be commit 9f3b84c7d7
)
2003-11-16 04:20:29 +00:00
Tim Potter
6098faca03
Added IDL for EnumPrinters and ClosePrinter.
...
(This used to be commit 5eba47a4a3
)
2003-11-16 04:19:12 +00:00
Andrew Tridgell
05557d9ac8
run the basic build tests on sub-builds like "make torture" as well
...
(This used to be commit 67e826923c
)
2003-11-15 21:28:00 +00:00
Andrew Tridgell
6a991bb9b0
simple method for auto-building rpc files if idl changes, and
...
auto-building proto.h if it doesn't exist. This should make life a
little easier for developers
(This used to be commit ab5939e796
)
2003-11-15 21:25:03 +00:00
Andrew Tridgell
5bd51a1d5d
the returned policy handle in spoolss_OpenPrinterEx() is pass by
...
reference
(tim, my apoligies if this conflicts with an uncomitted fix from you)
(This used to be commit fa0872e663
)
2003-11-15 20:56:18 +00:00
Andrew Tridgell
c24f56e71c
remember to samr_Close() policy handles after use
...
(This used to be commit 8b4e5c65e0
)
2003-11-15 20:47:59 +00:00
Andrew Tridgell
8c90fcd32b
added OpenAlias and QueryAliasInfo levels 1 to 3
...
(This used to be commit 2ed8cfdf66
)
2003-11-15 12:38:06 +00:00
Andrew Tridgell
4d00dd9d5d
added OpenGroup and QueryGroupInfo levels 1 to 4
...
(This used to be commit ffe4fcaab0
)
2003-11-15 12:14:22 +00:00
Andrew Tridgell
f272eb3139
don't encode my own servers name in the test :)
...
(This used to be commit bcc87ab8c0
)
2003-11-15 11:39:47 +00:00
Andrew Tridgell
e7d70e40d5
added UserInfo level 21
...
(This used to be commit b90eff794f
)
2003-11-15 11:34:01 +00:00
Andrew Tridgell
8f09c940b7
added samr UserInfo levels 4 to 20
...
(This used to be commit 5bbe63a7bb
)
2003-11-15 11:13:49 +00:00
Andrew Tridgell
e92419e2d3
added samr_UserInfo2 and samr_UserInfo3
...
(This used to be commit 5e852f694c
)
2003-11-15 10:58:29 +00:00
Andrew Tridgell
54ccb9c6a2
added support for varying conformant arrays (needed for samr
...
userinfo3)
(This used to be commit f5b577a2b9
)
2003-11-15 10:57:17 +00:00
Andrew Tridgell
42a25ebb75
added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
...
(This used to be commit e7edeec60e
)
2003-11-15 10:03:12 +00:00
Andrew Tridgell
4063fd08d4
added samr_EnumDomainGroups and samr_EnumDomainUsers
...
(This used to be commit f8d690fb2b
)
2003-11-15 09:39:48 +00:00
Andrew Tridgell
4cadb043d7
added another 11 levels of QueryDomainInfo
...
(This used to be commit 219cfabaeb
)
2003-11-15 09:18:02 +00:00
Andrew Tridgell
1e9ea7fe86
fixed alignment of the buffers part structures
...
(This used to be commit f38ecd7ff7
)
2003-11-15 09:13:55 +00:00
Andrew Tridgell
497e01e93e
added samr_OpenDomain() and samr_QueryDomainInfo() level 1
...
(This used to be commit 2d9c055c1b
)
2003-11-15 08:06:39 +00:00
Andrew Tridgell
bcfbaa312a
run LookupDomain on each domain returned from EnumDomains in samr
...
(This used to be commit 947b9f8ced
)
2003-11-15 07:51:19 +00:00
Andrew Tridgell
5a28ca7bf3
support a new value() attribute that allows us to auto-fill certain
...
elements. Used at the moment for string lengths.
the regular expression isn't right, but it works for the case I need.
Perl expert needed :)
(This used to be commit c7ddd6b2aa
)
2003-11-15 07:49:03 +00:00
Andrew Tridgell
ba5a060136
added the first couple of calls from samr as IDL
...
samr_EnumDomains() works nicely
(This used to be commit 7c162eaf3b
)
2003-11-15 06:00:21 +00:00
Tim Potter
78b7118d1a
Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
...
works but without a devicemode.
(This used to be commit 35e889cf33
)
2003-11-15 05:42:49 +00:00
Tim Potter
7290260c1a
Fix bug in generation of function ndr_pull code generation. This patch
...
makes the code symmetric with the ndr_push code.
(This used to be commit 4a6f192ff8
)
2003-11-15 05:15:40 +00:00
Andrew Tridgell
099899a7cc
added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
...
also adding printing of security descriptors
(This used to be commit 1f93cbc1d5
)
2003-11-15 04:42:48 +00:00
Andrew Tridgell
5a1779b982
it turns out that all MS servers ignore the artifact struct_len fields
...
in OpenPolicy and OpenPolicy2, so we don't in fact need the
[struct_len] attribute. This makes our IDL much closer to the MS IDL.
(This used to be commit f0a8f063a6
)
2003-11-14 21:39:13 +00:00
Andrew Tridgell
f147a70795
added the dfs_GetInfo all - all levels
...
(This used to be commit 638eae6bae
)
2003-11-14 13:16:34 +00:00
Andrew Tridgell
4922823167
* make pidl.pl exit with an error on a parse error
...
* fixed a buffers/scalars bug in structures
(This used to be commit e66daf5273
)
2003-11-14 13:15:20 +00:00
Andrew Tridgell
15b258051c
* added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't work
...
properly, I'm still investigating that.
* changed dcerpc fault status code to NT_STATUS_NETWORK_WRITE_FAULT,
which I think is a better mapping
(This used to be commit 9ad28f6ddb
)
2003-11-14 08:27:39 +00:00
Andrew Tridgell
57529207ca
* fixed lsa_LookupPrivName
...
* added levels 2 and 3 of dfs_Enum
(This used to be commit 3fa61c1982
)
2003-11-14 07:56:43 +00:00
Andrew Tridgell
565fd2da76
fixed another problem with pointers to arrays in structures
...
(This used to be commit cf880a8312
)
2003-11-14 07:55:43 +00:00
Andrew Tridgell
e8a3825ebc
we can now do a level1 NetDfsEnum()
...
(This used to be commit f32641f73f
)
2003-11-14 07:20:46 +00:00
Andrew Tridgell
5b7f049829
fixed the handling of unions of pointers
...
(This used to be commit 7b0f2ccf07
)
2003-11-14 07:19:32 +00:00
Andrew Tridgell
b6b4cc752b
* differentiate between pointers and non-pointers in switch_is union
...
elements in structures
* layout the pull/push/print generated functions with all push
together, all pull together etc, as this makes for easier debugging
(note that I have no redirected commit messages for pidl to the
samba-cvs mailing list, so you may be seeing these messages for the
first time. See the pidl cvs repository for details on pidl)
(This used to be commit b5888b5315
)
2003-11-14 02:20:41 +00:00
Andrew Tridgell
9cadbd5775
fixed rpcecho EchoData debug code
...
(This used to be commit 01cdcba5cd
)
2003-11-13 10:29:58 +00:00
Andrew Tridgell
679520ac73
removed some obsolete .cvsignore files
...
(This used to be commit 91aed7c6a6
)
2003-11-13 10:17:20 +00:00
Andrew Tridgell
062670f00c
removed a bunch of the old rpc code in preparation for replacing it all with auto-generated code
...
(This used to be commit 874bf4689d
)
2003-11-13 10:15:48 +00:00
Andrew Tridgell
aeda2f8152
more dfs work
...
(This used to be commit d9eb4511d0
)
2003-11-13 10:15:08 +00:00
Andrew Tridgell
3031937d56
* fixed conformant arrays in structures
...
* expanded the rpcecho test
* started adding the NETDFS pipe
(This used to be commit 095ab42cbd
)
2003-11-13 09:26:53 +00:00
Andrew Tridgell
ff02537261
I think we now handle conformant arrays in structures correctly - the
...
test cases pass
(This used to be commit 22e1502350
)
2003-11-13 09:23:58 +00:00
Andrew Tridgell
6714815f01
lsa_PrivilegeSet seems to be a very strange beast indeed. It has a
...
constant sized array of size 1 at the end?
(This used to be commit 2cc354bd82
)
2003-11-12 05:34:21 +00:00
Andrew Tridgell
6735b72a8d
handle constant sized arrays
...
(This used to be commit 673e7bcdc2
)
2003-11-12 05:32:37 +00:00
Andrew Tridgell
8830a20bce
added 9 more info levels to lsa_QueryInfoPolicy
...
(This used to be commit b2ced24fc0
)
2003-11-11 07:57:08 +00:00
Andrew Tridgell
5475c9f978
added support for 8 byte aligned HYPER_T
...
(This used to be commit 259d5d7a0e
)
2003-11-11 07:55:41 +00:00
Andrew Tridgell
c614ea5435
added QueryPolicyInfo/PrimaryDomainInfo idl and test code
...
(This used to be commit b754ad2eae
)
2003-11-11 06:54:54 +00:00
Andrew Tridgell
023a8fcb80
fixed the NDR structure alignment rules
...
still not perfect, but works for all the cases I have seen so far
(This used to be commit ce15cc87fb
)
2003-11-11 06:53:12 +00:00
Andrew Tridgell
bde602b9e1
support lsa_AuditEventsInfo
...
(This used to be commit 7e7cb97593
)
2003-11-11 06:22:58 +00:00
Andrew Tridgell
d720f3d2e4
fixed handling on pointers to arrays of structures in unions
...
(This used to be commit a29145df04
)
2003-11-11 06:20:18 +00:00
Andrew Tridgell
deeb8d98a1
start using automatic union printing
...
(This used to be commit e81040a902
)
2003-11-11 04:38:51 +00:00
Andrew Tridgell
161321f68d
automatic printing of unions
...
(This used to be commit 73b5300755
)
2003-11-11 04:38:10 +00:00
Andrew Tridgell
cecbf0cd8b
automatically generate ndr_print_*() functions for every IDL
...
structure. This allows easy debug and test tool writing without having
to write functions that print every element of complex structures.
(This used to be commit 81d6181172
)
2003-11-11 04:04:36 +00:00
Andrew Tridgell
a934f89549
started adding support for lsa_QueryInfoPolicy
...
(This used to be commit 5b2d577969
)
2003-11-11 02:02:29 +00:00
Andrew Tridgell
be443f914a
- added support for the pull side of unions
...
- don't generate parse functions for pull/push functions that are not
used
(This used to be commit 54613574bc
)
2003-11-11 01:59:28 +00:00
Andrew Tridgell
657dc577b6
added idl and test code for lsa_LookupPrivName()
...
(This used to be commit c742227ec3
)
2003-11-10 12:42:45 +00:00
Andrew Tridgell
4659d4f9e2
added IDL and test for lsa_EnumAccountRights()
...
interestingly, win2000 doesn't return the same list of rights via
lsa_EnumAccountRights() and lsa_EnumPrivsAccount()
(This used to be commit 447c5f13d4
)
2003-11-10 12:12:22 +00:00
Andrew Tridgell
a9fbdd4838
added IDL and test for lsa_EnumPrivsAccount()
...
(This used to be commit f8bbce69bf
)
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 4df59bcff5
)
2003-11-10 11:33:21 +00:00
Jelmer Vernooij
e69987090f
Add make rule for smbiconv
...
(This used to be commit 4c0226c718
)
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 db68d642d6
)
2003-11-09 16:08:14 +00:00
Jelmer Vernooij
7d07455b96
Add iconv test utility
...
(This used to be commit 00807119ee
)
2003-11-09 15:52:01 +00:00
Jelmer Vernooij
070f8d2070
Add check for precompiled headers
...
(This used to be commit e92e04b889
)
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 e5d93cf996
)
2003-11-09 11:01:39 +00:00
Andrew Tridgell
3c669340f5
added lsa_EnumTrustDom
...
(This used to be commit ef60a70912
)
2003-11-09 10:01:24 +00:00
Andrew Tridgell
4bba087298
added lsa_EnumPrivs idl and test code
...
(This used to be commit fe12f81ba4
)
2003-11-09 09:44:06 +00:00
Andrew Tridgell
e3581c28bb
added a test for lsa_Close()
...
(This used to be commit dbadbbf1a7
)
2003-11-09 09:04:28 +00:00
Andrew Tridgell
2f6adaadbb
i forgot to commit the rpcecho idl file
...
(This used to be commit 6c50589a9c
)
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 8e52381313
)
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 566476b3ff
)
2003-11-09 08:28:47 +00:00
Andrew Tridgell
adf6142953
converted the rpcecho pipe to use IDL
...
(This used to be commit 1b7a7bc464
)
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 33d9b75783
)
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 9946532f97
)
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 6151e5a214
)
2003-11-09 02:25:03 +00:00
Andrew Tridgell
946d358646
lsa_LookupNames now works
...
(This used to be commit fba3a7ad22
)
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 7bb45a21ae
)
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 9aacdb5b8a
)
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 afa1ff5f08
)
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 25be8dafda
)
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 cba9df9aa4
)
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 47a17e5a08
)
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 3983b2aee7
)
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 96e269fefe
)
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 8e865508a6
)
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 6b222d3b65
)
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 42cd6904f5
)
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 9476dd5620
)
2003-11-06 05:51:58 +00:00
Andrew Tridgell
eeffb71c72
finished off the ndr_sec.c module
...
(This used to be commit 6a8f297c45
)
2003-11-05 00:49:42 +00:00
Andrew Tridgell
18d7a41ace
fixed another error found by valgrind
...
(This used to be commit 4368eaa523
)
2003-11-04 23:12:44 +00:00
Andrew Tridgell
c1b3ebb1fa
fixed some error found by valgrind
...
(This used to be commit ca5f0ccb6c
)
2003-11-04 22:42:00 +00:00
Andrew Tridgell
41304b3c57
lsa_EnumSids() now works
...
(This used to be commit 25a8692fed
)
2003-11-04 11:16:07 +00:00
Andrew Tridgell
485f930088
lsa_OpenPolicy2 now works
...
(This used to be commit 9cf479873f
)
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 f5bd301ff7
)
2003-11-04 09:10:31 +00:00
Andrew Tridgell
d8cbe76b86
added support for fragmented sends
...
(This used to be commit f51a216136
)
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 a9aa7954fe
)
2003-11-04 02:28:08 +00:00
Andrew Tridgell
0a427a43c4
added SinkData and SourceData tests for rpcecho
...
(This used to be commit 7c356350e6
)
2003-11-03 10:01:20 +00:00
Andrew Tridgell
399fff106d
added rpcecho EchoData test
...
(This used to be commit 9c7e4db471
)
2003-11-03 09:18:38 +00:00
Andrew Tridgell
87ef172531
actually use the passed parameters!
...
(This used to be commit 717803848a
)
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 a8feb80438
)
2003-11-03 08:37:48 +00:00
Andrew Tridgell
dc2ffe07a8
started adding RPC-ECHO torture cases
...
(This used to be commit 8cff335dab
)
2003-11-03 07:26:30 +00:00
Andrew Tridgell
d064846d5f
we only want the per-call stub data
...
(This used to be commit 95fa15cdcf
)
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 e925c315f5
)
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 9bf904fc34
)
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 3f20041bb9
)
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 bc17a4a8ad
)
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 e99e28aa36
)
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 d66f5afaaa
)
2003-10-28 10:30:16 +00:00
Tim Potter
8d87d7ede5
Cli level code for initial dcerpc client support.
...
(This used to be commit 94686a3f94
)
2003-10-28 10:25:12 +00:00
Tim Potter
476adf5725
Initial version of raw dcerpc client support.
...
(This used to be commit 34a2cc1099
)
2003-10-28 10:24:13 +00:00
Tim Potter
06d58f8086
Add data structures for initial dcerpc support.
...
(This used to be commit 35ee9fdeab
)
2003-10-28 10:21:36 +00:00
Tim Potter
931dc55390
Implement raw SMBtrans by backending the SMBtrans2 send code. Receive is
...
the same for trans and trans2.
(This used to be commit 7d21af3fdf
)
2003-10-28 10:17:05 +00:00
Andrew Tridgell
4e73a3c0fe
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
(This used to be commit 89f7261ba5
)
2003-10-10 05:40:32 +00:00
Jelmer Vernooij
b382acea72
Update MySQL configuration scripts, add module macros
...
(This used to be commit 42dbb8e2eb
)
2003-09-29 22:16:06 +00:00
Jelmer Vernooij
7699f3834f
Remove obsolete file
...
(This used to be commit ac05e976f2
)
2003-09-29 21:59:18 +00:00
Andrew Tridgell
bd1ca87733
better child synchronisation at startup in NBENCH
...
(This used to be commit 4559208c80
)
2003-09-29 06:04:23 +00:00
Andrew Tridgell
8205817eec
- use deltree to setup base directory
...
(This used to be commit 19eab118c1
)
2003-09-29 06:02:25 +00:00
Tim Potter
af780b0f01
Quieten a compiler warning.
...
(This used to be commit 9edf634569
)
2003-09-18 01:34:59 +00:00
Andrew Tridgell
0becf4d683
thanks to ntfsd and some google searches I worked out what the unknown
...
fields in level 261 and level 262 of directory search are, plus the
names of the levels
the unknown fields are a 64bit unique file id, and match the 64 bit
number from the internal_information qfileinfo level
(This used to be commit b69f54eb02
)
2003-09-02 04:37:33 +00:00
Andrew Tridgell
11c5869a45
I think I've finally got the ascii/unicode issues right in trans2 find
...
first
Also expanded the rename test a little
(This used to be commit 723af7f097
)
2003-08-31 03:16:52 +00:00
Andrew Tridgell
a8a5ac2bd2
expanded the RAW-READ test to make it clearer that all locks conflict
...
in SMBlockread, not just other peoples locks (error in spec)
(This used to be commit a56f6896bf
)
2003-08-29 04:35:35 +00:00
Andrew Tridgell
133c7a9055
fix a segv when server doesn't support ATTRIBUTE_TAG_INFORMATION
...
(This used to be commit 19abdace95
)
2003-08-23 18:53:46 +00:00
Jelmer Vernooij
489b369431
Remove some obsolete files (like in samba3)
...
(This used to be commit b85539336e
)
2003-08-17 07:02:36 +00:00
Jelmer Vernooij
1d471e8a74
Sync autogen.sh from samba3
...
(This used to be commit 7bc56792dc
)
2003-08-17 06:47:52 +00:00
Jelmer Vernooij
d55de7a159
Add script that reports unused macros/defines
...
(This used to be commit dd850b5bd8
)
2003-08-16 05:20:22 +00:00
Jelmer Vernooij
d9aa5b15d3
Add script that detects useless AC_DEFINE()'s in configure.in
...
(This used to be commit 37f55d8619
)
2003-08-16 02:24:33 +00:00
Herb Lewis
4809559c64
don't leak memory if cli->tree is NULL
...
(This used to be commit b034c4b86e
)
2003-08-15 23:57:05 +00:00
Herb Lewis
a59229614e
don't dereference null pointer
...
(This used to be commit ba5d1cde98
)
2003-08-15 21:37:42 +00:00
Andrew Tridgell
649f712f07
ascii/unicode fixes in ascii mode found by smbtorture
...
(This used to be commit cdf2626a6d
)
2003-08-15 21:11:13 +00:00
Andrew Tridgell
039e9dc5e6
- patch to fix a memory leak from metze
...
- fix a couple of unicode string errors for ascii clients found by
RAW- tests
(This used to be commit 81c941ba8a
)
2003-08-15 20:19:30 +00:00
Andrew Tridgell
dbe7b0c402
fix handling of parametric smb.conf parms with embedded spaces
...
(This used to be commit dad7d285ab
)
2003-08-15 19:09:52 +00:00
Andrew Tridgell
de10237719
more fixes from the IRIX compiler (thanks herb!)
...
(This used to be commit 02d068ba7d
)
2003-08-15 18:54:44 +00:00
Andrew Tridgell
8e4ab747b0
more fixes from the IRIX compiler (thanks herb!)
...
(This used to be commit 4cf3839b72
)
2003-08-15 18:33:43 +00:00
Herb Lewis
efacfb37fc
wrong typecast
...
(This used to be commit de7674ebef
)
2003-08-15 17:50:16 +00:00
Andrew Tridgell
1c849248d4
fixed an enumerated type error found on irix
...
(This used to be commit 19acf60fce
)
2003-08-15 17:34:49 +00:00
Herb Lewis
00743e97f8
cast to get rid of warnings
...
(This used to be commit cb7a9aef02
)
2003-08-15 17:29:04 +00:00
Herb Lewis
dcc8fcf9c0
IRIX already defines uint_t
...
(This used to be commit a019e54a46
)
2003-08-15 17:19:26 +00:00
Herb Lewis
3ae6d32e5e
signed bitfields cannot be 1 bit long
...
(This used to be commit 5fce80e757
)
2003-08-15 17:15:05 +00:00
Herb Lewis
e2c1250076
fix IRIX build
...
(This used to be commit 85c504a837
)
2003-08-15 17:14:20 +00:00
Herb Lewis
f24c298f43
rename mutex_t to smb_mutex_t to prevent name collision
...
(This used to be commit d32f149592
)
2003-08-15 17:13:41 +00:00
Andrew Tridgell
cc38992e3f
fixed some places where we don't brace (flags & STR_UNICODE)
...
this fixes the samba4 server with ascii clients
(This used to be commit c770603ac6
)
2003-08-15 16:19:48 +00:00
Andrew Tridgell
fe31953678
a few build fixes to try to get irix building
...
(This used to be commit 4059fbcf02
)
2003-08-15 15:16:34 +00:00
Andrew Tridgell
03ecf9b2aa
try to cope with servers that return a blank alt_name field
...
(This used to be commit 0a1cda392a
)
2003-08-15 15:14:49 +00:00
Andrew Tridgell
d3bc355533
some servers don't return a fs_type and dev_type
...
(This used to be commit eaec1bdaad
)
2003-08-15 15:14:14 +00:00
Andrew Tridgell
0efd81efec
fixed a comment typo
...
(This used to be commit 4cc8fef8ca
)
2003-08-15 15:13:43 +00:00
Andrew Tridgell
9e96467d36
nicer formatting in getattre
...
(This used to be commit 52657c369b
)
2003-08-15 15:13:24 +00:00
Andrew Tridgell
d0a91f4ef2
don't give detailed errors for levels that fail
...
(This used to be commit 04b60864a6
)
2003-08-15 15:12:30 +00:00
Andrew Tridgell
33f413a6bf
test resume by name before resume by flags
...
(This used to be commit 9f395dd768
)
2003-08-15 15:11:34 +00:00
Jeremy Allison
0cb8ef099f
Print out position info, ensure NT_RENAME info level only works
...
in a directory.
Jeremy.
(This used to be commit d623a51da0
)
2003-08-15 03:54:45 +00:00
Herb Lewis
2efe201fa4
client/client.c - cannot initialize struct with non-const values
...
include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE
include/smb_interfaces.h - remove empty structure
source/lib/debug.c - void functions cannot return value
libcli/clifile.c - cannot assign *struct to struct
(This used to be commit 9a72476201
)
2003-08-14 21:56:26 +00:00
Jeremy Allison
a19e269c2c
Extended seek tests to check position information.
...
Jeremy.
(This used to be commit c4cc40c5c8
)
2003-08-14 21:11:06 +00:00
Andrew Tridgell
e08eee4db0
fixed allinfo bug reported by metze
...
(This used to be commit 0b7e5d6353
)
2003-08-14 04:14:49 +00:00
Andrew Tridgell
89f55d36f3
added the ancient SMBcreate operation to the testsuite and client lib
...
(This used to be commit 3eef35e581
)
2003-08-14 01:31:31 +00:00
Andrew Tridgell
9af22cd883
added SMBopen to gentest
...
(This used to be commit b47737b00b
)
2003-08-14 01:21:05 +00:00
Andrew Tridgell
ae6453269d
added seek to gentest
...
(This used to be commit 401fce169e
)
2003-08-14 01:12:27 +00:00
Andrew Tridgell
b34df4fa86
added read/write seek testing
...
(This used to be commit 66691dc958
)
2003-08-14 01:03:56 +00:00
Jelmer Vernooij
11d32f259f
File is part of the HOWTO Collection
...
(This used to be commit 37992b6719
)
2003-08-14 00:08:21 +00:00
Andrew Tridgell
4b3d329ca2
- added a raw smb scanner
...
- its not a root_fid in ntrename
(This used to be commit 74be55efdc
)
2003-08-13 22:23:18 +00:00
Andrew Tridgell
a33f570776
- added test for position_information via paths
...
(This used to be commit 595be06a42
)
2003-08-13 20:22:37 +00:00
Andrew Tridgell
0908c05b5c
- expanded the ntrename test
...
- expanded seek test - the position information is handle specific!
(This used to be commit 163970bda6
)
2003-08-13 20:19:23 +00:00
Andrew Tridgell
786d9dfe55
process_model.h is not used at all - hangover from earlier design
...
(This used to be commit 6b49bc41d4
)
2003-08-13 18:09:36 +00:00
Andrew Tridgell
424ecf038c
disabled autoconf 2.53 requirement until we know exactly why it is
...
needed - for example I have tested autoconf 2.52 on suse 7.3 and it
works fine
(This used to be commit cdaf99139d
)
2003-08-13 16:53:37 +00:00
Andrew Tridgell
75c0125fb7
- added SMBntrename test suite
...
- allow username of form DOMAIN\username or DOMAIN/username
- added ntrename to gentest
(This used to be commit 2b464472c1
)
2003-08-13 16:04:21 +00:00
Andrew Tridgell
a3b86fe170
put config.guess in the right place!
...
(This used to be commit 5bb8733fd6
)
2003-08-13 02:06:45 +00:00
Andrew Tridgell
d2b5b80c95
- cope with servers that don't properly implement SMBexit
...
- add the pidhigh test to the locking test
- expand the rename and unlink testing
- test a wider range of offsets in RAW-READ
(This used to be commit ef819249ec
)
2003-08-13 02:04:44 +00:00
Andrew Tridgell
9665caf832
make sure we give the chosen workgroup in gentest
...
(This used to be commit b8aa4a9a8f
)
2003-08-13 02:03:16 +00:00
Andrew Tridgell
a027153046
check for an invalid TID in reply_exit()
...
(This used to be commit fca5a1e89d
)
2003-08-13 02:02:54 +00:00
Andrew Tridgell
b05a2aad54
add support for 32 bit pid using the PIDHIGH field. This allows the
...
test suite to see if it is supported. w2k3 doesn't seem to support it.
(This used to be commit c946be06a4
)
2003-08-13 02:02:17 +00:00
Andrew Tridgell
e063ea70ad
use the \\server\share form of tconx to work with servers that don't
...
cope with the simpler form
(This used to be commit 295cc63fb8
)
2003-08-13 02:01:01 +00:00
Andrew Tridgell
cc3a6ea992
This commit was generated by cvs2svn to compensate for changes in r30,
...
which included commits to RCS files with non-trunk default branches.
(This used to be commit 3a69cffb06
)
2003-08-13 01:53:07 +00:00
Andrew Tridgell
ef2e26c91b
first public release of samba4 code
...
(This used to be commit b0510b5428
)
2003-08-13 01:53:07 +00:00
Tim Potter
4d1f9d1def
Added "return offset;" to end of generated function.
...
We're getting really close now! Ethereal can properly decode OpenPolicy
requests and responses using pidl generated code. QueryInfoPolicy
is nearly working.
(This used to be commit 23a9812987
)
2001-12-10 20:43:59 +00:00
Tim Potter
7ab4731cd9
Fix for pointers to structures in function args.
...
(This used to be commit e35c62267f
)
2001-12-10 06:23:52 +00:00
Tim Potter
7fd9b2ae1c
Misc fixes:
...
- pass correct args when doing arrays of scalar vs buffer types
- add NULL data argument to all calls
- get rid of unecessary curly brackets
- typos
(This used to be commit 42a688ea1c
)
2001-12-09 08:07:20 +00:00
Tim Potter
3c3fb798fd
wchar_t is a scalar.
...
(This used to be commit 79e56e719c
)
2001-12-09 06:12:51 +00:00
Tim Potter
ae02ee94e9
Convert a bunch of "prs_foo()" to "offset = prs_foo()"
...
Return offset from function request and response code.
(This used to be commit 83ada5447b
)
2001-12-08 22:40:36 +00:00
Tim Potter
ae87ee3ccd
Removed old commented-out code.
...
Generate code for parsing arrays.
We're nearly ready to start generating real code!
(This used to be commit f6f5b8a718
)
2001-12-08 22:04:16 +00:00
Tim Potter
6ec1278d16
Reinvented has_properties() function lost after HD crash. )-:
...
Fixed up handling of pointer to scalar type.
(This used to be commit eb3dbe113f
)
2001-12-08 21:43:22 +00:00
Tim Potter
d99084e3ec
Made hyper a simple type.
...
Changed dissect_ to prs_ to avoid name conflicts.
(This used to be commit 2670f1f8e1
)
2001-12-08 21:13:44 +00:00
Tim Potter
4201dba52e
Moved processing of function arguments and structure elements
...
back in to ParseElement()
is_simple_type() -> is_scalar_type()
Added more types to scalar type list.
Pass scalars/buffers flag down to ParseElement()
(This used to be commit 802c219bab
)
2001-12-06 07:16:08 +00:00
Tim Potter
71f99b2a1e
Don't pass down drep (data representation) arg from top level fn.
...
Decided to use tridge's PARSE_SCALARS and PARSE_BUFFERS pattern for
generating code for structures and function calls. For functions, dissect
sub-structures with PARSE_SCALARS|PARSE_BUFFERS. For arrays and structures
in structures (?) use PARSE_SCALARS on each element of the structure then
PARSE_BUFFERS.
Determine whether a type is a "simple" type or a struct/union.
(This used to be commit bb5bab5817
)
2001-12-06 03:59:51 +00:00
Tim Potter
100655416e
Don't pass decorative name to policy handle or ntstatus dissectors.
...
Pass drep (data representation?) field down from dcerpc dissector. This is
whether the packet is big or little endian.
(This used to be commit e5ca478614
)
2001-11-28 06:29:24 +00:00
Tim Potter
b056579969
Decorate some of the parse functions with element names. This is starting
...
to get closer to be compilable code!
(This used to be commit fbfe0795a9
)
2001-11-28 06:05:26 +00:00
Tim Potter
b23b2ae0fd
Start generating some ethereal code that may actually compile with
...
fewer tweaks.
(This used to be commit b045bbec59
)
2001-11-27 00:35:50 +00:00
Tim Potter
07aed4b599
Start generating code for unions.
...
(This used to be commit ac71046754
)
2001-11-26 05:27:32 +00:00
Tim Potter
a402ea46ab
Ignore *.pidl
...
(This used to be commit c2fa746c47
)
2001-11-26 05:25:24 +00:00
Tim Potter
de5f7da321
Renamed functions from Dump* to Parse*
...
(This used to be commit 952b47dc23
)
2001-11-24 23:39:12 +00:00
Tim Potter
e581569a87
Initial version of ethereal parser generator. Works with test.idl
...
but not much else!
(This used to be commit 84fe4a000c
)
2001-11-24 23:37:57 +00:00
Tim Potter
92ba6fc79e
Added --eparser to call ethereal parser generator.
...
(This used to be commit e1f191a9dc
)
2001-11-24 23:35:58 +00:00
Andrew Tridgell
95baaba31c
forgot a file
...
(This used to be commit 39e8894fb2
)
2001-11-24 11:29:42 +00:00
Andrew Tridgell
a1cd69698f
changed auto-generated comment for headers
...
(This used to be commit 24ec2f1f81
)
2000-12-14 23:53:33 +00:00
Andrew Tridgell
e42a8b3db9
beginnings of the C parser generator
...
(This used to be commit a9b1e03b33
)
2000-12-14 23:53:19 +00:00
Andrew Tridgell
4bad800aa1
added header generation
...
(This used to be commit 406458b2fc
)
2000-12-14 04:41:56 +00:00
Andrew Tridgell
dac34e4b70
fixed help
...
(This used to be commit 649e8ca0bb
)
2000-12-14 04:41:45 +00:00
Andrew Tridgell
bdb96b0e94
added a comment
...
(This used to be commit 6831c000a3
)
2000-12-14 04:41:31 +00:00
Andrew Tridgell
5bd7a4a832
- fixed FlattenHash bug
...
- better handling of .. in filenames
(This used to be commit 4a9953f55b
)
2000-12-14 04:16:57 +00:00
Andrew Tridgell
ce74988dc8
first version
...
(This used to be commit 14135ed6bb
)
2000-12-14 04:09:29 +00:00