Andrew Tridgell
a6e5654b3d
fixed srvsvc_NetShareEnumAll()
...
(This used to be commit ab4056e25ccfde5136ff3a1cd5d1efa78f1eee1b)
2003-11-20 05:34:02 +00:00
Richard Sharpe
4730469cd8
Add a 1004 level for srvsvc.
...
(This used to be commit 9810e6f180564247dee584d197180d394b208c24)
2003-11-20 04:45:16 +00:00
Andrew Tridgell
b2fd4284b6
use a precompiled grammer in pidl. This speeds up pidl by about a
...
factor of 2 on my system.
(This used to be commit a291dd835f68ae5a109670b1d1ca1a48b2aacfb6)
2003-11-20 04:36:09 +00:00
Tim Potter
8f0f97b078
Added ATSVC pipe.
...
(This used to be commit 274058486766f7a1094918702e7bc225aa938b2e)
2003-11-20 03:27:56 +00:00
Andrew Tridgell
52cae6b908
added samr_LookupRids() and test code
...
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
2003-11-20 03:18:07 +00:00
Andrew Tridgell
308cc429eb
added samr_LookupNames() and test code
...
(This used to be commit f8397cbc8554b721093b8ae6ac6fb26d0ee9a7cf)
2003-11-20 03:09:19 +00:00
Andrew Tridgell
cde87e39c6
avoid compiler warnings for unused variables with [relative] pointers
...
(This used to be commit 786566e53c22d8d0813cf006a70aef8508bba4dd)
2003-11-20 02:06:25 +00:00
Andrew Tridgell
52461a3d14
its LoadStructure() in util.pm that doesn't like strict perl - any
...
perl gurus out there know why?
(This used to be commit a1d9afc92fce52a76c0a233513b2cb24f0cb9cf5)
2003-11-20 02:03:36 +00:00
Andrew Tridgell
427bb5541b
damn, "use strict;" in util.pm breaks pidl - but why?
...
(This used to be commit 8f54792392ccaa6c1464ed8ec90e44c0048b5ee2)
2003-11-20 01:55:32 +00:00
Andrew Tridgell
91b960e22b
use strict perl package everywhere for error checking
...
(This used to be commit 3b7a4b70a321a1e8e378b8c5cc1e87a1c3399e91)
2003-11-20 01:43:35 +00:00
Andrew Tridgell
8a8b2da9c9
make the echo idl match the win32 IDL again
...
(This used to be commit 4b901bd717a48daae24d8f7738169ac3cc5ba7fa)
2003-11-20 01:32:43 +00:00
Andrew Tridgell
f01e89e9e0
EnumPrinterData in spoolss now works
...
(This used to be commit af07ca7fbcb4118f2415218d0c48798119b7c6b2)
2003-11-20 01:28:33 +00:00
Andrew Tridgell
cd3c6c3cc7
* added a 'lstring' type for spoolss
...
* added some notes on type equivalents in NOTES.txt
(This used to be commit a44d952fcb7ebf85d3072b622e5656dcf25cfbb0)
2003-11-20 01:27:17 +00:00
Andrew Tridgell
376ba1921f
some errors are expected in SAMR and LSA tests - don't fail the test
...
when they are given
(This used to be commit 6e2d3aa433cc77f2ac9f2a7c807bc2668a8b7a9a)
2003-11-20 01:02:09 +00:00
Andrew Tridgell
66a827c921
* changed to midl syntax using [case(x)] instead of case(x)
...
* use empty defaults instead of a dummy empty structure
(This used to be commit 555a340d3c0697b147799bc0a6615e01e196daf6)
2003-11-20 00:57:59 +00:00
Andrew Tridgell
fd15fc58e7
* added support for empty case elements (including default cases)
...
* changed to midl syntax using [case(x)] instead of case(x)
(This used to be commit 6ecdb25e137c25e6bf9a7037a4eb602ae1afc514)
2003-11-20 00:57:00 +00:00
Andrew Tridgell
940ce958a6
make the socket send code a little clearer
...
(This used to be commit 48028fbb856ea7ee642f36ba9ed0d5815763f52b)
2003-11-20 00:36:10 +00:00
Andrew Tridgell
25de3041e6
fixed wkssvc idl and test code for TransportEnum
...
(This used to be commit 42639a8f66e8d4241b24935772552f235f863096)
2003-11-19 23:18:35 +00:00
Andrew Tridgell
e1e98ab049
updated copyright year
...
(This used to be commit 4dcc06d04c67c6e063c5b2a88f693423c77f342d)
2003-11-19 23:17:55 +00:00
Andrew Tridgell
5d4bfbd30d
switched to a new way of handling unions, so that we can handle
...
alignment correctly for unions that have non-uint16 discriminants
added recursive structure alignment. This gets quite hairy, but I
think I've got it mostly right.
(This used to be commit c0d96f87ea633b1372a383f705aaf4ed3099b4a7)
2003-11-19 22:11:17 +00:00
Andrew Tridgell
10ee36bede
switched to a new way of handling unions, so that we can handle
...
alignment correctly for unions that have non-uint16 discriminants
fixed the union handling in srvsvc.idl. (metze, please take a look at
the changes, your IDL did match what was one the wire in most cases,
but isn't the way IDL is usually coded)
(This used to be commit 7b5d0287298e8505e0ec7b22d75d9f9a8a610031)
2003-11-19 22:10:20 +00:00
Richard Sharpe
5a51af0685
Fix up some things in the IDL, and fix up a mistake I made before.
...
entriesreturned does not appear as a top-level IDL item. It appears in the
structure that is returned.
I have traces of TransportEnum that Ethereal properly dissects ...
(This used to be commit e3f046037844e3017653f56d6c262951db1f1d4f)
2003-11-19 19:44:17 +00:00
Richard Sharpe
7b3f7cd7fd
Some simple tweaks to the IDL to make it more correct ...
...
I am also concerned about the difference between NetShareEnum and
NetShareEnumAll. I would be interested to see a trace of NetShareEnumAll.
I also think we should stick to the names used in MSDN where possible, as
that makes it easier for people who are familiar with MSDN to help us get
this right.
(This used to be commit 580939e62e80a06b9a8ad974f6798c49dab4f78c)
2003-11-19 19:32:28 +00:00
Andrew Tridgell
1941b5cef0
started to expand the echo tests to include more interesting test
...
cases. We fail one of the alignment tests.
(This used to be commit 5bb21e57b844e98cc8f1dc264bc45097c08329e3)
2003-11-19 12:03:11 +00:00
Andrew Tridgell
4e18040236
srvsvc IDL and test code from metze. Thanks!
...
(This used to be commit 54d3cb22dc0ddc46eb114aa104e0660b3a437cb2)
2003-11-19 09:15:46 +00:00
Andrew Tridgell
de3f0b424f
after discussions with lukeh, I think we found a alignment bug in old
...
versions of midl, as used to build LSA. Work around it here.
(This used to be commit b3bd2bf10badd60d7c4952c6e1687568b413ee47)
2003-11-19 07:31:17 +00:00
Andrew Tridgell
d60fe82970
slightly more accurate structure alignment code - I need to do proper
...
recursive alignment soon
(This used to be commit d3838c3668d5acb4aee86e3dd5b8d7d23bc842ff)
2003-11-19 07:29:55 +00:00
Andrew Tridgell
897b9d8872
removed an unused structure
...
(This used to be commit 005614ef787d85499a3d970bce08549de0c2caab)
2003-11-19 05:54:21 +00:00
Andrew Tridgell
6786811f65
change to AuditEventsInfo struct from lukeh
...
(This used to be commit 670c0cbe034e1e2ac5aed751b6c4fbd925fe3221)
2003-11-19 05:53:05 +00:00
Andrew Tridgell
a0cd1069ce
fixed country code field in samr_UserInfo5
...
(This used to be commit d194247b1bac03fbe3fd8226b897fa6886c6ca4c)
2003-11-19 05:26:11 +00:00
Andrew Tridgell
025236281b
possibly better handling of NULL secdesc (thanks to lukeh)
...
(This used to be commit a1230f1b4b0b06d08bfe7c8a7e4863357db1ca5a)
2003-11-19 04:44:47 +00:00
Andrew Tridgell
7f086443f5
init samr and lsa names so the debug display looks right
...
(This used to be commit 343728fad47f46e404be15d44c5b66f870302d9d)
2003-11-19 03:20:32 +00:00
Andrew Tridgell
13e10b47fb
separate the reason and result codes in a bind_ack. This is needed for
...
interop with the opengroup dcerpc code
(This used to be commit 8d9061dcd097ed7eee8d9ec531db65b1df8ac8e6)
2003-11-19 03:01:57 +00:00
Andrew Tridgell
22ef16aa44
added a thanks to Todd Sabin (with his permission)
...
(This used to be commit 9d5d6b2f9339dcd069524f6a9260c3581da2a92a)
2003-11-18 22:35:39 +00:00
Andrew Tridgell
0c10913303
added another wkssvc info level
...
(This used to be commit fb0aa83a2b27699bf47e1ade413b7f4738b5fa79)
2003-11-18 11:52:06 +00:00
Andrew Tridgell
bdf0578621
added samr_CreateUser() samr_DeleteUser(). The test suite creates a
...
test user called "samrtorturetest" and then deletes it. The next step
is to do all possible user operations on that temporary user.
(This used to be commit 41fc922954bd8ec461a79a22cc903e63902c7401)
2003-11-18 10:21:05 +00:00
Andrew Tridgell
d1667d5799
get rid of the old rpcclient code - it needs to be rewritten to use the new rpc infrastructure
...
(This used to be commit c9163d5e05d94e54719f27ac8cfefc9a1e755f2d)
2003-11-18 09:19:43 +00:00
Andrew Tridgell
8f38cc8df8
cope with no printers returned from EnumPrinters
...
(This used to be commit 8c49669dbec96df365d1866df24a17c1ff2c6cd0)
2003-11-18 09:19:34 +00:00
Andrew Tridgell
20f1530a11
changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().
...
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)
2003-11-18 08:03:06 +00:00
Tim Potter
30daed2f7c
Working on EnumPrinterData. There appears to be an alignment problem
...
after reading a non-empty DATA_BLOB in the reply.
(This used to be commit 3165bf532f6b5a074f20f38a9af56325eedbb1c2)
2003-11-18 05:54:14 +00:00
Andrew Tridgell
06d0f61aa4
added samr_QuerySecurity() call that displays the ACL for any handle.
...
(This used to be commit 5bbeaaa3d13c838d014e7689b0fcf7374c8c7f57)
2003-11-18 05:20:54 +00:00
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 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
2003-11-18 05:01:10 +00:00
Andrew Tridgell
c88b0b2bb2
remove some old junk from the Makefile
...
(This used to be commit 8d9d620e10833e5b1803b1e810a4c4a48094dc16)
2003-11-18 04:59:59 +00:00
Andrew Tridgell
3425f1bfe4
auto-generate the pipe UUID version and name
...
(This used to be commit cdba426e62a5b30263b75f53f97b191da224a55f)
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 62d7e9819c95c906d1094f711bc60cf58def30f6)
2003-11-18 03:28:01 +00:00
Andrew Tridgell
cb22240eb4
support the 'default' case in IDL unions
...
(This used to be commit 7f3f274cdc0f22324049952f2b744902a6fdf652)
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 1b691927ac48f044216171bbd4cf3fd4fc25086e)
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 c69161bdb13745f271b0cfa9a9af349f7a95edc6)
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 db74a03d15d96d7f8bd751b8f857cc5b2be7d4c2)
2003-11-18 01:17:10 +00:00
Andrew Tridgell
f1462caf61
remove an unused variable
...
(This used to be commit 1a885e4abe47d3442cba1dd6d2286ae276dd8ecc)
2003-11-17 12:46:11 +00:00