kai/samba.git
20 years agoadded another wkssvc info level
Andrew Tridgell [Tue, 18 Nov 2003 11:52:06 +0000 (11:52 +0000)]
added another wkssvc info level
(This used to be commit fb0aa83a2b27699bf47e1ade413b7f4738b5fa79)

20 years agoadded samr_CreateUser() samr_DeleteUser(). The test suite creates a
Andrew Tridgell [Tue, 18 Nov 2003 10:21:05 +0000 (10:21 +0000)]
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)

20 years agoget rid of the old rpcclient code - it needs to be rewritten to use the new rpc infra...
Andrew Tridgell [Tue, 18 Nov 2003 09:19:43 +0000 (09:19 +0000)]
get rid of the old rpcclient code - it needs to be rewritten to use the new rpc infrastructure
(This used to be commit c9163d5e05d94e54719f27ac8cfefc9a1e755f2d)

20 years agocope with no printers returned from EnumPrinters
Andrew Tridgell [Tue, 18 Nov 2003 09:19:34 +0000 (09:19 +0000)]
cope with no printers returned from EnumPrinters
(This used to be commit 8c49669dbec96df365d1866df24a17c1ff2c6cd0)

20 years agochanged wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().
Andrew Tridgell [Tue, 18 Nov 2003 08:03:06 +0000 (08:03 +0000)]
changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)

20 years agoWorking on EnumPrinterData. There appears to be an alignment problem
Tim Potter [Tue, 18 Nov 2003 05:54:14 +0000 (05:54 +0000)]
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)

20 years agoadded samr_QuerySecurity() call that displays the ACL for any handle.
Andrew Tridgell [Tue, 18 Nov 2003 05:20:54 +0000 (05:20 +0000)]
added samr_QuerySecurity() call that displays the ACL for any handle.
(This used to be commit 5bbeaaa3d13c838d014e7689b0fcf7374c8c7f57)

20 years agouse the auto-generated UUID, version and name rather than listing them
Andrew Tridgell [Tue, 18 Nov 2003 05:01:10 +0000 (05:01 +0000)]
use the auto-generated UUID, version and name rather than listing them
in the dcerpc core code
(This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)

20 years agoremove some old junk from the Makefile
Andrew Tridgell [Tue, 18 Nov 2003 04:59:59 +0000 (04:59 +0000)]
remove some old junk from the Makefile
(This used to be commit 8d9d620e10833e5b1803b1e810a4c4a48094dc16)

20 years agoauto-generate the pipe UUID version and name
Andrew Tridgell [Tue, 18 Nov 2003 04:59:29 +0000 (04:59 +0000)]
auto-generate the pipe UUID version and name
(This used to be commit cdba426e62a5b30263b75f53f97b191da224a55f)

20 years agofill in skeletons for the rest of the function calls in wkssvc (based
Andrew Tridgell [Tue, 18 Nov 2003 03:28:01 +0000 (03:28 +0000)]
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)

20 years agosupport the 'default' case in IDL unions
Andrew Tridgell [Tue, 18 Nov 2003 03:25:51 +0000 (03:25 +0000)]
support the 'default' case in IDL unions
(This used to be commit 7f3f274cdc0f22324049952f2b744902a6fdf652)

20 years agoignore c and h files in the idl dir. This makes it easier to
Andrew Tridgell [Tue, 18 Nov 2003 01:34:09 +0000 (01:34 +0000)]
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)

20 years ago* use the new auto-generated debug code method.
Andrew Tridgell [Tue, 18 Nov 2003 01:18:24 +0000 (01:18 +0000)]
* use the new auto-generated debug code method.

* add a couple more info levels to wkssvc
(This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)

20 years agoauto-generate top-level debug print functions when a flag is set on
Andrew Tridgell [Tue, 18 Nov 2003 01:17:10 +0000 (01:17 +0000)]
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)

20 years agoremove an unused variable
Andrew Tridgell [Mon, 17 Nov 2003 12:46:11 +0000 (12:46 +0000)]
remove an unused variable
(This used to be commit 1a885e4abe47d3442cba1dd6d2286ae276dd8ecc)

