1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

56 Commits

Author SHA1 Message Date
Stefan Metzmacher
6ca23e3074 wkssvc.idl: fix idl for wkssvc_NetrGetJoinableOus[2]()
metze
(This used to be commit 3f2edcc341e5b0e4369e8f601ef0cb6ecf73b4c7)
2008-02-07 08:33:19 +01:00
Stefan Metzmacher
b6c3e58a38 wkssvc.idl: don't use pointer_default_top() and specify "unique" explizit
Note: this doesn't change the generated output!

metze
(This used to be commit f2227b3bb8dc74788614cc7eb9b84475f0a4a949)
2008-02-04 18:37:07 +01:00
Jelmer Vernooij
236a780baa idl: Use typedef rather than declare.
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)
2008-01-12 01:18:53 +01:00
Günther Deschner
b32cbeafb2 r26211: Add very basic test_NetrJoinDomain2() test which can join xp workstations into
an AD domain.

Guenther
(This used to be commit 3fd5f3628cb015f61455b4ad87bf8adb8d2392b8)
2007-12-21 05:46:53 +01:00
Günther Deschner
a3ced88172 r26209: For consistency, rename one argument in NetrJoinDomain.
Guenther
(This used to be commit 8cf99ed4b1616b12f76a47e0f738ab7b1213c797)
2007-12-21 05:46:52 +01:00
Günther Deschner
84945d9fae r26176: Fix in,out mismatch in wkssvc_NetrWkstaUserSetInfo().
Guenther
(This used to be commit c9b22a7d2695b4ee51fe8a7df70ff0f6e293b96e)
2007-12-21 05:46:35 +01:00
Günther Deschner
890dd11f61 r26169: Use the NDR_PAHEX flag to print the encrypted wkssvc password buffer.
Guenther
(This used to be commit 78d18c996a0bd642208235ee1d2c81b2c47270e3)
2007-12-21 05:46:33 +01:00
Günther Deschner
0f622f318b r26168: Add two more documented WKSSVC_JOIN_FLAGS.
Guenther
(This used to be commit e06726106100ee1cb6bd122b1b584e0036abcac7)
2007-12-21 05:46:33 +01:00
Günther Deschner
7f58b5b558 r26167: Just for completeness, add some more documented wkssvc_NetWkstaInfo info level
uint32s.

Guenther
(This used to be commit b2fb5a2af527b41ba832d4ded1f9a61130d739e6)
2007-12-21 05:46:33 +01:00
Günther Deschner
db3a4dfdfb r26166: Put [ref] in the front in wkssvc IDL.
Guenther
(This used to be commit af0dc3890991c9858fbd6afa826368fb176e7bd2)
2007-12-21 05:46:32 +01:00
Günther Deschner
616a48faf9 r26165: Add IDL and torture test for wkssvc_NetrGetJoinableOus() and
wkssvc_NetrGetJoinableOus2() (both unavailable remotely).

Guenther
(This used to be commit 256d0a15f50b38aec9505e6431d05c6f715df971)
2007-12-21 05:46:31 +01:00
Günther Deschner
f287d5dcc9 r26164: Add IDL for wkssvc_NetrJoinDomain() and wkssvc_NetrUnjoinDomain().
Guenther
(This used to be commit a4e6ec8e5e49775575524915cfbb1d2cc74c54d3)
2007-12-21 05:46:31 +01:00
Günther Deschner
e84236a095 r26163: Add IDL and torture test for wkssvc_NetrGetJoinInformation().
Guenther
(This used to be commit 234b380669a146cfe4a8a28d66c4efafcae93446)
2007-12-21 05:46:30 +01:00
Günther Deschner
faa1db40a9 r26158: Add IDL for wkssvc_NetrRenameMachineInDomain().
Guenther
(This used to be commit 78715ded0ac8b123492168308c37f46d1fe85295)
2007-12-21 05:46:28 +01:00
Günther Deschner
a1fdc20aee r26157: Add IDL and torture test for wkssvc_NetrSetPrimaryComputername().
Guenther
(This used to be commit 1c50b9754e2745525e7c7cd577dba7e8744e6bd4)
2007-12-21 05:46:28 +01:00
Günther Deschner
e6c8fa7939 r26155: Add IDL and torture teset for wkssvc_NetrMessageBufferSend().
Guenther
(This used to be commit 9de2f59d2b82b789c99fb82965b37b305c43b8fc)
2007-12-21 05:46:27 +01:00
Günther Deschner
722851c78e r26154: Add IDL and torture test for wkssvc_NetrWorkstationStatistics(). A lot of
unknowns, I know...

