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

9091 Commits

Author SHA1 Message Date
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
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 3305226140793f39af827b63c270486c1966718e)
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 33bb8785625b1845750f28f2d810e7096afe9f8e)
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 6afc3a465e3fc568636ff52975a6d339f8bc3179)
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 a5140985d8f57695b4165c72af217092da6fae5f)
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 22b5418a53149b42e71fd887866f75cdd53b81af)
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 d5a15257fdd5f6cfe2706765a7c29f623ec1c6f8)
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 08df20c8bed57bbb9a9a907c807ad850382fd4e8)
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 136b3cfc0460315e924c3d9c8328c1850fc21fba)
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 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
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 8301a6b6ad45f76a42d0fcab6347c187eee615a9)
2003-11-17 02:58:10 +00:00
Andrew Tridgell
ff9558bdf9 handle non-NTSTATUS return types
(This used to be commit 5832a1447c1d757a89d1f09324144132f9427cb1)
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 060421c7dc9aa611fe4160843a4f76498ab16bf4)
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 eb887f883a3ef2a90edec5bb495e140656c2f70d)
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 69c6017c945bdd7d1945f22fcad49112ba6a2d2d)
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 4a34a4f29cf8ab79582ce7b503da907df7b4d209)
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 e18dba7d5a957ef82e8f91733a0bf95d579dcd7a)
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 fb2f8c6bffdaacdddbb7fb82439af70e17ce9a4b)
2003-11-16 11:34:32 +00:00
Tim Potter
7ca3720acb Initial version of printer info 1 for tridge.
(This used to be commit 03185769be43133df1f6e33b604d9c41c8f2e194)
2003-11-16 06:08:43 +00:00
Andrew Tridgell
4e959703a2 ignore .pidl files
(This used to be commit 8b2a0988e82ffca7690d9d23f00dafa4377a1e62)
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 05ed2f6dc986111ce448123c91380f9340799ecc)
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 01cc199d78da9e60aa8a279b37fbf8298cf61004)
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 468c2dc632703e6956428fb5f1da4044709b8f6f)
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 8b38041f6530e42c5d294a5947c15a7f6a2d3c61)
2003-11-16 05:05:38 +00:00
Tim Potter
1f4fe8e486 Commit autogenerated code for EnumPrinters and ClosePrinter.
(This used to be commit 1a0271fc3402ab7bd7bb004be8f833dfb8a1724f)
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 8fcac6742f7b34d85ca7456aa33ffad88281d397)
2003-11-16 04:22:20 +00:00
Tim Potter
274667be32 Added tests for EnumPrinters and ClosePrinter.
(This used to be commit 9f3b84c7d7a7e6316b2cc051b01efcfb679534ad)
2003-11-16 04:20:29 +00:00
Tim Potter
6098faca03 Added IDL for EnumPrinters and ClosePrinter.
(This used to be commit 5eba47a4a3c01d362d446d1db3c17dcb802c97b0)
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 67e826923cffdeba91319a4845681a5a586bce49)
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 ab5939e79600841c5e7e31e9da8742bf2da4a184)
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 fa0872e66359603a52813af13b45fdaeca98f5d0)
2003-11-15 20:56:18 +00:00
Andrew Tridgell
c24f56e71c remember to samr_Close() policy handles after use
(This used to be commit 8b4e5c65e0e18657befbd5eba2d195c2751dcf7f)
2003-11-15 20:47:59 +00:00