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

101 Commits

Author SHA1 Message Date
Günther Deschner
2ad2b6f723 s3-spoolss: fix client name in rpccli_spoolss_openprinter_ex.
Guenther
2009-02-21 21:14:37 +01:00
Günther Deschner
c71fa39c29 s3-spoolss: remove old spoolss_GetPrintProcessorDirectory.
Guenther
2009-02-19 19:23:51 +01:00
Günther Deschner
cdcd525a05 s3-spoolss: remove old spoolss_GetPrinterDriverDirectory.
Guenther
2009-02-19 02:07:58 +01:00
Günther Deschner
feec49d5cd s3-spoolss: remove old spoolss_SetPrinterDataEx.
Guenther
2009-02-12 22:51:30 +01:00
Günther Deschner
41f17a1fc2 s3-spoolss: remove old spoolss_GetPrinterDataEx.
Guenther
2009-02-12 22:51:29 +01:00
Günther Deschner
3d4221a9cb s3-spoolss: remove old spoolss_OpenPrinterEx.
Guenther
2009-02-10 11:26:52 +01:00
Günther Deschner
0fc13e7e2c s3-spoolss: remove old spoolss_SetJob.
Guenther
2009-02-10 11:26:39 +01:00
Günther Deschner
2ede56f3c0 s3-spoolss: remove old spoolss_StartDocPrinter.
Guenther
2009-02-10 11:26:26 +01:00
Günther Deschner
b19b6aea12 s3-rpcclient: add rpccli_spoolss_openprinter_ex() convenience wrapper.
Guenther
2009-02-10 11:04:53 +01:00
Günther Deschner
03ae7fc134 s3-spoolss: remove old _spoolss_DeletePrinterDriverEx.
Guenther
2009-02-09 12:34:04 +01:00
Günther Deschner
763fe063d2 s3-spoolss: remove old spoolss_DeletePrinterDriver.
Guenther
2009-02-09 12:34:03 +01:00
Günther Deschner
8b5729f31c s3-spoolss: remove old _spoolss_DeletePrinterKey.
Guenther
2009-02-09 12:34:02 +01:00
Günther Deschner
bed65d86ac s3-spoolss: remove old _spoolss_DeletePrinterData.
Guenther
2009-02-09 12:34:02 +01:00
Günther Deschner
fe6d62fb9f s3-spoolss: remove old _spoolss_DeletePrinterDataEx.
Guenther
2009-02-09 12:34:01 +01:00
Günther Deschner
8cc60bf978 s3-spoolss: remove old _spoolss_GetForm.
Guenther
2009-02-09 10:43:15 +01:00
Günther Deschner
c0e3b195c8 s3-spoolss: remove old _spoolss_SetForm.
Guenther
2009-02-09 10:42:39 +01:00
Günther Deschner
fac7ed3df1 s3-spoolss: remove old spoolss_AddForm.
Guenther
2009-02-09 10:42:19 +01:00
Günther Deschner
3d6860018f s3-spoolss: remove old _spoolss_WritePrinter.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
b8cd20cd5c s3-spoolss: use rpccli_spoolss_DeleteForm.
Guenther
2009-02-07 01:52:28 +01:00
Günther Deschner
100aad0ddf s3-spoolss: remove old _spoolss_EndDocPrinter.
Guenther
2009-02-06 21:41:23 +01:00
Günther Deschner
eb542ef630 s3-spoolss: remove old _spoolss_EndPagePrinter.
Guenther
2009-02-06 21:39:56 +01:00
Günther Deschner
f8582f18ec s3-spoolss: remove old _spoolss_StartPagePrinter.
Guenther
2009-02-06 21:39:08 +01:00
Günther Deschner
88f09a8353 s3-spoolss: remove old _spoolss_ClosePrinter.
Guenther
2009-02-06 18:59:06 +01:00
todd stecher
989ad44d32 Memory leaks and other fixes found by Coverity 2009-01-21 17:13:03 -08:00
Volker Lendecke
86bb746406 Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idx
(This used to be commit 6d2209ba5d)
2008-07-21 14:36:31 +02:00
Volker Lendecke
862d7e32b9 Move user/domain from rpc_pipe_client to cli_pipe_auth_data
(This used to be commit 42de50d2cd)
2008-04-25 11:12:50 +02:00
Volker Lendecke
2a2188591b Add "desthost" to rpc_pipe_client
This reduces the dependency on cli_state
(This used to be commit 783afab9c8)
2008-04-20 00:13:09 +02:00
Jeremy Allison
30191d1a57 RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
(This used to be commit f35a266b3c)
2007-10-18 17:40:25 -07:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Jeremy Allison
be8b0685a5 r22589: Make TALLOC_ARRAY consistent across all uses.
Jeremy.
(This used to be commit 8968808c3b)
2007-10-10 12:19:49 -05:00
Jeremy Allison
79de0ad946 r22588: Make all uses of TALLOC_MEMDUP consistent.
Jeremy.
(This used to be commit 8ad13718af)
2007-10-10 12:19:48 -05:00
Volker Lendecke
e23781b3b3 r17316: More C++ warnings -- 456 left
(This used to be commit 1e4ee728df)
2007-10-10 11:38:25 -05:00
Volker Lendecke
15f4c6372c r14244: Okay, had not seen that this happened twice.
Fix Coverity bug # 142.