20 years agoadded wkssvc.idl and test code
Andrew Tridgell [Mon, 17 Nov 2003 12:43:18 +0000 (12:43 +0000)]
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)

20 years ago * add another WERR err code
Andrew Tridgell [Mon, 17 Nov 2003 11:55:56 +0000 (11:55 +0000)]
 * 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)

20 years agoauto-generate functions for printing top-level function
Andrew Tridgell [Mon, 17 Nov 2003 11:53:12 +0000 (11:53 +0000)]
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)

20 years agouse [subcontext] to make GetPrinter a bit easier in smbtorture
Andrew Tridgell [Mon, 17 Nov 2003 09:34:19 +0000 (09:34 +0000)]
use [subcontext] to make GetPrinter a bit easier in smbtorture
(This used to be commit a5140985d8f57695b4165c72af217092da6fae5f)

20 years agostarted documenting the extension to IDL that pidl implements
Andrew Tridgell [Mon, 17 Nov 2003 09:32:57 +0000 (09:32 +0000)]
started documenting the extension to IDL that pidl implements
(This used to be commit 22b5418a53149b42e71fd887866f75cdd53b81af)

20 years agosecurity descriptors are no longer a "special" type, they are handled
Andrew Tridgell [Mon, 17 Nov 2003 06:27:45 +0000 (06:27 +0000)]
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)

20 years ago* support inline arrays
Andrew Tridgell [Mon, 17 Nov 2003 06:25:51 +0000 (06:25 +0000)]
* 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)

20 years agocall OpenPrinterEx on each printer on the server, and then call
Andrew Tridgell [Mon, 17 Nov 2003 04:56:59 +0000 (04:56 +0000)]
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)

20 years agoadded OpenPrinter and a test function. Note that the Samba3 structure
Andrew Tridgell [Mon, 17 Nov 2003 03:38:13 +0000 (03:38 +0000)]
added OpenPrinter and a test function. Note that the Samba3 structure
for OpenPrinter was wrong.
(This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)

20 years ago* more info levels for EnumPrinter
Andrew Tridgell [Mon, 17 Nov 2003 02:58:10 +0000 (02:58 +0000)]
* more info levels for EnumPrinter

* use WERROR return type in spoolss EnumPrinter
(This used to be commit 8301a6b6ad45f76a42d0fcab6347c187eee615a9)

20 years agohandle non-NTSTATUS return types
Andrew Tridgell [Mon, 17 Nov 2003 02:57:04 +0000 (02:57 +0000)]
handle non-NTSTATUS return types
(This used to be commit 5832a1447c1d757a89d1f09324144132f9427cb1)

20 years agonicer method of handling spoolss EnumPrinters
Andrew Tridgell [Mon, 17 Nov 2003 02:18:11 +0000 (02:18 +0000)]
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)

20 years agobetter [relative] handling, allowing for nested relative structures
Andrew Tridgell [Mon, 17 Nov 2003 02:17:01 +0000 (02:17 +0000)]
better [relative] handling, allowing for nested relative structures
and arrays of relative structures
(This used to be commit eb887f883a3ef2a90edec5bb495e140656c2f70d)

20 years agouse nstring and [relative] to support levels 1 and 2 of EnumPrinters
Andrew Tridgell [Sun, 16 Nov 2003 13:49:14 +0000 (13:49 +0000)]
use nstring and [relative] to support levels 1 and 2 of EnumPrinters
fully
(This used to be commit 69c6017c945bdd7d1945f22fcad49112ba6a2d2d)

20 years ago * the beginnings of non-constant fixed arrays
Andrew Tridgell [Sun, 16 Nov 2003 13:48:05 +0000 (13:48 +0000)]
 * the beginnings of non-constant fixed arrays

 * added relative pointers support
(This used to be commit 4a34a4f29cf8ab79582ce7b503da907df7b4d209)

20 years agoadded support for level1 of EnumPrinters in spoolss. This uses a
Andrew Tridgell [Sun, 16 Nov 2003 11:36:59 +0000 (11:36 +0000)]
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)