Guenther
(This used to be commit de2c5d702ef6b14cb8ddf926f4c7e417ea9ebd5a)
2007-12-21 05:46:26 +01:00
Günther Deschner
238862649c r26152: Add IDL and torture test for wkssvc_NetrEnumerateComputerNames().
Guenther
(This used to be commit ea478168676e00a602f8181b408c4886b35d2fd3)
2007-12-21 05:46:26 +01:00
Günther Deschner
fd461adfd0 r26151: Add IDL and torture test for wkssvc_NetrValidateName() and
wkssvc_NetrValidateName2().

Guenther
(This used to be commit 9f63ec388dab09ef3148635eefa58f2e32c5d151)
2007-12-21 05:46:25 +01:00
Günther Deschner
b653bea814 r26150: Add IDL and torture test for wkssvc_NetrLogonDomainNameAdd() and
wkssvc_NetrLogonDomainNameDel(), both unsupported on w2k3.

Guenther
(This used to be commit 9e1ed6eb68ae899aa577fc3a2e4cbfe066ee403e)
2007-12-21 05:46:24 +01:00
Günther Deschner
5c76e9b418 r26149: Add IDL for wkssvc_NetrWkstaUserSetInfo(). No torture test yet.
Guenther
(This used to be commit 810b63a8ec5715f39bc888011a26a944599ef752)
2007-12-21 05:46:24 +01:00
Günther Deschner
8d62a1370d r26148: Add IDL and torture test for wkssvc_NetrUseGetInfo().
Guenther
(This used to be commit 1a472cc1b2a6acf714cebb54eeb6bed965ab144d)
2007-12-21 05:46:24 +01:00
Günther Deschner
9854192923 r26147: Add IDL and torture test for wkssvc_NetrUseDel and wkssvc_NetrUseAdd.
Guenther
(This used to be commit b5b3cc1667f539ab75f2d3d0c9c79b45d85e967e)
2007-12-21 05:46:23 +01:00
Günther Deschner
ec739190fb r26146: Add IDL and torture test for wkssvc_NetrUseEnum().
Guenther
(This used to be commit 72a14407ca407b670eb0feae8065e784ab1e4627)
2007-12-21 05:46:23 +01:00
Günther Deschner
fb25264190 r26144: Add IDL and torture test for wkssvc_NetrWkstaTransportAdd and
wkssvc_NetrWkstaTransportDel.

Guenther
(This used to be commit 99add8aed3677fae472d367aec2d2a454684410b)
2007-12-21 05:46:22 +01:00
Günther Deschner
7769f9db34 r26143: Add IDL and torture test for wkssvc_NetrWkstaUserGetInfo.
Guenther
(This used to be commit b358f953e9ba03bc89a241ab5232c823d836057f)
2007-12-21 05:46:22 +01:00
Günther Deschner
ce0af45ef1 r26142: Cleanup IDL and add torture test for wkssvc_NetWkstaEnumUsers.
Guenther
(This used to be commit 638ce91b0fb0c5602d82bc9913f5c820615acf0c)
2007-12-21 05:46:21 +01:00
Günther Deschner
98c3f90cae r26141: Reflect pointer_default(unique) setting.
Guenther
(This used to be commit 8e4952484dff1ec8e9b29e72302cc2e2223be739)
2007-12-21 05:46:21 +01:00
Jelmer Vernooij
a60ab76694 r22339: Run some more tests.
(This used to be commit 1b73e6a776a3ef478718f656523d125d28589f5c)
2007-10-10 14:51:06 -05:00
Jelmer Vernooij
863dcbfa06 r19588: Use include and import statements rather than depends() and helper().
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10 14:24:58 -05:00
Jelmer Vernooij
cd9057a0bb r18639: Get rid of the keepref support
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10 14:18:59 -05:00
Jelmer Vernooij
9727b061f3 r15776: Don't generate ref pointers in Samba4-generated code. There is no point
in having pointers for outgoing data when you can already modify the top-level
element.

