1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

2531 Commits

Author SHA1 Message Date
Günther Deschner
99b45f71cc s3-netlogon: implement _netr_ServerAuthenticate3.
Guenther
2009-02-13 01:47:58 +01:00
Günther Deschner
a4b0c5d871 s3-spoolss: use pidl for _spoolss_SetPrinterDataEx.
Guenther
2009-02-12 22:51:29 +01:00
Günther Deschner
97f15fcd68 s3-spoolss: use pidl for _spoolss_GetPrinterDataEx.
Guenther
2009-02-12 22:51:29 +01:00
Günther Deschner
2a311b1ea7 s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.
Guenther
2009-02-11 22:42:01 +01:00
Günther Deschner
75faf7765b s3-spoolss: Fix uninitialised variable warning.
Guenther
2009-02-11 22:36:33 +01:00
Günther Deschner
e32b26931f s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
Guenther
2009-02-11 22:35:49 +01:00
Günther Deschner
aee462893b s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter.
Guenther
2009-02-10 23:57:30 +01:00
Volker Lendecke
bbb665501a Add queueing to np_write 2009-02-10 18:29:34 +01:00
Volker Lendecke
f6e9f1e7ea Add queueing to np_read_state, simulate message-type named pipes.
The problem with msg-type pipes is that we have to return short reads when a
message ends before the read request. When reading from the unix domain socket,
the message limits are lost. So we would happily return more than a message,
which confuses for example the s4 rpc client horribly. I'd expect other np rpc
clients also to blow up over this.

The real solution is to properly implement a two-byte length field per message
on the unix domain socket, but this requires more changes there. And as we
right now only serve DCE/RPC over the named pipes, this implements a hack that
looks into the fragment headers to figure out hdr.frag_len.
2009-02-10 18:29:34 +01:00
Günther Deschner
96f05fcd1c s3-spoolss: use pidl for _spoolss_OpenPrinter.
Guenther
2009-02-10 11:26:58 +01:00
Günther Deschner
3d4221a9cb s3-spoolss: remove old spoolss_OpenPrinterEx.
Guenther
2009-02-10 11:26:52 +01:00
Günther Deschner
b4bda6da5a s3-spoolss: use pidl for _spoolss_OpenPrinterEx.
Guenther
2009-02-10 11:26:45 +01:00
Günther Deschner
e4b5e67566 s3-spoolss: use pidl for _spoolss_SetJob.
Guenther
2009-02-10 11:26:33 +01:00
Günther Deschner
0a34c140cc s3-spoolss: use pidl for _spoolss_StartDocPrinter.
Guenther
2009-02-10 11:26:19 +01:00
Günther Deschner
46200a7cd4 s3-spoolss: add temporary convert_devicemode_new function.
Guenther
2009-02-10 11:24:47 +01:00
Günther Deschner
ee469585eb s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL.
Guenther
2009-02-10 11:09:51 +01:00
Tim Prouty
1d65b7a742 s3 spoolss: arch needs to be set before it's passed to get_version_id.
7717ad6880 left arch unitialized.