20 years agoadded support for "relstr", structure and union properties and public
Andrew Tridgell [Sun, 16 Nov 2003 11:34:32 +0000 (11:34 +0000)]
added support for "relstr", structure and union properties and public
functions
(This used to be commit fb2f8c6bffdaacdddbb7fb82439af70e17ce9a4b)

20 years agoInitial version of printer info 1 for tridge.
Tim Potter [Sun, 16 Nov 2003 06:08:43 +0000 (06:08 +0000)]
Initial version of printer info 1 for tridge.
(This used to be commit 03185769be43133df1f6e33b604d9c41c8f2e194)

20 years agoignore .pidl files
Andrew Tridgell [Sun, 16 Nov 2003 06:01:07 +0000 (06:01 +0000)]
ignore .pidl files
(This used to be commit 8b2a0988e82ffca7690d9d23f00dafa4377a1e62)

20 years agouse the "subcontext" magic flag for sec_desc_buf
Andrew Tridgell [Sun, 16 Nov 2003 06:00:15 +0000 (06:00 +0000)]
use the "subcontext" magic flag for sec_desc_buf
(This used to be commit 05ed2f6dc986111ce448123c91380f9340799ecc)

20 years agoadded the "subcontext" attribute for auto-handling of user-marshalled
Andrew Tridgell [Sun, 16 Nov 2003 05:59:05 +0000 (05:59 +0000)]
added the "subcontext" attribute for auto-handling of user-marshalled
sub-context buffers
(This used to be commit 01cc199d78da9e60aa8a279b37fbf8298cf61004)

20 years agoslightly more efficient strlen setting in lsa and samr strings (calls
Andrew Tridgell [Sun, 16 Nov 2003 05:07:07 +0000 (05:07 +0000)]
slightly more efficient strlen setting in lsa and samr strings (calls
strlen_m() once, not twice)
(This used to be commit 468c2dc632703e6956428fb5f1da4044709b8f6f)

20 years agofixed the handling of much more general C expressions in value()
Andrew Tridgell [Sun, 16 Nov 2003 05:05:38 +0000 (05:05 +0000)]
fixed the handling of much more general C expressions in value()
statements
(This used to be commit 8b38041f6530e42c5d294a5947c15a7f6a2d3c61)

20 years agoCommit autogenerated code for EnumPrinters and ClosePrinter.
Tim Potter [Sun, 16 Nov 2003 04:25:45 +0000 (04:25 +0000)]
Commit autogenerated code for EnumPrinters and ClosePrinter.
(This used to be commit 1a0271fc3402ab7bd7bb004be8f833dfb8a1724f)

20 years agoAdded push/pull routines for uint8_buf IDL type used for spoolss buffers,
Tim Potter [Sun, 16 Nov 2003 04:22:20 +0000 (04:22 +0000)]
Added push/pull routines for uint8_buf IDL type used for spoolss buffers,
and possibly other places.
(This used to be commit 8fcac6742f7b34d85ca7456aa33ffad88281d397)

20 years agoAdded tests for EnumPrinters and ClosePrinter.
Tim Potter [Sun, 16 Nov 2003 04:20:29 +0000 (04:20 +0000)]
Added tests for EnumPrinters and ClosePrinter.
(This used to be commit 9f3b84c7d7a7e6316b2cc051b01efcfb679534ad)

20 years agoAdded IDL for EnumPrinters and ClosePrinter.
Tim Potter [Sun, 16 Nov 2003 04:19:12 +0000 (04:19 +0000)]
Added IDL for EnumPrinters and ClosePrinter.
(This used to be commit 5eba47a4a3c01d362d446d1db3c17dcb802c97b0)

20 years agorun the basic build tests on sub-builds like "make torture" as well
Andrew Tridgell [Sat, 15 Nov 2003 21:28:00 +0000 (21:28 +0000)]
run the basic build tests on sub-builds like "make torture" as well
(This used to be commit 67e826923cffdeba91319a4845681a5a586bce49)

20 years agosimple method for auto-building rpc files if idl changes, and
Andrew Tridgell [Sat, 15 Nov 2003 21:25:03 +0000 (21:25 +0000)]
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)