This can be overridden (temporarily) by specifying the new "keepref"
attribute. Once we've removed keepref from all IDL files, I'll remove this
attribute as well.
(This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10 14:08:18 -05:00
Jelmer Vernooij
d86da81304 r15653: Remove idl_types.h include where possible. Remove
types from .h file that are now in pidls' aliases list.
(This used to be commit fadb9529ec7e1208b9f58a4e8b633d5a50633e82)
2007-10-10 14:08:03 -05:00
Jim McDonough
b15a42e925 r15281: A few updates for consistency's sake
(This used to be commit 77b036a81bda9ba9274e8d431399a0c9543b29d4)
2007-10-10 14:05:02 -05:00
Stefan Metzmacher
f2b2c91e16 r14639: the platform id is 32 bit...
this worked before as there's always a pointer following that is aligned to 4 byte

metze
(This used to be commit e90a67ad39f2ca664ed5e2eff006906b847b33d9)
2007-10-10 13:59:03 -05:00
Andrew Tridgell
499e51b5a9 r12136: fixed a bug in NetWkstaTransportEnum() from the recent merge with ethereal idl
(This used to be commit 5ce6a62f2e8fd27e50bcbdcf13d34c60e70c9923)
2007-10-10 13:47:13 -05:00
Andrew Tridgell
d55ab321b2 r12085: wkssvc.idl updated based on work by Ronnie Sahlberg to bring the
Samba4 and ethereal IDL into line, so ethereal doesn't lose any
existing strucutres when switching to idl
(This used to be commit afccf73ecf6cf85e72c04e28724096aa6da96a80)
2007-10-10 13:47:07 -05:00
Jelmer Vernooij
98800eb41e r11100: Replace unistr with [string,charset(UTF16)]
(This used to be commit 48f45927ceb4f7d39c4cc47b3b843e43a53b7f2b)
2007-10-10 13:44:49 -05:00
Jelmer Vernooij
50d2bf0066 r7029: Make array support in pidl similar to that in other IDL compilers. We should
now able to use constructions like these:

[size_is(20)] int *x; -> Pointer to array of 20 ints
[size_is(20)] int x[]; -> Array of 20 ints
[size_is(20)] int *x[]; -> Array of 20 pointers to ints
[size_is(20,)] int *x[] -> Array of 20 pointers to ints
[size_is(,20)] int *x[]; -> Pointer to array of 20 ints
[size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints
[size_is(20)] int x[][30]; -> 20 blocks of 30 ints
(This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
2007-10-10 13:17:07 -05:00
Jelmer Vernooij
e427f58622 r6973: Merge new version of pidl into the main SAMBA_4_0 branch.
The main difference in this new version is the extra data structure generated
between the IDL data structure and the NDR parser:

IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc }

This makes the ndr_parser.pm internals much more sane.

Other changes include:

- Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags.
- Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc..
- Use if() {} rather then if () goto foo; everywhere
- NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC
- By default, top level pointers are now "ref" (as is the default in
  most other IDL compilers). This can be overridden using the
  default_pointer_top() property.
- initial work on new ethereal parser generators by Alan DeKok and me
- pidl now writes errors in the standard format used by compilers, which
  is parsable by most editors
- ability to warn about the fact that pidl extension(s) have been used,
  useful for making sure IDL files work with other IDL compilers.

oh, and there's probably some other things I can't think of right now..
(This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2007-10-10 13:17:01 -05:00
Jelmer Vernooij
631aa1f0ef r5661: Be a little stricter on syntax regarding arrays. A pointer to an
array can now only be :

 type *name[];

rather then :

 type *name;

which was supported in the past. Warnings will be given when the first
syntax is used. Reasons for this change in behaviour include improved
readability and the fact that the second format makes dealing with multiple
levels of pointers harder.
(This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
2007-10-10 13:10:57 -05:00
Stefan Metzmacher
d62a44c447 r4558: more use of bitmaps and enums
metze
(This used to be commit 2a859fbc90a6b043bac318196e42c2949958d57f)
2007-10-10 13:08:27 -05:00
Stefan Metzmacher
72ffef2406 r4426: fix same names
metze
(This used to be commit 18bbe40fe1e400546ff3750213f6c0505895e357)
2007-10-10 13:07:48 -05:00
Andrew Tridgell
2bf6dff983 r3283: converted to quoted uuid() defines in all our IDL. This should help
the build on systems like solaris with the SunPRO compiler
(This used to be commit fe913ad11bf1c5e9fe04ed769a93b0ea16aa0a34)
2007-10-10 13:04:50 -05:00
Jelmer Vernooij
d3e8a74551 r1838: Updates from the airplane:
- IDL fixes + adding comments
 - Start working on dcom infrastructure
(This used to be commit ef0fc269f06c82594c34ad8673c76c5ea099250e)
2007-10-10 12:58:00 -05:00
Andrew Tridgell
cfa6311b0c r132: fill in the correct default case for the WKSSVC GetInfo call
(This used to be commit 117a82ada32919a91f3bba9c00236fc0112b230c)
2007-10-10 12:51:10 -05:00
Andrew Tridgell
25fe9bc2a1 latest srvsvc and wkssvc IDL from metze
(This used to be commit 59557a557df6e61af4f01534489691416398fb26)
2003-12-20 21:50:51 +00:00
Andrew Tridgell
a465add90f * changed the way strings are handled in pidl to a much more general
interface. We now support an arbitrary set of flags to each parser,
  and these can be used to control the string types. I have provided
  some common IDL string types in librpc/idl/idl_types.h which needs to
  be included in every IDL file.

* added IDL for the endpoint mapper. Added a test suite that enumerates
  all endpoints on the server.
(This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21 13:14:17 +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
25de3041e6 fixed wkssvc idl and test code for TransportEnum
(This used to be commit 42639a8f66e8d4241b24935772552f235f863096)
2003-11-19 23:18:35 +00:00