summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5949: give things more meaning, and reuse structs where it is possibleStefan Metzmacher2-90/+96
to make things more clear metze (This used to be commit adefeeb4f362dba06cddacf6f58194ef1f967ec9)
2007-10-10r5902: A rather large change...Andrew Bartlett2-3/+3
I wanted to add a simple 'workstation' argument to the DCERPC authenticated binding calls, but this patch kind of grew from there. With SCHANNEL, the 'workstation' name (the netbios name of the client) matters, as this is what ties the session between the NETLOGON ops and the SCHANNEL bind. This changes a lot of files, and these will again be changed when jelmer does the credentials work. I also correct some schannel IDL to distinguish between workstation names and account names. The distinction matters for domain trust accounts. Issues in handling this (issues with lifetime of talloc pointers) caused me to change the 'creds_CredentialsState' and 'struct dcerpc_binding' pointers to always be talloc()ed pointers. In the schannel DB, we now store both the domain and computername, and query on both. This should ensure we fault correctly when the domain is specified incorrectly in the SCHANNEL bind. In the RPC-SCHANNEL test, I finally fixed a bug that vl pointed out, where the comment claimed we re-used a connection, but in fact we made a new connection. This was achived by breaking apart some of the dcerpc_secondary_connection() logic. The addition of workstation handling was also propogated to NTLMSSP and GENSEC, for completeness. The RPC-SAMSYNC test has been cleaned up a little, using a loop over usernames/passwords rather than manually expanded tests. This will be expanded further (the code in #if 0 in this patch) to use a newly created user account for testing. In making this test pass test_rpc.sh, I found a bug in the RPC-ECHO server, caused by the removal of [ref] and the assoicated pointer from the IDL. This has been re-added, until the underlying pidl issues are solved. (This used to be commit 824289dcc20908ddec957a4a892a103eec2da9b9)
2007-10-10r5879: Rename SAMR_FIELD_WORKSTATION to SAMR_FIELD_WORKSTATIONS - it is a list.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 7822101cb5213f192f3195648970784a9de4fac4)
2007-10-10r5866: Add InitShutdown IDL and torture test.Jelmer Vernooij2-3/+49
Implement push side of NDR_LEN4|NDR_NOTERM strings (pull side was already present) (This used to be commit ea61ec1122841716ed5d90085ba79e7bf691bd6a)
2007-10-10r5850: enable parsing of revision 4 security acl'sStefan Metzmacher2-16/+40
metze (This used to be commit 2a6a075c7da2da7bb62fb42936252717bb9d0593)
2007-10-10r5839: add LDAP DirSync control idlStefan Metzmacher1-0/+26
metze (This used to be commit 29d898a338e20c76a2270557b0c401a9672af094)
2007-10-10r5830: start to analyse the attribute values, depending on the attribute typeStefan Metzmacher1-20/+163
metze (This used to be commit 63229b9503950847fbecd6ec22171d8c18d7ac91)
2007-10-10r5828: add some idl for DsAddEntry()Stefan Metzmacher1-5/+50
metze (This used to be commit 3e6ec811288d74921bf3e393213e75d928156772)
2007-10-10r5800: fix recursiv printing in ndr_print_DsGetNCChangesInfo1()Stefan Metzmacher1-5/+4
metze (This used to be commit 1084ad4bfce6bc20537f5bfccb5a25b60f503b32)
2007-10-10r5799: more DsGetNCChanges updates, I'm starting to understand it...Stefan Metzmacher1-19/+101
also add a really simple torture test for DsGetNCChanges metze (This used to be commit bcde67a7eff9ad82919e90fd64c02a17610c6f0e)
2007-10-10r5798: limit the size of an sid, 28 bytes complete is the biggest SIDStefan Metzmacher1-1/+1
that can be handled. tridge: do you think it would make sense to change the sub_auth[num_auths] to sub_auth[5], so we can copy the struct by sid1 = sid2; comments please metze (This used to be commit 2fc8a604b003a6c3425eb7bbf77fbe467c956085)
2007-10-10r5783: Test renaming of accounts in the RPC-SAMR test, and add support intoAndrew Bartlett1-1/+2
the SAMR server. Andrew Bartlett (This used to be commit fd748f9d2f8f354f76587d92b94de83bffe1c6dc)
2007-10-10r5775: Remove some unused functions (unions are no longer as special as they ↵Jelmer Vernooij1-1/+2
used to be) Add oxid mapping table support in DCOM (This used to be commit e193555f0eec2dda8c8760e9668181200fef0a1e)
2007-10-10r5766: get some more DsGetNCChanges stuff parsing correctStefan Metzmacher1-16/+83
metze (This used to be commit 1a4560997d99f2401903f8e466208c001d3ab6c1)
2007-10-10r5742: - add torture test and idl for DsReplicaUpdateRefs()Stefan Metzmacher1-10/+127
(the torture test currently only tests if the idl is correct) - add start for idl for DsGetNCChanges() (if someone didn't noticed the current ethereal trunk code can successful decrypt DCERPC and LDAP gsskrb5 encrypted blobs, when you provide a keytab and have compiled against heimdal :-) - add a view bitmaps and enum's for better debugging metze (This used to be commit cf7c1352ab2857b80256e02f70ab3fbd5177d596)
2007-10-10r5676: Fix some alignment issues and IRemoteActivationJelmer Vernooij2-4/+9
(This used to be commit a9b13f67012d235d98920e639f59411d57a79bd7)
2007-10-10r5674: - Re-enable DCOM support.Jelmer Vernooij2-3/+3
- Always put IID in vtables (useful for asserts) - Add table to keep track of DCOM proxy classes - Bunch of smaller bug fixes (This used to be commit 26d5a0b92c66bc86d0c26f687f83fa712342ac32)
2007-10-10r5672: Use switch_type() and the token storage mechanism for unions:Jelmer Vernooij7-25/+25
- Makes union handling less special - Allows unions in arrays, etc - Compatible with midl - Pidl will warn about switch_type() and the type of the switch_is() variable being different (This used to be commit dc6b4ffc82a191631bc16a4b93a4916a39183ec6)
2007-10-10r5671: Bunch of fixes related to arrays and pointers to arrays.Jelmer Vernooij1-1/+1
(This used to be commit 00ef0feaddc096d8f5e2755feecaec37d589a99c)
2007-10-10r5662: eventlog uses dom_sid so it depends on securityJelmer Vernooij1-0/+1
(This used to be commit f9e9ff0d8dc9acd80143e15566811830f9993667)
2007-10-10r5661: Be a little stricter on syntax regarding arrays. A pointer to anJelmer Vernooij16-124/+120
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-10r5554: Constants and untested IDL for spoolss_SetPrinter()Tim Potter1-0/+14
(This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0)
2007-10-10r5553: Add idl and test for spoolss_AddPort(). It always seems to returnTim Potter1-0/+3
WERR_NOT_SUPPORTED though. (This used to be commit ba4730a37838f45db1b77b777af8efdb45a06006)
2007-10-10r5537: - make use of bitmaps and enumsStefan Metzmacher1-22/+152
- add and fix some PrinterInfo levels - add and fix some DriverInfo levels - fix EnumPrinterDriver torture test the curent RPC-SPOOLSS now passes on w2k3 metze (This used to be commit 14b88ca20dc64702f1c1b457a09b1f13b1964654)
2007-10-10r5515: fix PrinterInfo3Stefan Metzmacher1-2/+1
metze (This used to be commit 0f5b0ec34984d27a33bed3a5c7c627e9a2d96ccc)
2007-10-10r5505: make usage of bitmap's :-)Stefan Metzmacher1-1/+8
metze (This used to be commit bc31e19f38319b098402d1f348bb5f5952fdcf40)
2007-10-10r5498: fix OpenPrinter() idl and torture testStefan Metzmacher1-13/+13
metze (This used to be commit fd7950abe62e91108157619ace8e96e99110b668)
2007-10-10r5492: Update example coclass, autogenerate some parts.Jelmer Vernooij1-4/+14
(This used to be commit 3c31cbaac0cd916e6af49bfd2260bc3b1a75b677)
2007-10-10r5490: The big (D)COM commit! :-) Contains most of the changes described in theJelmer Vernooij2-16/+4
DCOM paper in lorikeet. This is the result of 1.5 months work (mainly figuring out how things *really* work) at the end of 2004. In general: - Clearer distinction between COM and DCOM. DCOM is now merely the glue between DCE/RPC+ORPC and COM. COM can also work without DCOM now. This makes the code a lot clearer. - Clearer distinction between NDR and DCOM. Before, NDR had a couple of "if"s to cope with DCOM, which are now gone. - Use "real" arguments rather then structures for function arguments in COM, mainly because most of these calls are local so packing/unpacking data for every call is too much overhead (both speed- and code-wise) - Support several mechanisms to load class objects: - from memory (e.g. part of the current executable, registered at start-up) - from shared object files - remotely - Most things are now also named COM rather then DCOM because that's what it really is. After an object is created, it no longer matters whether it was created locally or remotely. There is a very simple example class that contains both a class factory and a class that implements the IStream interface. It can be tested (locally only, remotely is broken at the moment) by running the COM-SIMPLE smbtorture test. Still to-do: - Autogenerate parts of the class implementation code (using the coclass definitions in IDL) - Test server-side - Implement some of the common classes, add definitions for common interfaces. (This used to be commit 71fd3e5c3aac5f0002001ab29d2248e6c6842d6f)
2007-10-10r5489: hide handwritten pull/push/print code from the callerStefan Metzmacher1-18/+28
for the spoolss_Enum* functions metze (This used to be commit bfcc86e706cf32672323eda939e5def6694509a8)
2007-10-10r5486: - Use references to interfaces in coclasses rather thenJelmer Vernooij1-11/+12
full interfaces. - Couple of bugfixes in odl.pm - First use of multiple pointers in dcom.idl (This used to be commit 3110c2ec44a872a53e7d6015b85c68fdb604b4de)
2007-10-10r5476: Move ORPC extensions to DCE/RPC into seperate file.Jelmer Vernooij2-199/+204
(This used to be commit 75d8fc8338ea0345ed0181f5700640029e311599)
2007-10-10r5465: Add support to multiple levels of pointers in pidl.Jelmer Vernooij1-0/+2
Also add a new function to echo.idl that tests this behaviour. (This used to be commit e5eb5e847e75f2b7b041a66f84d9b919ddf27739)
2007-10-10r5450: Add test function for "embedded" conformant arraysJelmer Vernooij1-0/+9
(This used to be commit 900477226ddd0644626827d66cd45624f02b636b)
2007-10-10r5445: move FormInfo1 struct to the place where it's usedStefan Metzmacher1-11/+11
metze (This used to be commit 748c456641bfc6717a0aaa9d1da903b041c7de5a)
2007-10-10r5414: - added libcli/wins/, a basic client library for WINS replicationAndrew Tridgell3-38/+34
- added a new IDL type "udlongr", which is like udlong, but with the two uint32 halves reversed - modified the winsrepl.idl to cope with a wider range of packets (This used to be commit bc8d60c918f2e268d591aac464fc6a78c38a4cf9)
2007-10-10r5402: a initial attempt at a IDL definition of the WINS replication protocolAndrew Tridgell2-1/+140
on tcp port 42. This is enough to reasonably decode (with ndrdump) all the packets I have seen on the wire. It will need some fine tuning once I understand the protocol a bit more. (This used to be commit 3f90bc132139815c23c7322d3d47268d92ba00ac)
2007-10-10r5364: Rename string fields called 'domain' and 'name' to be 'domain_name'.Tim Potter1-3/+3
(This used to be commit 6749b9404d4e9876ecd964e038c608f05d2c0b69)
2007-10-10r5362: Add pointer_default() support to pidl. pointer_default()Jelmer Vernooij21-1/+57
is assumed to be "ptr" if not specified (just like midl). The validator will warn when "ptr" is used at the moment, because pidl only supports unique, ref and relative at the moment. (This used to be commit 31bed62a9a6f7830f523d509b67970648d40aaef)
2007-10-10r5361: Rename some functions, add tests to validator.Jelmer Vernooij1-1/+1
(This used to be commit c9d7b88756039a3eb3024c886851e489c46ef67f)
2007-10-10r5358: - added initial WINS server code. It passes most of the NBT-WINS ↵Andrew Tridgell1-0/+1
test, but doesn't yet do secure server WACK responses - added a ldap_string_to_time() function, for converting a LDAP formatted time to a time_t (This used to be commit 9aa3313b3f93e47e3f93028e072f6a23b3c22385)
2007-10-10r5275: - added support for NBT_OPCODE_MULTI_HOME_REG (opcode 0xf) for WINS ↵Andrew Tridgell1-5/+9
name registrations - fixed a bug in the send queue handling on timeouts - added support for handling unexpected replies (replies to the wrong port) at the nbtsocket layer - added separate layer 2 code for wins refresh and wins registration (This used to be commit 2502b02898407e3262c09a5a4aa573c5f87b8f5f)
2007-10-10r5209: Fix the endpoint mapper to work with IPX endpoints (whichJelmer Vernooij2-14/+4
accidently have the same protocol id as UUID's) Before this, Samba would give NDR errors when contacting a remote server that has IPX support enabled. This one was on my long due bugs list. (This used to be commit 7b847de64f35b8e897b64ad047d8aea3813214f8)
2007-10-10r5155: define ipv4address as a based IDL type, mapped to a "const char *" inAndrew Tridgell3-6/+2
the header, and defined on the wire as a 4 byte network byte order IP. This means the calling code doesn't have to worry about network byte order conversions. (This used to be commit 72048e37179dd5b9ada0c5280d2f0d8c23d1a17d)
2007-10-10r5148: use ipv4_addr also in epmapper idlStefan Metzmacher1-1/+1
metze (This used to be commit cbc1f172822363e1fc4495d27248464403748cae)
2007-10-10r5145: define struct ipv4_addr in misc.idl,Stefan Metzmacher2-1/+5
so we can use it in nbt.idl and get a nicer debug output metze (This used to be commit abacbc9192646f6f3c720758ab65889b82b9ae7b)
2007-10-10r5118: added support for node status replies in nbtd. nmblookup -S now works ↵Andrew Tridgell1-2/+2
against Samba4. Also added support for the '*' wildcard name (This used to be commit 2dd7ccf72444db668fa970c3a95de1448baea224)
2007-10-10r5114: the nbtd task can now act as a basic B-node server. It registers itsAndrew Tridgell1-4/+10
names on the network and answers name queries. Lots of details are still missing, but at least this now means you don't need a Samba3 nmbd to use Samba4. missing pieces include: - name registrations should be "shout 3 times, then demand" - no WINS server yet - no master browser code (This used to be commit d7d31fdc6670f026f96b50e51a4de19f0b920e5b)
2007-10-10r5090: Fix up the IDL for LogonGetDomainInfo in NETLOGON.Andrew Bartlett1-6/+5
Andrew Bartlett (This used to be commit e5afc3609382a7b534c9d845e809d135a0d4eb3a)
2007-10-10r5084: - handle arbitrary data in the NULL record reply type for nbt name ↵Andrew Tridgell1-3/+3
queries - fixed unaligned pulls at the end of the packet in the ndr lib (This used to be commit 61c43509f7a538541d87bd505ca241e08a50f605)