20 years agothe returned policy handle in spoolss_OpenPrinterEx() is pass by
Andrew Tridgell [Sat, 15 Nov 2003 20:56:18 +0000 (20:56 +0000)]
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)

20 years agoremember to samr_Close() policy handles after use
Andrew Tridgell [Sat, 15 Nov 2003 20:47:59 +0000 (20:47 +0000)]
remember to samr_Close() policy handles after use
(This used to be commit 8b4e5c65e0e18657befbd5eba2d195c2751dcf7f)

20 years agoadded OpenAlias and QueryAliasInfo levels 1 to 3
Andrew Tridgell [Sat, 15 Nov 2003 12:38:06 +0000 (12:38 +0000)]
added OpenAlias and QueryAliasInfo levels 1 to 3
(This used to be commit 2ed8cfdf6662f74808df67e3e9d03cf03f765569)

20 years agoadded OpenGroup and QueryGroupInfo levels 1 to 4
Andrew Tridgell [Sat, 15 Nov 2003 12:14:22 +0000 (12:14 +0000)]
added OpenGroup and QueryGroupInfo levels 1 to 4
(This used to be commit ffe4fcaab0fe4f6e0f64fb2d57c77442aa2e1f6f)

20 years agodon't encode my own servers name in the test :)
Andrew Tridgell [Sat, 15 Nov 2003 11:39:47 +0000 (11:39 +0000)]
don't encode my own servers name in the test :)
(This used to be commit bcc87ab8c0a5a51c4af13a7985f31e16c168957c)

20 years agoadded UserInfo level 21
Andrew Tridgell [Sat, 15 Nov 2003 11:34:01 +0000 (11:34 +0000)]
added UserInfo level 21
(This used to be commit b90eff794f083029c568d3ec4ec2a7d2f7741139)

20 years agoadded samr UserInfo levels 4 to 20
Andrew Tridgell [Sat, 15 Nov 2003 11:13:49 +0000 (11:13 +0000)]
added samr UserInfo levels 4 to 20
(This used to be commit 5bbe63a7bbd4623dbbab7f74c00c7998d469571c)

20 years agoadded samr_UserInfo2 and samr_UserInfo3
Andrew Tridgell [Sat, 15 Nov 2003 10:58:29 +0000 (10:58 +0000)]
added samr_UserInfo2 and samr_UserInfo3
(This used to be commit 5e852f694c039ae8bde3490be9e0c4959c1e93f0)

20 years agoadded support for varying conformant arrays (needed for samr
Andrew Tridgell [Sat, 15 Nov 2003 10:57:17 +0000 (10:57 +0000)]
added support for varying conformant arrays (needed for samr
userinfo3)
(This used to be commit f5b577a2b9d8084c8ee3f5b646b059c3297695b4)

20 years agoadded samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
Andrew Tridgell [Sat, 15 Nov 2003 10:03:12 +0000 (10:03 +0000)]
added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1
(This used to be commit e7edeec60e274c1460f7c8cc0fb4121b37e1bcd7)

20 years agoadded samr_EnumDomainGroups and samr_EnumDomainUsers
Andrew Tridgell [Sat, 15 Nov 2003 09:39:48 +0000 (09:39 +0000)]
added samr_EnumDomainGroups and samr_EnumDomainUsers
(This used to be commit f8d690fb2bc0afcc8267caa4edcbeed9463594e5)

20 years agoadded another 11 levels of QueryDomainInfo
Andrew Tridgell [Sat, 15 Nov 2003 09:18:02 +0000 (09:18 +0000)]
added another 11 levels of QueryDomainInfo
(This used to be commit 219cfabaeb38c5fd2fcabd1e6f05da206bab21e4)

20 years agofixed alignment of the buffers part structures
Andrew Tridgell [Sat, 15 Nov 2003 09:13:55 +0000 (09:13 +0000)]
fixed alignment of the buffers part structures
(This used to be commit f38ecd7ff7c2b2b36995e53af544cb99f0c084e0)

20 years agoadded samr_OpenDomain() and samr_QueryDomainInfo() level 1
Andrew Tridgell [Sat, 15 Nov 2003 08:06:39 +0000 (08:06 +0000)]
added samr_OpenDomain() and samr_QueryDomainInfo() level 1
(This used to be commit 2d9c055c1be7187ae890e46edba74bf4fedbc9db)

20 years agorun LookupDomain on each domain returned from EnumDomains in samr
Andrew Tridgell [Sat, 15 Nov 2003 07:51:19 +0000 (07:51 +0000)]
run LookupDomain on each domain returned from EnumDomains in samr
(This used to be commit 947b9f8ced486d34ee6710a921fb985ea14e2bb1)

20 years agosupport a new value() attribute that allows us to auto-fill certain
Andrew Tridgell [Sat, 15 Nov 2003 07:49:03 +0000 (07:49 +0000)]
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 c7ddd6b2aadeb3bbd2ad520a9e074866b434cbba)

