summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-10/+35
Jeremy.
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke1-4/+6
This involves changing all our clients, that's why it's so large.
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-7/+7
2008-10-18Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.Jelmer Vernooij1-1/+1
2008-07-21Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-29/+29
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-2/+3
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-06-26Fix a segfault in rpcclient adddriverVolker Lendecke1-12/+13
(cherry picked from commit d4b5a9d67389578f531527b339f6feead62f082d) (This used to be commit 8573032877317fe1f5c69e9ced5b19a33d8aefb0)
2008-06-17Fix typo.Karolin Seeger1-12/+12
arguements -> arguments Karolin (This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
2008-04-25Move user/domain from rpc_pipe_client to cli_pipe_auth_dataVolker Lendecke1-19/+20
(This used to be commit 42de50d2cd43e760d776694f7b5f003ba51d7f84)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-1/+1
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-42/+34
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-03-28Add a talloc context parameter to current_timestring() to fix memleaks.Michael Adam1-4/+8
current_timestring used to return a string talloced to talloc_tos(). When called by DEBUG from a TALLOC_FREE, this produced messages "no talloc stackframe around, leaking memory". For example when used from net conf. This also adds a temporary talloc context to alloc_sub_basic(). For this purpose, the exit strategy is slightly altered: a common exit point is used for success and failure. Michael (This used to be commit 16b5800d4e3a8b88bac67b2550d14e0aaaa302a9)
2008-03-19Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>Volker Lendecke1-1/+1
(This used to be commit 5ec2dbd144a3bbfdb14deafd158bad48b2d41ca4)
2008-02-05Fix bug 5421 -- thanks to MJ AnthonyVolker Lendecke1-1/+1
(This used to be commit a3d0450e0a054bdb8997db544a7efc8aa67f074d)
2008-01-25Fix bogus uninitialized variable warningsVolker Lendecke1-1/+1
(This used to be commit 71d6580c837adcc2cddcdff561f6fb09701501ee)
2008-01-23strtok -> strtok_rVolker Lendecke1-4/+6
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2007-12-06Make all the tools use the proper accessor functions.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 6d61bb87975839adb25c304e5e5041f91b12d236)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-2/+2
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-01Fix some C++ warningsVolker Lendecke1-9/+3
I think were are actually bugs. (This used to be commit 1be19f07889ae09f79030f1ff8f2cf5e9a3d9dc5)
2007-11-20More trivial pstring removal.Jeremy Allison1-50/+106
Jeremy. (This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-24/+24
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-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22588: Make all uses of TALLOC_MEMDUP consistent.Jeremy Allison1-2/+10
Jeremy. (This used to be commit 8ad13718af0ba1fcb10a6f1631b1ed3cb8d11175)
2007-10-10r22062: Fix the parsing of info level 3. Flags is not a flagsJeremy Allison1-3/+1
field, but an offset. Fixed 64-bit display of ACLs on printers. Jeremy. (This used to be commit 0c8949ff5d742dbe59f2af0f57a289f238e3592c)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-4/+3
The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
2007-10-10r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke1-1/+1
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10r17316: More C++ warnings -- 456 leftVolker Lendecke1-2/+4
(This used to be commit 1e4ee728df7eeafc1b4d533240acb032f73b4f5c)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-11/+17
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r16654: Fix bug #3893 reported by jason@ncac.gwu.edu.Jeremy Allison1-4/+2
Jeremy. (This used to be commit 787539489897e79d43eb1833db6f5969b130c934)
2007-10-10r16339: Fix Klocwork IDVolker Lendecke1-0/+4
277 278 (cmd_*) 485 487 488 (ldap.c) Volker (This used to be commit 5b1eba76b3ec5cb9b896a9a5641b4d83bdbdd4cf)
2007-10-10r14833: Fix resource leak on error code path. Coverity #280.Jeremy Allison1-2/+3
Jeremy. (This used to be commit b985bdcb87eeb70725f2d625a4ea5ec39bda1b94)
2007-10-10r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter1-1/+1
macro which sets the freed pointer to NULL. (This used to be commit b65be8874a2efe5a4b167448960a4fcf6bd995e2)
2007-10-10r11454: Last 2 uninitialized warnings.Jeremy Allison1-17/+11
Jeremy. (This used to be commit 5f10368ff0f5eae646533280a444dc091d732c0d)
2007-10-10r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison1-2/+2
x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-155/+347
* \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-10r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter1-5/+8
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-10r9200: Add support for REG_BINARY to rpcclient getdata and setprinterdata.Volker Lendecke1-6/+24
Volker (This used to be commit 9e94ba54b0581e4b7636e70f309af6394de6edbf)
2007-10-10r9189: Add the capability to set different registry value types (string, ↵Volker Lendecke1-14/+85
dword and multistring) using setprinterdata. In multistring zero-length strings need to be specified by "NULL", which is a bit crappy. But poptParseArgvString seems to eat '' strings. Fix that in getdata as well. Volker (This used to be commit df85b41462be6367eb0e932fe9de589f72cc5ea2)
2007-10-10r9076: fix two other issues invented along theGünther Deschner1-1/+1
cli_spoolss_enumprinterkey-changes. Guenther (This used to be commit db8fce2e05bf1981866a7737703ad414ea91febc)
2007-10-10r8900: fix typo thyat broke compile in my last commitGerald Carter1-1/+1
(This used to be commit 0b9faafe402137f28f99ceb5a2e6f930d2136224)
2007-10-10r8899: various compiler warning fixes reported by Jason Mader ↵Gerald Carter1-3/+2
<jason@ncac.gwu.edu> (This used to be commit d8ae9f2b3e5387ef2c4e84cd9c33f4a7c795b0d3)
2007-10-10r8654: merging cli_spoolss_XX() updates from trunkGerald Carter1-222/+138
(This used to be commit cd961e50a3029898868d21263ccacb7d5f1f07b9)
2007-10-10r5944: cleaning up compiler warnings reported by Jason MaderGerald Carter1-7/+6
(This used to be commit 8f87d9c5b66bfbbb1c2eb409bc424fa730b66ff0)
2007-10-10r5891: Make enum- and getform use the same form_display-function.Günther Deschner1-35/+37
Guenther (This used to be commit dec1ab360691d628cb83c7efdef55ea0447f6558)
2007-10-10r5760: Be more verbose on listing forms.Günther Deschner1-1/+22
Guenther (This used to be commit 0f25c35fb9a658f4593bc0ce47a9276e81233e65)
2007-10-10r4966: don't enumerate the drivers for the same architecture string more ↵Gerald Carter1-0/+12
than once (This used to be commit c488ce9934aaf640c3f63cbdabc3110b8cf70fae)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-4/+3
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-10r3649: Fix a couple of rpcclient spoolss commands (setprinter, setprintername,Günther Deschner1-3/+3
getdriver) w.r.t to printer-naming scheme. Guenther (This used to be commit 968c3fc416e836c3958a068df7b4599682028a99)
2007-10-10r3645: Allow deldriverex in rpcclient to delete drivers for a specificGünther Deschner1-12/+8
architecture and a specific version. Guenther (This used to be commit a24df09386f177e625fb99c975896cbe7a594b4b)