Volker
(This used to be commit f2a24b63e3)
2007-10-10 11:15:20 -05:00
Volker Lendecke
e2e3c377a3 r14243: Fix Coverity bug # 143
(This used to be commit 5a0087e636)
2007-10-10 11:15:20 -05:00
Volker Lendecke
bd8e1b442d r13958: Fix Coverity Bug # 141
(This used to be commit 598513d1d3)
2007-10-10 11:11:01 -05:00
Günther Deschner
436b3dd88a r12106: Fix return value
Guenther
(This used to be commit 1fa8039397)
2007-10-10 11:05:45 -05:00
Jeremy Allison
6fc9564c33 r11443: Fix error code returns on client spoolss code. Fix them
up a *lot*.
Jeremy.
(This used to be commit 762fff4ddb)
2007-10-10 11:05:16 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Gerald Carter
44707ad2e0 r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to use
the new talloc() features:

 Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d
 since the methods use the object pointer as the talloc context for
 internal private data.

 There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy()
 pair of functions.  Simply TALLOC_ZERO_P() and TALLOC_FREE() the
 object.

Also had to convert the printer_info_2->NT_PRINTER_DATA field
to be talloc()'d as well.  This is just a stop on the road to
cleaning up the printer memory management.
(This used to be commit ef721333ab)
2007-10-10 11:03:25 -05:00
Günther Deschner
e20695a503 r9041: typo. Thanks jerry.
Guenther
(This used to be commit 7afb424091)
2007-10-10 11:00:24 -05:00
Gerald Carter
83d12580aa r9040: revert pointer checks that I had removed; fixes crash in calls to enumprinterdata()
(This used to be commit f81b885f46)
2007-10-10 11:00:24 -05:00
Volker Lendecke
6ccc69c532 r8833: Fix some uninitialized variables.
Volker
(This used to be commit 503a58b6be)
2007-10-10 11:00:18 -05:00
Gerald Carter
ecafd3754f r8654: merging cli_spoolss_XX() updates from trunk
(This used to be commit cd961e50a3)
2007-10-10 11:00:14 -05:00
Gerald Carter
2129d3c711 r7691: * add .gdbinit to the svn:ignore files
* start adding write support to the Samba registry
  Flesh out the server implementations of
  RegCreateKey(), RegSetValue(), RegDeleteKey() and RegDeleteValue()

I can create a new key using regedit.exe now but the 'New Key #1'
key cannot be deleted yet.
(This used to be commit e188fdbef8)
2007-10-10 10:57:19 -05:00
Gerald Carter
d2b8348fef r5946: BUG 2497: fix bug in rpcclient's deletedriverex when asking to delete all versions of a driver
(This used to be commit 1f00602786)
2007-10-10 10:56:10 -05:00
Gerald Carter
61dfab9f70 r5805: merging spoolss parsing changes from trunk and cleaning up resulting segvs
(This used to be commit 25121547ca)
2007-10-10 10:56:01 -05:00
Volker Lendecke
f4ec52a097 r4561: This looks a lot larger than it is, this is to reduce the clutter on future
patches.

Pass down the pipe_idx down to all functions in cli_pipe where nt_pipe_fnum is
referenced. First step towards having multiple pipes on a cli_struct. The idea
is to not have a single nt_pipe_fnum but an array for the pipes we support.

Volker
(This used to be commit 93eab05020)
2007-10-10 10:53:47 -05:00
Jeremy Allison
acf9d61421 r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
(This used to be commit 620f2e608f)
2007-10-10 10:53:32 -05:00
Günther Deschner
d7bbbb28bd r3645: Allow deldriverex in rpcclient to delete drivers for a specific
architecture and a specific version.

Guenther
(This used to be commit a24df09386)
2007-10-10 10:53:11 -05:00