20 years agoadded the first couple of calls from samr as IDL
Andrew Tridgell [Sat, 15 Nov 2003 06:00:21 +0000 (06:00 +0000)]
added the first couple of calls from samr as IDL

samr_EnumDomains() works nicely
(This used to be commit 7c162eaf3bb0195f9a2da05d6acd3c8e620f08d1)

20 years agoSkeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
Tim Potter [Sat, 15 Nov 2003 05:42:49 +0000 (05:42 +0000)]
Skeleton IDL for SPOOLSS pipe.  For this inital version, only OpenPrinterEx
works but without a devicemode.
(This used to be commit 35e889cf339f4ed62d4953b4cb5da2f21cf249a2)

20 years agoFix bug in generation of function ndr_pull code generation. This patch
Tim Potter [Sat, 15 Nov 2003 05:15:40 +0000 (05:15 +0000)]
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 4a6f192ff8396c644520050041a740856d72d40b)

20 years agoadded lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
Andrew Tridgell [Sat, 15 Nov 2003 04:42:48 +0000 (04:42 +0000)]
added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code

also adding printing of security descriptors
(This used to be commit 1f93cbc1d597b973ab1a5005ede093c1bcefff87)

20 years agoit turns out that all MS servers ignore the artifact struct_len fields
Andrew Tridgell [Fri, 14 Nov 2003 21:39:13 +0000 (21:39 +0000)]
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 f0a8f063a680b5d0a68c5ac7cccf9c9a13adfb81)

20 years agoadded the dfs_GetInfo all - all levels
Andrew Tridgell [Fri, 14 Nov 2003 13:16:34 +0000 (13:16 +0000)]
added the dfs_GetInfo all - all levels
(This used to be commit 638eae6bae76eba5494e75fb7f3da8b1c205f892)

20 years ago* make pidl.pl exit with an error on a parse error
Andrew Tridgell [Fri, 14 Nov 2003 13:15:20 +0000 (13:15 +0000)]
* make pidl.pl exit with an error on a parse error

* fixed a buffers/scalars bug in structures
(This used to be commit e66daf527357c65228db55a3d3319a0c20d8f51c)

20 years ago* added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't work
Andrew Tridgell [Fri, 14 Nov 2003 08:27:39 +0000 (08:27 +0000)]
* 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 9ad28f6ddbb777de7cac11e71c392b508c81b741)

20 years ago* fixed lsa_LookupPrivName
Andrew Tridgell [Fri, 14 Nov 2003 07:56:43 +0000 (07:56 +0000)]
* fixed lsa_LookupPrivName

* added levels 2 and 3 of dfs_Enum
(This used to be commit 3fa61c19826cd1415f561e1e5c40adcc59d4abf2)

20 years agofixed another problem with pointers to arrays in structures
Andrew Tridgell [Fri, 14 Nov 2003 07:55:43 +0000 (07:55 +0000)]
fixed another problem with pointers to arrays in structures
(This used to be commit cf880a83121421403db43ef87e95a5326e9c9cb8)

20 years agowe can now do a level1 NetDfsEnum()
Andrew Tridgell [Fri, 14 Nov 2003 07:20:46 +0000 (07:20 +0000)]
we can now do a level1 NetDfsEnum()
(This used to be commit f32641f73f7ff12b797378b3b533603ff1d526b5)

