summaryrefslogtreecommitdiff
path: root/source4/librpc
AgeCommit message (Collapse)AuthorFilesLines
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-10r7865: changed pidl to take a "const void *" instead of a "void *" for theAndrew Tridgell9-37/+35
structure in ndr_push_*() and ndr_print_*(). The push and print functions really should not modify the structure. metze, to make this work I had to change your spoolss hand marshaller. Can you please check it is OK? I think that the IN and OUT sides of that function are not ever called on the same structure, so I think that attempt at remembering the value by assigning to r->in._offered was not doing anything anyway, but please correct me if I have misunderstood it. If you really do need to remember something on those structures I'd suggest the ndr_token_store() and ndr_token_retrieve() functions, which are used by pidl for just this sort of thing. (This used to be commit eee528be97fa43ca53bdc5652b4d29a0a2caf563)
2007-10-10r7763: fixed some circular dependenciesAndrew Tridgell1-1/+1
(This used to be commit 3bdf89b0f7521ca39d48dc4c32fe96971d4d60fd)
2007-10-10r7729: Small fixes to the charset stuff.Jelmer Vernooij1-2/+2
(This used to be commit 5122b9f608399a6c90521e2f8bd96154755fe397)
2007-10-10r7706: Move ParseExpr() to util.Jelmer Vernooij1-4/+3
(This used to be commit 72efb695291f0ad3cdc80daa9f979454f6a81c04)
2007-10-10r7702: Implement [charset()] attribute.Jelmer Vernooij2-3/+39
(This used to be commit 7012e10bb6252a7e602e80f05c914a783610088c)
2007-10-10r7695: Add support for the [string] attribute that works in the traditional ↵Jelmer Vernooij1-0/+27
sense. Not used anywhere yet. (This used to be commit a73a35cfc7b5b92cd95bd0d0fbd64d04acecccf3)
2007-10-10r7690: Move the NT hash generation into the credentials system, rather thanAndrew Bartlett1-3/+4
in all the callers. This also allows us to be more flexible in the type of password we store. Andrew Bartlett (This used to be commit 00b8588c68526e1d86fda0bd81c0b86f690b62c3)
2007-10-10r7659: fixup the ordering of socket destruction for ncacn_ip_tcp so we don't ↵Andrew Tridgell1-4/+3
try and remove an epoll descriptor for a closed fd (This used to be commit bec5e9f80a934e6472e8d227214a9baba4f15054)
2007-10-10r7658: don't timeout at the smb level for rpc requests as otherwise some rpcAndrew Tridgell1-0/+4
level sign/seal mechanisms can break (This used to be commit 9df569f023f9a1e0d8c35de8135a344933bc69bf)
2007-10-10r7653: when a dcerpc request times out, we need to ensure that if the serverAndrew Tridgell1-1/+11
does finally answer the request and it is on the smb transport that we don't die in the callback code as the rpc request state is gone. (This used to be commit d47477c5c3acbaa7242fa3a06d4095258db86297)
2007-10-10r7652: use event friendly connect in dcerpc socket codeAndrew Tridgell1-1/+1
(This used to be commit 154effd781c901abfcd8f89721c4a6d03c07b670)
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-10r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell7-54/+49
event_context for the socket_connect() call, so that when things that use dcerpc are running alongside anything else it doesn't block the whole process during a connect. Then of course I needed to change any code that created a dcerpc connection (such as the auth code) to also take an event context, and anything that called that and so on .... thus the size of the patch. There were 3 places where I punted: - abartlet wanted me to add a gensec_set_event_context() call instead of adding it to the gensec init calls. Andrew, my apologies for not doing this. I didn't do it as adding a new parameter allowed me to catch all the callers with the compiler. Now that its done, we could go back and use gensec_set_event_context() - the ejs code calls auth initialisation, which means it should pass in the event context from the web server. I punted on that. Needs fixing. - I used a NULL event context in dcom_get_pipe(). This is equivalent to what we did already, but should be fixed to use a callers event context. Jelmer, can you think of a clean way to do that? I also cleaned up a couple of things: - libnet_context_destroy() makes no sense. I removed it. - removed some unused vars in various places (This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)
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 Metzmacher2-24/+93
- 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 Metzmacher2-99/+133
- 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-10r7497: add timeouts to all rpc requests. The default timeout is 60Andrew Tridgell3-0/+49
seconds. This should prevent the problem I am seeing on a solaris box where a rpc request gets stuck forever (This used to be commit c24ab34813d675b9b81f3062fb6f30aae5697805)
2007-10-10r7496: removed an unused variableAndrew Tridgell1-1/+0
(This used to be commit a8c99d0e37b5ca37cabc201c1290c6cd26a16549)
2007-10-10r7462: fix Enum* pushing, we need to send back a buffer of the same size as ↵Stefan Metzmacher1-0/+9
we got in the recv code..., this makes the w2k3 printserver properties gui happy:-) metze (This used to be commit 0130b0d90223bb7278f924e1b1370778f25d0d91)
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-10r7364: - remove '\' chars from copy pasteStefan Metzmacher1-3/+5
- fix allocates [out,ref] pointers to be passed between functions metze (This used to be commit 9a1760c618b10ee08b4e6ad21eb0c7e757ae9dea)
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)
2007-10-10r7328: fix GetPrinterData and SetPrinterData, with zero length subcontextsStefan Metzmacher2-5/+118
metze (This used to be commit 73d597bacf83492ed3da2307dd6785548b903b39)
2007-10-10r7327: pass down the ndr->flags to the subcontextsStefan Metzmacher1-0/+4
metze (This used to be commit c0462d60b58471b0804450d31a11e603519b45e4)
2007-10-10r7326: fix [validate]Stefan Metzmacher1-1/+1
metze (This used to be commit 08eb591034573b2748dad44f53ba7a806657e9e7)
2007-10-10r7314: the various ncacn and ncadg PDU's share the same namespaceJelmer Vernooij1-22/+16
(This used to be commit 58fee22e0b5054de631cc5929498d490db31f348)
2007-10-10r7313: Prefix a few functions with ncacn_ rather then dcerpc_ because they areJelmer Vernooij2-19/+19
ncacn_ specific (This used to be commit 875cce126878172eedb43b4ecab3970ea9d82e4a)
2007-10-10r7312: Add IDL for ncadg packets.Jelmer Vernooij3-20/+102
(This used to be commit 2009a430b03c685dd65bd573e70d3618f2e0dd0f)
2007-10-10r7309: started adding IDL for nbt management calls. This adds aAndrew Tridgell1-4/+32
nbtd_information() call that has just one level for now, a NBTD_STATISTICS level for packet statistics (This used to be commit d0772eb5a7a023e08a7fff5ca8f4891630994e34)
2007-10-10r7308: Make dependency lists in the Makefile shorter (see discussion on ↵Jelmer Vernooij1-2/+2
samba-technical) (This used to be commit 71d62d4dc7c475d17042ca466e56c51da1a2f32e)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell2-0/+29
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)
2007-10-10r7278: Oops, don't compile librpc as library..Jelmer Vernooij1-1/+0
(This used to be commit e9f83bece0b09c689ef09916a70b5e0d2bd733f8)
2007-10-10r7274: Move m4 files to seperate dirJelmer Vernooij1-0/+1
(This used to be commit 0dda66f0e8e6ad37d731937af184a132bf3407b1)
2007-10-10r7212: Disambiguate dummy functions to avoid linker problemos.Tim Potter2-2/+2
(This used to be commit 61537301a3c2c93346d874132dd50a83f10b6fe9)
2007-10-10r7198: Add IDL for browse serviceJelmer Vernooij1-0/+111
(This used to be commit c04fca198ac1469580cd197379a3eff2ed55c41c)
2007-10-10r7196: fix typo, that makes the spoolss test working with [validate]Stefan Metzmacher1-2/+2
([validate,bigendian] is still failing badly...) metze (This used to be commit da319b7bc366bb40d9d290efe17436c8fd5a0911)
2007-10-10r7194: fix pulling of the NDR_IN data, [validate] works for the NDR_IN side ↵Stefan Metzmacher1-1/+2
now... metze (This used to be commit d2eb1a68447ff71adfc56c60d26753e12596a1a6)
2007-10-10r7193: add some bail out checks and fix pushing of relative pointersStefan Metzmacher1-2/+19
metze (This used to be commit 58a214d98fc7a2b46a0876e57e05dec82438bc53)
2007-10-10r7188: make use of the new relative_base property for the spoolss_Enum* ↵Stefan Metzmacher1-14/+14
functions metze (This used to be commit 870ed3a2b528a9c869392b7ac31e90917bd66ed0)