Guenther, please check.
2009-02-09 16:12:20 -08:00
Günther Deschner
0d281b76a9 s3-spoolss: use pidl for _spoolss_ScheduleJob.
Guenther
2009-02-09 22:48:14 +01:00
Günther Deschner
cb1ada9cc0 s3-spoolss: use pidl for _spoolss_AddJob.
Guenther
2009-02-09 22:47:57 +01:00
Günther Deschner
d2b8fb99ee s3-spoolss: use rpccli_spoolss_ReplyClosePrinter.
Guenther
2009-02-09 19:10:29 +01:00
Günther Deschner
a7cf846d1e s3-spoolss: use pidl for _spoolss_AddPrintProcessor.
Guenther
2009-02-09 19:09:00 +01:00
Günther Deschner
c94c777d9c s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define.
Guenther
2009-02-09 15:59:04 +01:00
Günther Deschner
41c01930a3 s3-spoolss: use pidl for _spoolss_FindClosePrinterNotify.
Guenther
2009-02-09 13:03:07 +01:00
Günther Deschner
dfa559145c s3-spoolss: remove whitespace in printing code.
Guenther
2009-02-09 12:42:42 +01:00
Volker Lendecke
5bc97e0cf2 Fix count in _srvsvc_NetDiskEnum()
Without this, remotely adding a share via MMC fails
2009-02-09 12:36:49 +01:00
Günther Deschner
160e8c7a37 s3-spoolss: use pidl for _spoolss_DeletePrinterDriverEx.
Guenther
2009-02-09 12:34:03 +01:00
Günther Deschner
7717ad6880 s3-spools: use pidl for _spoolss_DeletePrinterDriver.
Guenther
2009-02-09 12:34:02 +01:00
Günther Deschner
1c0b19fef6 s3-spoolss: use pidl for _spoolss_DeletePrinterKey.
Guenther
2009-02-09 12:34:02 +01:00
Günther Deschner
27acd87445 s3-spoolss: use pidl for _spoolss_DeletePrinterData.
Guenther
2009-02-09 12:34:02 +01:00
Günther Deschner
ce5b25aaa4 s3-spoolss: use pidl for _spoolss_DeletePrinterDataEx.
Guenther
2009-02-09 12:34:01 +01:00
Günther Deschner
3c1d2f2a3a s3-spoolss: use pidl for _spoolss_GetForm.
Guenther
2009-02-09 10:43:08 +01:00
Günther Deschner
9232a5be20 s3-spoolss: add fill_form_info_1.
Guenther
2009-02-09 10:43:01 +01:00
Günther Deschner
894d05bc41 s3-spoolss: restore delete_a_form().
Guenther
2009-02-09 10:42:46 +01:00
Günther Deschner
9ef58a9196 s3-spoolss: use pidl for _spoolss_SetForm.
Guenther
2009-02-09 10:42:33 +01:00
Günther Deschner
3a1f9411e5 s3-spoolss: use pidl for spoolss_AddForm.
Guenther
2009-02-09 10:42:12 +01:00
Kai Blin
c3b9b6c8aa async_sock: Use unix errnos instead of NTSTATUS
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would
be pointless to convert to errno first and to wbcErr later.
2009-02-09 08:36:08 +01:00
Volker Lendecke
3a4c8cd492 Make prs_struct->out_data.current_pdu dynamically allocated
Another 4k per open pipe
2009-02-08 13:53:50 +01:00
Volker Lendecke
32a7529243 Most RPC requests do not need a full fragment, start smaller 2009-02-08 13:53:49 +01:00
Volker Lendecke
51dc7b9d82 Make current_in_pdu in pipes_struct allocated
This makes an open pipe about 4K cheaper
2009-02-07 19:25:34 +01:00
Volker Lendecke
c975ce15eb Fix resume handle for _samr_EnumDomainGroups 2009-02-07 19:25:34 +01:00
Günther Deschner
7f35c3be69 s3-spoolss: use pidl for _spoolss_WritePrinter.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
2038da6897 s3-spoolss: some cosmetics in debug statements.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
f5a24b71b9 s3-spoolss: use pidl for _spoolss_DeleteForm.
Guenther
2009-02-07 01:52:29 +01:00
Günther Deschner
714ac784e1 s3-spoolss: use pidl for _spoolss_EndDocPrinter.
Guenther
2009-02-06 21:41:09 +01:00
Günther Deschner
3fe9b2fb4f s3-spoolss: use pidl for _spoolss_AbortPrinter.
Guenther
2009-02-06 21:40:21 +01:00
Günther Deschner
7f5ff88520 s3-spoolss: use pidl for _spoolss_EndPagePrinter.
Guenther
2009-02-06 21:39:48 +01:00
Günther Deschner
246a1a1eac w 2009-02-06 21:38:43 +01:00
Günther Deschner
cb6ef25341 s3-spoolss: use pidl for _spoolss_StartPagePrinter.
Guenther
2009-02-06 21:37:55 +01:00
Günther Deschner
f968057cd2 s3-spoolss: use pidl for _spoolss_DeletePrinter.
Guenther
2009-02-06 21:30:39 +01:00
Günther Deschner
126d444367 s3-spoolss: call the correct get_pipe_fns function in proxy_spoolss_call().
Guenther
2009-02-06 19:23:55 +01:00