20 years agofixed the handling of unions of pointers
Andrew Tridgell [Fri, 14 Nov 2003 07:19:32 +0000 (07:19 +0000)]
fixed the handling of unions of pointers
(This used to be commit 7b0f2ccf07fc4f097c2abb4e8e63a5d457383a11)

20 years ago* differentiate between pointers and non-pointers in switch_is union
Andrew Tridgell [Fri, 14 Nov 2003 02:20:41 +0000 (02:20 +0000)]
* 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 b5888b53157c539242ce84c07415e0b0d84dc264)

20 years agofixed rpcecho EchoData debug code
Andrew Tridgell [Thu, 13 Nov 2003 10:29:58 +0000 (10:29 +0000)]
fixed rpcecho EchoData debug code
(This used to be commit 01cdcba5cdf742599f1ec1ad23c723523cd1e839)

20 years agoremoved some obsolete .cvsignore files
Andrew Tridgell [Thu, 13 Nov 2003 10:17:20 +0000 (10:17 +0000)]
removed some obsolete .cvsignore files
(This used to be commit 91aed7c6a63540c86ce71537079f628576b46ec1)

20 years agoremoved a bunch of the old rpc code in preparation for replacing it all with auto...
Andrew Tridgell [Thu, 13 Nov 2003 10:15:48 +0000 (10:15 +0000)]
removed a bunch of the old rpc code in preparation for replacing it all with auto-generated code
(This used to be commit 874bf4689d2816474b33eb1ac21530186319ed62)

20 years agomore dfs work
Andrew Tridgell [Thu, 13 Nov 2003 10:15:08 +0000 (10:15 +0000)]
more dfs work
(This used to be commit d9eb4511d0a51bafb53aa87ebb89ff03e0cbc46c)

20 years ago* fixed conformant arrays in structures
Andrew Tridgell [Thu, 13 Nov 2003 09:26:53 +0000 (09:26 +0000)]
* fixed conformant arrays in structures

* expanded the rpcecho test

* started adding the NETDFS pipe
(This used to be commit 095ab42cbdd5c1c5ab753e2eb275742ba822c8b9)

20 years agoI think we now handle conformant arrays in structures correctly - the
Andrew Tridgell [Thu, 13 Nov 2003 09:23:58 +0000 (09:23 +0000)]
I think we now handle conformant arrays in structures correctly - the
test cases pass
(This used to be commit 22e15023509f8f1682865d72765e79f41ab7d149)

20 years agolsa_PrivilegeSet seems to be a very strange beast indeed. It has a
Andrew Tridgell [Wed, 12 Nov 2003 05:34:21 +0000 (05:34 +0000)]
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 2cc354bd82456cb5598eb4acb40a5ada1459d08d)

20 years agohandle constant sized arrays
Andrew Tridgell [Wed, 12 Nov 2003 05:32:37 +0000 (05:32 +0000)]
handle constant sized arrays
(This used to be commit 673e7bcdc2d7ee949ca0f56f9ba3cd04b5c38397)

20 years agoadded 9 more info levels to lsa_QueryInfoPolicy
Andrew Tridgell [Tue, 11 Nov 2003 07:57:08 +0000 (07:57 +0000)]
added 9 more info levels to lsa_QueryInfoPolicy
(This used to be commit b2ced24fc0be4944dd96f160e435f4c6773debcd)

20 years agoadded support for 8 byte aligned HYPER_T
Andrew Tridgell [Tue, 11 Nov 2003 07:55:41 +0000 (07:55 +0000)]
added support for 8 byte aligned HYPER_T
(This used to be commit 259d5d7a0e2fa51d5d2ee36431c9e89784ee4a0c)

20 years agoadded QueryPolicyInfo/PrimaryDomainInfo idl and test code
Andrew Tridgell [Tue, 11 Nov 2003 06:54:54 +0000 (06:54 +0000)]
added QueryPolicyInfo/PrimaryDomainInfo idl and test code
(This used to be commit b754ad2eae517abacaa26d9e28a8bf6164274971)

