summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r8587: - fixed ref allocation in irpc repliesAndrew Tridgell1-0/+4
- make every irpc server support the irpc_uptime() call (This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)
2007-10-10r8577: added management calls to list current tree connectsAndrew Tridgell1-1/+15
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10r8574: added server side irpc calls for listing the current sessionsAndrew Tridgell1-0/+30
(This used to be commit 391cfe3c9645a19f8f5ff5c11b1ac03ee0b10f8f)
2007-10-10r8559: Couple of (D)COM updates:Jelmer Vernooij1-5/+1
- Fixes annoying array-of-pointers bug in pidl. - No longer "inherit" alignment thru subcontexts - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see (This used to be commit bd706d496405d274b68c1ee560211837a8e63009)
2007-10-10r8503: remove useless lineStefan Metzmacher1-1/+0
metze (This used to be commit ec31739642a89fb62930a3b8c0fa870aaad5c476)
2007-10-10r8480: fixed a typoAndrew Tridgell1-2/+2
(metze, I assume this was just a typo? it broke the build on oehmesrs6k) (This used to be commit aa68459fe7579b385dd1824680ec641052029a1e)
2007-10-10r8476: add a note that DsAddEntry is very incomplete yetStefan Metzmacher1-0/+8
metze (This used to be commit 53b91754107b790e2349a97069ea03a7bd6ff712)
2007-10-10r8474: add some more attid mappingsStefan Metzmacher1-1/+6
for the password fields metze (This used to be commit 8454d32eb2f0aa4287956951c2550f060f7f10b3)
2007-10-10r8375: - move from netr_StringLarge to lsa_StringLargeStefan Metzmacher2-11/+17
- we need to use lsa_StringLarge in lsa_DnsDomainInfo, to make windows clients happy metze (This used to be commit 044d18f85f82b4ab5d71a6ae366052af0dbe8e7e)
2007-10-10r8368: the type filed depends on the user being present or notStefan Metzmacher1-4/+4
call ndr_print for each call metze (This used to be commit 0a07e4ef8d869d35ceb0761495e367077f2361ba)
2007-10-10r8286: it makes more sense to combine the refresh count with the register ↵Andrew Tridgell1-1/+0
count, as they are really the same packet (you can register with a refresh) (This used to be commit 5006528554a70c25fea15966d68b4002850ebb3e)
2007-10-10r8268: added the 'needed' logic to ehs generation, so we don't generateAndrew Tridgell1-1/+1
functions we don't need. That is a lot of functions, as ejs is only client side, so it only needs push functions for [out] vars, and pull functions for [in] vars added irpc and srvsvc IDL to list of available pipes. (This used to be commit c7a9dbe70a39156a20e56b4dd732fd838437eecd)
2007-10-10r8256: - allow rpc calls from non-command line ejs contexts by creating a setAndrew Tridgell1-1/+1
of null credentials to use if cmdline_credentials is not setup - hide the length and size elements of a lsa_String from js scripts, so you can use a lsa_String just as an ordinary string without knowing its a structure. We won't do this with all structures, just a few core ones that are used often enough to warrant it. - make sure returned ldb arrays have a length property (This used to be commit 12d2092dd8668de41776132ccbcd634790c371a9)
2007-10-10r8252: Steal metze's thunder, and prove that with a few small tweaks, we canAndrew Bartlett1-2/+8
now push/pull a sample PAC, and still have the same byte buffer. (Metze set up the string code, and probably already has a similar patch). Unfortunetly win2k3 still doesn't like what we provide, but every step helps. Also use data_blob_const() when we are just wrapping data for API reasons. Andrew Bartlett (This used to be commit e7c8076fc1459ff2ccefdaf0b091d04ee6137957)
2007-10-10r8250: More PAC work. We now sucessfully verify the KDC signature from my DCAndrew Bartlett1-1/+1
(I have included the krbtgt key from my test network). It turns out the krbtgt signature is over the 16 (or whatever, enc-type dependent) bytes of the signature, not the entire structure. Also do not even try to use Kerberos or GSSAPI on an IP address, it will only fail. Andrew Bartlett (This used to be commit 3b9558e82fdebb58f240d43f6a594d676eb04daf)
2007-10-10r8233: - added support for more base types in pidl ejsAndrew Tridgell2-2/+2
- added auto generation of a header with prototypes for public ejs functions - make public functions non-static - fixed allocation of fixed sized arrays - added 'noejs' flag indicating that a typedef will be handled manually by ejs - added manual functions for sid and GUID, so they show up as nice strings in ejs scripts This allows ejs to bring in samr, security, lsa and misc IDL functions (This used to be commit a8cb2dbdcc2871090a26f580f67db8f0636d1e7e)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher3-201/+187
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r8227: add STR_LARGE_SIZE flag, to support strings where the size is length+1,Stefan Metzmacher1-0/+1
metze (This used to be commit cdd03fe87d0120ab3e18566bfc20df5955f9fb3c)
2007-10-10r8223: fix the values of nt_version and type we reply in the server code,Stefan Metzmacher1-18/+18
also name the struct like the nt_version number metze (This used to be commit 1e3af5cc1f68b7fa54b8ba77ed9836a619a69436)
2007-10-10r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff isTim Potter1-14/+9
actually a uint16 * without the [string] attribute, a la the the system_name argument to samr_Connect(). Initialising the pointer to NULL is sufficient and we still pass the RPC-WINREG test against win2k3. (This used to be commit 407d962dacf7c833b36cb739e48fe97226968a34)
2007-10-10r8168: after testing I saw that w2k3 uses unique pointers on the mgmt pipeStefan Metzmacher1-2/+2
that also matches the spec at http://www.opengroup.org/onlinepubs/9629399/apdyq.htm metze (This used to be commit 117e678bde040b9294c2fff473ececd0d7e3a1cc)
2007-10-10r8167: - use the same algorithm than w2k3 for 'unique' pointer valuesStefan Metzmacher2-4/+4
- add a new 'sptr' (simple-full) pointer type to simulate what we need to support pipes like epmapper and mgmt that uses 'ptr' full pointer in their spec - I runned make test and test_w2k3.sh with this, all fine does we have any other pipe using 'unique' pointer where we need 'ptr'? btw: jelmer, what does 'ignore' pointers do? they are allowed in pidl but not implemented! metze (This used to be commit d19068bfb2e3ff5d88bc3b76d5cef93417c7f218)
2007-10-10r8156: I found out that the unknown[2] field of the unknown[4] array is a ↵Stefan Metzmacher1-3/+6
length too, it's always 16 bytes smaller than the size in the PAC_BUFFER we now dump the blob's on LOCAL-PAC with -d 10 metze (This used to be commit 4ef721ce53539ac56ca8ac4d601f512149ca7283)
2007-10-10r8148: - make the PAC generation code a bit more readable and add some outof ↵Stefan Metzmacher1-13/+19
memory checks - move to handmodified pull/push code for PAC_BUFFER to get the _ndr_size field and the subcontext size right - after looking closely to the sample w2k3 PAC in our torture test (and some more in my archive) I found out that the first uint32 before the netr_SamInfo3 was also a pointer, (and we passed a NULL pointer there before, so I think that was the reason why the windows clients doesn't want our PAC) w2k3 uses this for unique pointers: ptr = ndr->ptr_count * 4; ptr |= 0x00020000; ndr->ptr_count; - do one more pull/push round with the sample PAC metze (This used to be commit 0eee17941595e9842a264bf89ac73ca66cea7ed5)
2007-10-10r8110: More PAC work. I still can't get WinXP to accept the PAC, but we areAndrew Bartlett1-7/+5
much closer. This changes PIDL to allow a subcontext to have a pad8 flag, saying to pad behind to an 8 byte boundary. This is the only way I can explain the 4 trainling zeros in the signature struct. Far more importantly, the PAC code is now under self-test, both in creating/parsing our own PAC, but also a PAC from my win2k3 server. This required changing auth_anonymous, because I wanted to reuse the anonymous 'server_info' generation code. I'm still having trouble with PIDL, particulary as surrounds value(), but I'll follow up on the list. Andrew Bartlett (This used to be commit 50a54bf4e9bf04d2a8e0aebb3482a2ff655c8bbb)
2007-10-10r8054: add OSVersion, OSVersionEx, DNSMachineName PrintServerDataStefan Metzmacher1-0/+22
metze (This used to be commit 47781fccbc9a4fc3867e4c3959a17765c7e4dc71)
2007-10-10r8053: requests from mmc show that the auth info for a bind should be 4 byte ↵Andrew Tridgell1-1/+1
aligned, not 8 byte aligned (This used to be commit c112a2b23e6cd2c55fbb7e8096a7c523a91d6814)
2007-10-10r8050: - make use of more [value()] propertiesStefan Metzmacher1-14/+9
- the out subcontext's need to have a fixed size of r->in.offered, to make windows clients happy metze (This used to be commit 054e1ca434b2f81de199eeb41cb6233524fc5779)
2007-10-10r8012: Add UUID for NDR64 transfer syntax.Jelmer Vernooij1-0/+3
(This used to be commit 6a3f62222285fa091968bb025edfe21fcf5dfb86)
2007-10-10r8001: Also fill in the krbtgt checksum, and make sure to put the rightAndrew Bartlett1-1/+1
checksum in the right place... Andrew Bartlett (This used to be commit 90d0f502da20add6784c883b2085cde519604933)
2007-10-10r7993: Further work on the Krb5 PAC.Andrew Bartlett3-13/+23
We now generate the PAC, and can verifiy both our own PAC and the PAC from Win2k3. This commit adds the PAC generation code, spits out the code to get the information we need from the NETLOGON server back into a auth/ helper function, and adds a number of glue functions. In the process of building the PAC generation code, some hints in the Microsoft PAC specification shed light on other parts of the code, and the updates to samr.idl and netlogon.idl come from those hints. Also in this commit: The Heimdal build package has been split up, so as to only link the KDC with smbd, not the client utils. To enable the PAC to be veified with gensec_krb5 (which isn't quite dead yet), the keyblock has been passed back to the calling layer. Andrew Bartlett (This used to be commit e2015671c2f7501f832ff402873ffe6e53b89466)
2007-10-10r7872: another place we were relying on the old behaviour of value()Andrew Tridgell1-1/+1
(This used to be commit 25a64f8946274e07ca233751bc745b160ff3e7c1)
2007-10-10r7870: fixed the RPC-SCHANNEL test. It turned out it was my const changes, asAndrew Tridgell5-5/+5
they slightly changed the semantics of value() in pidl, which broke a optimisation hack in some of our IDL files. I've changed the idl files to remove the hack for now. Sometime we need to find a better way to handle these :-) (This used to be commit 765f75ea630b13b1605409ff47a52cc11a1e496b)
2007-10-10r7729: Small fixes to the charset stuff.Jelmer Vernooij1-2/+2
(This used to be commit 5122b9f608399a6c90521e2f8bd96154755fe397)
2007-10-10r7702: Implement [charset()] attribute.Jelmer Vernooij1-2/+2
(This used to be commit 7012e10bb6252a7e602e80f05c914a783610088c)
2007-10-10r7644: - remove some dublicate structures SetForm and AddForm uses the same ↵Stefan Metzmacher1-25/+14
struct - fix some typos in EnumPrintServerForms()/GetPrintServerForms() - add AddPrintServerForms()/SetPrintServerForms() and DeletePrintServerForms metze (This used to be commit 73906388421beebb34f2a00c9e0d1fc8b400a42a)
2007-10-10r7643: This patch adds a new NTPTR subsystem:Stefan Metzmacher1-1/+1
- this is an abstraction layer for print services, like out NTVFS subsystem for file services - all protocol specific details are still in rpc_server/spoolss/ - like the stupid in and out Buffer handling - checking of the r->in.server_name - ... - this subsystem can have multiple implementation selected by the "ntptr providor" global-section parameter - I currently added a "simple_ldb" backend, that stores Printers, Forms, Ports, Monitors, ... in the spoolss.db, and does no real printing this backend is basicly for testing, how the spoolss protocol works - the interface is just a prototype and will be changed a bit the next days or weeks, till the simple_ldb backend can handle all calls that are used by normal w2k3/xp clients - I'll also make the api async, as the ntvfs api this will make things like the RemoteFindFirstPrinterChangeNotifyEx(), that opens a connection back to the client, easier to implement, as we should not block the whole smbd for that - the idea is to later implement a "unix" backend that works like the current samba3 code - and maybe some embedded print server vendors can write there own backend that can directly talk to a printer without having cups or something like this - the default settings are (it currently makes no sense to change them :-): ntptr providor = simple_ldb spoolss database = $private_dir/spoolss.db metze (This used to be commit 455b5536d41bc31ebef8290812f45d4a38afa8e9)
2007-10-10r7580: - add GetPrinterDriverDirectory() idl, torture test and server codeStefan Metzmacher1-0/+19
- add EnumMonitors() server code and return "Standard TCP/IP Port" - add parsing for opening Ports and Monitors with OpenPrinterEx() metze (This used to be commit 08e6de37bc293e2f000d03b51642964d92d6e95e)
2007-10-10r7575: - fix GetPrinterData() push sideStefan Metzmacher1-12/+12
- add somemore checks in the Emun*() pull/push glue code metze (This used to be commit 075fe1eb4b6b2d00cdd9965656598aaec53da638)
2007-10-10r7574: - seperate [in] and [out] buffers and buf_sizesStefan Metzmacher1-64/+94
- use the same names as etherel (offered,needed) for the buffer sizes (and they are really independently used) metze (This used to be commit f5532a5b74e972f44ed8aa19ee9c5851a4b40f65)
2007-10-10r7552: Use ParseExpr() for [value] attributes; allowsJelmer Vernooij12-47/+25
us somewhat cleaner IDL. (This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
2007-10-10r7546: fix commentStefan Metzmacher1-1/+1
metze (This used to be commit de69d87ded11ef0954e931885761e9ecd9ce4e1b)
2007-10-10r7399: Try to get the AIX compile one step further.Volker Lendecke1-4/+2
Volker (This used to be commit 75dbd2069335af95b225716e06ea594013dea895)
2007-10-10r7394: rename LSA_TRUSTED_DOMAIN_INFO_5 to LSA_TRUSTED_DOMAIN_INFO_BASIC.Günther Deschner1-12/+12
Guenther (This used to be commit aec0d99da17fcb8abb9a2b0037b7412e83fd393e)
2007-10-10r7377: Integrate browse service stuff more nicelyJelmer Vernooij2-111/+102
Add notes on mailslots Add TODO list for pidl, including some plans on switching over to using [string] attributes for pidl. (This used to be commit fca195ce072bacb0543625aec7f4bce814e278eb)
2007-10-10r7357: some minor updatesStefan Metzmacher1-4/+7
metze (This used to be commit a547f2c2a190ec5cfaa6a3b3917159b3aa616f59)
2007-10-10r7345: add WritePrinter(), AbortPrinter() and ReadPrinter() idlStefan Metzmacher1-0/+9
metze (This used to be commit 1fc617e871729bccf38c0b5dd8316f78d2de727d)
2007-10-10r7341: fix StartDocPrinter() idlStefan Metzmacher1-1/+1
metze (This used to be commit 08d28e5d20bc689a2cdc779e7a99e3902abf99db)
2007-10-10r7337: - fix SetJob() idlStefan Metzmacher1-22/+52
- add StartDocPrinter() idl - add EndDocPrinter() idl metze (This used to be commit c635a623bc1fe6c78db9adf25500abc1f6ce9abe)
2007-10-10r7331: fix parsing of spoolss_SetPrinter()Stefan Metzmacher1-10/+25
metze (This used to be commit b0e7092bc585912882d06c56fd7a536c9b8936d6)