1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

51249 Commits

Author SHA1 Message Date
Günther Deschner
9ef58a9196 s3-spoolss: use pidl for _spoolss_SetForm.
Guenther
2009-02-09 10:42:33 +01:00
Günther Deschner
c7d572a76f s3-rpcclient: use rpccli_spoolss_SetForm.
Guenther
2009-02-09 10:42:26 +01:00
Günther Deschner
fac7ed3df1 s3-spoolss: remove old spoolss_AddForm.
Guenther
2009-02-09 10:42:19 +01:00
Günther Deschner
3a1f9411e5 s3-spoolss: use pidl for spoolss_AddForm.
Guenther
2009-02-09 10:42:12 +01:00
Günther Deschner
5234f5e433 s3-spoolss: use rpccli_spoolss_AddForm in net and rpcclient.
Guenther
2009-02-09 10:42:04 +01:00
Günther Deschner
45f142fe29 s3-rpcclient: fix getform command asprintf return code.
Guenther
2009-02-09 10:38:30 +01:00
todd stecher
5d070483ac s3 OneFS: Fake Timestamps
This checkin enables setting arbitrary timestamps on files matching
the pattern stored in smb.conf. This was a customer request for a
specific workflow.

Changes include:
1) configuration state machine to avoid tons of string comparisons on
   each and every stat.

2) Code to adjust post-stat() times to match time now, or sloptime +
   time now.
2009-02-09 00:36:39 -08:00
Björn Jacke
c7377b2c4d look for nanosleep in librt, some Unix flavours have it there 2009-02-09 09:15:52 +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
b1677505a5 Fix some nonempty blank lines 2009-02-08 13:53:49 +01:00
Volker Lendecke
9941e730ca Fix memleaks in chain_reply for async requests 2009-02-07 19:25:34 +01:00
Volker Lendecke
ca701cfd52 Fix a couple of memleaks in mapping_ldb.c 2009-02-07 19:25:34 +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
422e77f32a Convert api_RNetGroupEnum to use samr instead of pdb 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
Volker Lendecke
2fd79e15f7 Close samr_handle if open_domain failed 2009-02-07 19:25:34 +01:00
Volker Lendecke
4e79ca6161 Fix coverity ID 876 (FORWARD_NULL)
Michael, please check!
2009-02-07 11:10:10 +01:00
Günther Deschner
3d6860018f s3-spoolss: remove old _spoolss_WritePrinter.
Guenther
2009-02-07 10:20:56 +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
b3b06a8b7b s4-smbtorture: fix test_EnumJobs in spoolss win test.
Guenther
2009-02-07 10:20:56 +01:00
Tim Prouty
6a6eb90803 librpc: Re-run make idl_full from source3 2009-02-07 00:47:32 -08:00
Tim Prouty
7168cf440e pidl: Fix a const build warning in the samba3 merged build
../librpc/gen_ndr/cli_spoolss.c: In function `rpccli_spoolss_EnumPrinterData':
../librpc/gen_ndr/cli_spoolss.c:3400: warning: passing arg 1 of `memcpy' discards qualifiers from pointer target type

This is a very similar fix to:
2337f402f0
2009-02-07 00:47:32 -08:00
Günther Deschner
04c971dc6c s3-spoolss: remove old _spoolss_DeleteForm.
Guenther
2009-02-07 01:52:29 +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
b56c5bf510 s3-spoolss: rework some form functions and add form_by_string functions.
Guenther
2009-02-07 01:52:28 +01:00
Günther Deschner
b8cd20cd5c s3-spoolss: use rpccli_spoolss_DeleteForm.
Guenther
2009-02-07 01:52:28 +01:00
Günther Deschner
9bfca0bea0 s4-spoolss: try to fix dcesrv_spoolss_GetPrinterData.
Guenther
2009-02-07 01:52:01 +01:00
Günther Deschner
2f44170836 spoolss: fix ndr_pull_spoolss_GetPrinterData.
Guenther
2009-02-07 01:51:35 +01:00
Günther Deschner
6b19c39697 s4-smbtorture: fix valgrind warnings in RPC-SPOOLSS_WIN test.
Guenther
2009-02-07 00:46:09 +01:00
Günther Deschner
100aad0ddf s3-spoolss: remove old _spoolss_EndDocPrinter.
Guenther
2009-02-06 21:41:23 +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
2a5ae9e47b s3-spoolss: remove old _spoolss_AbortPrinter.
Guenther
2009-02-06 21:40:43 +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
eb542ef630 s3-spoolss: remove old _spoolss_EndPagePrinter.
Guenther
2009-02-06 21:39:56 +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
f8582f18ec s3-spoolss: remove old _spoolss_StartPagePrinter.
Guenther
2009-02-06 21:39:08 +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
69577cacfe s3-spoolss: remove old _spoolss_DeletePrinter.
Guenther
2009-02-06 21:30:49 +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
Günther Deschner
88f09a8353 s3-spoolss: remove old _spoolss_ClosePrinter.
Guenther
2009-02-06 18:59:06 +01:00
Günther Deschner
0bd5698dab s3-spoolss: use rpccli_spoolss_ClosePrinter.
Guenther
2009-02-06 18:58:34 +01:00
Günther Deschner
46903a0f90 s3-spoolss: use pidl for _spoolss_ClosePrinter.
Guenther
2009-02-06 18:55:46 +01:00
Günther Deschner
a45107abca s3-spoolss server: add _spoolss_ server stubs.
Guenther
2009-02-06 18:54:52 +01:00
Günther Deschner
e11fa4cc33 s3-spoolss: prepare to use generated spoolss.
Guenther
2009-02-06 18:54:51 +01:00
Günther Deschner
1bb22b5527 s3: re-run make samba3-idl.
Guenther
2009-02-06 18:53:48 +01:00