20 years agofixed the NDR structure alignment rules
Andrew Tridgell [Tue, 11 Nov 2003 06:53:12 +0000 (06:53 +0000)]
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 ce15cc87fbbe8ee0d383ad115168e9be29fe9efc)

20 years agosupport lsa_AuditEventsInfo
Andrew Tridgell [Tue, 11 Nov 2003 06:22:58 +0000 (06:22 +0000)]
support lsa_AuditEventsInfo
(This used to be commit 7e7cb975936252083c5c02a64c00ee2667099c22)

20 years agofixed handling on pointers to arrays of structures in unions
Andrew Tridgell [Tue, 11 Nov 2003 06:20:18 +0000 (06:20 +0000)]
fixed handling on pointers to arrays of structures in unions
(This used to be commit a29145df04d08c13ee1b019b2de57ffd6883907a)

20 years agostart using automatic union printing
Andrew Tridgell [Tue, 11 Nov 2003 04:38:51 +0000 (04:38 +0000)]
start using automatic union printing
(This used to be commit e81040a902f67fd10ca1f9c9ca1c22bc95e36005)

20 years agoautomatic printing of unions
Andrew Tridgell [Tue, 11 Nov 2003 04:38:10 +0000 (04:38 +0000)]
automatic printing of unions
(This used to be commit 73b530075589f24f7bb9a001fde979ec6930d2bb)

20 years agoautomatically generate ndr_print_*() functions for every IDL
Andrew Tridgell [Tue, 11 Nov 2003 04:04:36 +0000 (04:04 +0000)]
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 81d6181172e36c6fbae0907550a29511ce708574)

20 years agostarted adding support for lsa_QueryInfoPolicy
Andrew Tridgell [Tue, 11 Nov 2003 02:02:29 +0000 (02:02 +0000)]
started adding support for lsa_QueryInfoPolicy
(This used to be commit 5b2d577969103ed5c633ea993d476787af14fa93)

20 years ago- added support for the pull side of unions
Andrew Tridgell [Tue, 11 Nov 2003 01:59:28 +0000 (01:59 +0000)]
- 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 54613574bcd8b365c13848c6aa9366cadeb5da0e)

20 years agoadded idl and test code for lsa_LookupPrivName()
Andrew Tridgell [Mon, 10 Nov 2003 12:42:45 +0000 (12:42 +0000)]
added idl and test code for lsa_LookupPrivName()
(This used to be commit c742227ec31cbf9b0093b5259095c9812b341d8d)

20 years agoadded IDL and test for lsa_EnumAccountRights()
Andrew Tridgell [Mon, 10 Nov 2003 12:12:22 +0000 (12:12 +0000)]
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 447c5f13d40d05a49b8bfa1c28c2797371ff5352)

20 years agoadded IDL and test for lsa_EnumPrivsAccount()
Andrew Tridgell [Mon, 10 Nov 2003 11:37:19 +0000 (11:37 +0000)]
added IDL and test for lsa_EnumPrivsAccount()
(This used to be commit f8bbce69bf43984ddf35c22cb6a9e6ef22f8f6f4)

20 years agomuch cleaner handling of the different types of variables
Andrew Tridgell [Mon, 10 Nov 2003 11:33:21 +0000 (11:33 +0000)]
much cleaner handling of the different types of variables
(This used to be commit 4df59bcff56a00e413fbde1a40ffebcb16763d3c)

20 years agoAdd make rule for smbiconv
Jelmer Vernooij [Sun, 9 Nov 2003 16:24:31 +0000 (16:24 +0000)]
Add make rule for smbiconv
(This used to be commit 4c0226c71820c18725fd44dc66e1db36037c6a70)

20 years agoRemove check for SAM, which has already been removed
Jelmer Vernooij [Sun, 9 Nov 2003 16:08:14 +0000 (16:08 +0000)]
Remove check for SAM, which has already been removed
(This used to be commit db68d642d67125b2d7f8355d6c913719f8821a92)

20 years agoAdd iconv test utility
Jelmer Vernooij [Sun, 9 Nov 2003 15:52:01 +0000 (15:52 +0000)]
Add iconv test utility
(This used to be commit 00807119eeb32dcf5f3b19fa08956fa9177405a5)