summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/srvsvc.idl
AgeCommit message (Collapse)AuthorFilesLines
2008-10-31s4-srvsvc-idl: use maxuses as uint32 consistently.Günther Deschner1-2/+2
Guenther
2008-10-29s4-srvsvc-idl: adapt some more formating changes from s3 idl.Günther Deschner1-51/+72
Guenther
2008-10-20Sync syntax of srvsvc.idl with samba3.Jelmer Vernooij1-5/+5
2008-04-08Add [todo] for functions that are obviously incomplete.Jelmer Vernooij1-12/+12
(This used to be commit b7b46ddd412bd106655c2a7b96a322d9f6ac3019)
2008-02-21srvsvc.idl: don't use STR_LEN4 anymoreStefan Metzmacher1-1/+10
metze (This used to be commit 8c7509bd684ccdabcdb9ad9f75f3dd693ee9c416)
2008-02-04srvsvc.idl: don't use pointer_default_top() and specify "unique" explizitStefan Metzmacher1-73/+72
Note: this doesn't change the generated output! metze (This used to be commit 6d20a2f3f98217ba78e905d0f85dd91cee218238)
2008-01-12idl: Use typedef rather than declare.Jelmer Vernooij1-2/+2
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)
2007-10-10r19588: Use include and import statements rather than depends() and helper().Jelmer Vernooij1-2/+2
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10r18885: Fix bug in our IDL pointed out by RonnieSimo Sorce1-2/+2
(This used to be commit 77e8d96bc488a574b0b728d5b8facd51e69822d5)
2007-10-10r18676: Don't mix ShareInfo and ShareCtr definitions,Simo Sorce1-51/+51
this makes a much more readable include file (This used to be commit e3b157af9f870c4c2423095c5ccb1bbcaf3faa61)
2007-10-10r18639: Get rid of the keepref supportJelmer Vernooij1-2/+1
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10r18634: Turn flags field into a bitmap.Jelmer Vernooij1-1/+9
(This used to be commit add8a8f6cf2335efbbbe8e77d8ea76e81449b2d6)
2007-10-10r18344: add a test to show hoe NetNameValidate behaves.Simo Sorce1-7/+7
fix the misleading idl names (This used to be commit 8367b3bcee9338fa3e268b7342ae8db928008b55)
2007-10-10r18318: Implement DiskEnumSimo Sorce1-3/+3
Fix spelling and consistencies issues in idl (This used to be commit 1347c971ac4dd62e6e6643293d48917ac065d19c)
2007-10-10r18315: Implement netSrvGetInfo level 102Simo Sorce1-3/+3
fix names to be consistent between level 101 and 102 and typo in idl (This used to be commit 1962fb92d706962544c293770718294e595f9fc4)
2007-10-10r17085: reuse the existing sec_desc_buf structStefan Metzmacher1-7/+3
metze (This used to be commit 22463cbcdd159657d04657071451738e768d0b2a)
2007-10-10r17082: Add a test that walks and tests denying tconX access via the share ↵Volker Lendecke1-1/+1
security descriptor. This is something that W2k3 does _not_ pass and probably is not expected to, it seems the don't check access at tconX time. Thanks to metze for the hint how in the srvsvc_NetShareInfo1501 struct the length of the sd can be encoded in idl. As metze says, there's probably more to the share secdesc, this needs more testing. This one is here to walk the samba3 code. Volker (This used to be commit 67185508229a8d7f144c22cb194f573c932d6de5)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+2
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-10r15766: fix parsing of srvsvc_NetGetFileSecurity() and ↵Stefan Metzmacher1-4/+5
srvsvc_NetSetFileSecurity() metze (This used to be commit dbcb144decd2ebd75dbad7509738074c1b0b5ec8)
2007-10-10r14842: fix parsing of NetDiskEnum repliesStefan Metzmacher1-1/+1
metze (This used to be commit c1cc1e8dd764dfada38d4d66063e66fa6982bb0d)
2007-10-10r14639: the platform id is 32 bit...Stefan Metzmacher1-1/+1
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-10r12461: Some updates to the srvsvc IDL from Ronnie SahlbergJelmer Vernooij1-105/+280
(This used to be commit ff7ef98f34811952331e72095505a2eae430fec0)
2007-10-10r12085: wkssvc.idl updated based on work by Ronnie Sahlberg to bring theAndrew Tridgell1-1/+5
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-10r11100: Replace unistr with [string,charset(UTF16)]Jelmer Vernooij1-103/+103
(This used to be commit 48f45927ceb4f7d39c4cc47b3b843e43a53b7f2b)
2007-10-10r7029: Make array support in pidl similar to that in other IDL compilers. We ↵Jelmer Vernooij1-22/+22
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-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij1-0/+1
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-10r6557: make srvsvc available on ncalrpc and ncacn_ip_tcp so we can do eachAndrew Tridgell1-0/+1
comparitive benchmarks (This used to be commit d4e702da77be0e96198fc1585fa7858717d236a6)
2007-10-10r5661: Be a little stricter on syntax regarding arrays. A pointer to anJelmer Vernooij1-22/+22
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-10r4558: more use of bitmaps and enumsStefan Metzmacher1-17/+34
metze (This used to be commit 2a859fbc90a6b043bac318196e42c2949958d57f)
2007-10-10r4436: add one more flagStefan Metzmacher1-0/+1
metze (This used to be commit 7886000e031622795fecb6ec37990c133b1e66f7)
2007-10-10r4434: - fix some NetShare* idl functionsStefan Metzmacher1-4/+4
- add torture test for NetShareCheck() metze (This used to be commit 96000a2261ed56fda613a45e3aa460eb3c87082a)
2007-10-10r4432: - add srvsvc_NetShareInfo level 1006 and 1501 idlStefan Metzmacher1-6/+17
- implement srvsvc_NetGetShareInfo() - add more error checks - bring the rest of the code in the same layout metze (This used to be commit 0dd14d9fc611a33dad4e559321d6c50d82efb5d1)
2007-10-10r4425: - move srvsvc and wkssvc server code to the new ↵Stefan Metzmacher1-3/+3
W_ERROR_HAVE_NO_MEMORY() macro - add parameters for server_info:platform_id = 500 /* this is PLATFORM_ID_NT */ server_info:version_major = 5 server_info:version_minor = 2 - implmented srvsvc_NetSrvGetInfo level 101 - make dcesrv_common_get_server_name() match w2k3 metze (This used to be commit 16f43207704397c6e3c0132e9f17c8a1a846ddca)
2007-10-10r4075: implement RemoteTOD server functionStefan Metzmacher1-4/+4
metze (This used to be commit 0c6d4246a45f649e7373606f12db74c2acd0f538)
2007-10-10r3810: create a LIB_SECURITY subsystemStefan Metzmacher1-1/+2
- move dom_sid, security_descriptor, security_* funtions to one place and rename some of them metze (This used to be commit b620bdd672cfdf0e009492e648b0709e6b6d8596)
2007-10-10r3283: converted to quoted uuid() defines in all our IDL. This should helpAndrew Tridgell1-1/+1
the build on systems like solaris with the SunPRO compiler (This used to be commit fe913ad11bf1c5e9fe04ed769a93b0ea16aa0a34)
2007-10-10r1838: Updates from the airplane:Jelmer Vernooij1-1/+2
- IDL fixes + adding comments - Start working on dcom infrastructure (This used to be commit ef0fc269f06c82594c34ad8673c76c5ea099250e)
2007-10-10r1545: add some comments and move a transport function to the transport sectionStefan Metzmacher1-5/+8
metze (This used to be commit 7d5ca8cc7cdeef0fc9307f8f98366958aa4ce3c2)
2007-10-10r1543: add srvsvc_NetRemoteTOD idl and torture testsStefan Metzmacher1-1/+21
metze (This used to be commit 3f2b77d7ec024f54dc478522d85278ced8fce617)
2007-10-10r1525: share info level 1004 is invalid,Stefan Metzmacher1-4/+9
but is not the same as the default case metze (This used to be commit 5fe88379ad2de0a346bb7155e74eb00cfa3ef44c)
2007-10-10r1524: add some commentsStefan Metzmacher1-1/+13
metze (This used to be commit f5240737629ccd57693f8fb162ba7baca53a4672)
2007-10-10r712: fixed a bug in the NetShareGetInfo idl, and added another info levelAndrew Tridgell1-1/+6
(This used to be commit 93977055939c5282dbf218f3a6739fa17ebfc641)
2007-10-10r464: a big improvement to the API for writing server-side RPCAndrew Tridgell1-28/+28
servers. Previously the server pipe code needed to return the RPC level status (nearly always "OK") and separately set the function call return using r->out.result. All the programmers writing servers (metze, jelmer and me) were often getting this wrong, by doing things like "return NT_STATUS_NO_MEMORY" which was really quite meaningless as there is no code like that at the dcerpc level. I have now modified pidl to generate the necessary boilerplate so that just returning the status you want from the function will work. So for a NTSTATUS function you return NT_STATUS_XXX and from a WERROR function you return WERR_XXX. If you really want to generate a DCERPC level fault rather than just a return value in your function then you should use the DCESRV_FAULT() macro which will correctly generate a fault for you. As a side effect, this also adds automatic type checking of all of our server side rpc functions, which was impossible with the old API. When I changed the API I found and fixed quite a few functions with the wrong type information, so this is definately useful. I have also changed the server side template generation to generate a DCERPC "operation range error" by default when you have not yet filled in a server side function. This allows us to correctly implement functions in any order in our rpc pipe servers and give the client the right information about the fault. (This used to be commit a4df5c7cf88891a78d82c8d6d7f058d8485e73f0)
2007-10-10r359: moved the share type definitions to srvsvc.idlAndrew Tridgell1-0/+8
I'd like to see more protocol defininitions in the IDL files and less in smb.h where possible. (This used to be commit 854b875bbe447955fb0c3876f046931d0bfde06c)
2003-12-20latest srvsvc and wkssvc IDL from metzeAndrew Tridgell1-103/+720
(This used to be commit 59557a557df6e61af4f01534489691416398fb26)
2003-12-15fixed srvsvc DiskEnum callAndrew Tridgell1-12/+12
strangely, the output doesn't seem to contain an info level. Some programmer stuffed up the IDL :) (This used to be commit a39ee5d00341e1dbde0b38474ba4d5e980e74538)
2003-12-15patch from metze with updates to srvsvc and changes to pidl to allowAndrew Tridgell1-70/+109
for the server rpc boilerplate to correctly generate for multiple interfaces on an endpoint (This used to be commit 56143689ecf623e8a6ef5c453e6ad1ca9404411c)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell1-1/+3
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-20fixed srvsvc_NetShareEnumAll()Andrew Tridgell1-15/+9
(This used to be commit ab4056e25ccfde5136ff3a1cd5d1efa78f1eee1b)
2003-11-20Add a 1004 level for srvsvc.Richard Sharpe1-0/+10
(This used to be commit 9810e6f180564247dee584d197180d394b208c24)