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 6d2209ba5da0937ce17e71951a1628ff1f5deacb)
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 42de50d2cd43e760d776694f7b5f003ba51d7f84)
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 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
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 f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
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 b0132e94fc5fef936aa766fb99a306b3628e9f07)
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 407e6e695b8366369b7c76af1ff76869b45347b3)
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 8968808c3b5b0208cbad9ac92eaf948f2c546dd9)
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 8ad13718af0ba1fcb10a6f1631b1ed3cb8d11175)
2007-10-10 12:19:48 -05:00
Volker Lendecke
e23781b3b3
r17316: More C++ warnings -- 456 left
...
(This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
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 f2a24b63e395d5cbb9b81521cd7ffe904821b727)
2007-10-10 11:15:20 -05:00
Volker Lendecke
e2e3c377a3
r14243: Fix Coverity bug # 143
...
(This used to be commit 5a0087e636104ffa98f23b8d17b4d002a55bc6b7)
2007-10-10 11:15:20 -05:00
Volker Lendecke
bd8e1b442d
r13958: Fix Coverity Bug # 141
...
(This used to be commit 598513d1d3e23cc71ea0fd53230d393b6724b534)
2007-10-10 11:11:01 -05:00
Günther Deschner
436b3dd88a
r12106: Fix return value
...
Guenther
(This used to be commit 1fa8039397175331d9f5e8b5e3897e9bba14484a)
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 762fff4ddb505b90ada1ea54348dba1a8b9af631)
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 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
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 ef721333ab9639cb5346067497e99fbd0d4425dd)
2007-10-10 11:03:25 -05:00
Günther Deschner
e20695a503
r9041: typo. Thanks jerry.
...
Guenther
(This used to be commit 7afb424091eee603c7a858cf27e73bff45f6f9a2)
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 f81b885f46e8f7eb1e77ab0126fdf414549fd7fa)
2007-10-10 11:00:24 -05:00
Volker Lendecke
6ccc69c532
r8833: Fix some uninitialized variables.
...
Volker
(This used to be commit 503a58b6be1972bea0804fab82aee1d814f6d522)
2007-10-10 11:00:18 -05:00
Gerald Carter
ecafd3754f
r8654: merging cli_spoolss_XX() updates from trunk
...
(This used to be commit cd961e50a3029898868d21263ccacb7d5f1f07b9)
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 e188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1)
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 1f0060278609a194b76872367530d2f7bcea7fa7)
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 25121547caaaed0d60f4db7458570c14e7d21b2a)
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 93eab050201d4e55096a8820226749f001597b5d)
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 620f2e608f70ba92f032720c031283d295c5c06a)
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 a24df09386f177e625fb99c975896cbe7a594b4b)
2007-10-10 10:53:11 -05:00
Gerald Carter
2d0f5486f0
r3639: patch from Martin Zielinski <mz@seh.de> to add DeleteDriverEx() function to rpcclient
...
(This used to be commit cfd51c02447f7b42cffcaf4cc6179237d58c8229)
2007-10-10 10:53:11 -05:00
Günther Deschner
bf645415f6
r2073: Adding getprinter level 7 to rpcclient.
...
Is there any other rpc-call to get the guid of a published printer?
Guenther
(This used to be commit 944ad569c7a88e1d2f14311eed10f80ea9861963)
2007-10-10 10:52:30 -05:00
Gerald Carter
5ba60c5608
working on fix for BUG #294 . Not done yet, but this at least clears
...
up some of the false positives in "rpcclient -c getdriver".
Also make sure that we ask for version2 and 3 drivers on x86.
(This used to be commit 5be51515680da910b623f486108d91f9ea914bd2)
2003-08-19 16:56:53 +00:00
Herb Lewis
aa39cc37da
get rid of more compiler warnings
...
(This used to be commit 398bd14fc6e2f8ab2f34211270e179b8928a6669)
2003-08-15 04:42:05 +00:00
Jeremy Allison
ce72beb2b5
Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
...
I really want people to think about when they're using multibyte strings.
Jeremy.
(This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
2003-07-03 19:11:31 +00:00
Tim Potter
1788f806e7
Merge: const fixes.
...
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)
2003-02-25 23:51:56 +00:00
Jeremy Allison
8fc1f1aead
Ensure that only parse_prs.c access internal members of the prs_struct.
...
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit a823fee5b41a5b6cd4ef05aa1f85f7725bd272a5)
2003-02-14 22:55:46 +00:00
Andrew Bartlett
634c54310c
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00
Jim McDonough
397873f0c4
Sync with HEAD to get enumprinterkey api.
...
(This used to be commit f6e21ba4c724f77586ef428f82126d209b0a9607)
2002-11-08 20:36:31 +00:00
Tim Potter
346c9845a8
Fix a silly memset typo.
...
Change a int* to a uint32* in the cli_spoolss_enum_ports() function.
(This used to be commit 41a22b3a005876bccacd1f14d70547d2d71d1b1f)
2002-10-21 04:07:56 +00:00
Tim Potter
1188b37d6a
Zero tallocated memory in decode_printer_info, decode_driver_info,
...
decode_port_info and decode_printerdriver functions.
(This used to be commit e28a719f04f8812ce01d78cf84b3a2e2935b674d)
2002-10-21 02:49:55 +00:00
Gerald Carter
a834a73e34
sync'ing up for 3.0alpha20 release
...
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-09-25 15:19:00 +00:00