summaryrefslogtreecommitdiffstats
path: root/source/rpc_client/cli_spoolss.c
Commit message (Collapse)AuthorAgeFilesLines
* Memory leaks and other fixes found by Coveritytodd stecher2009-01-231-22/+44
| | | | (cherry picked from commit ba576efa8f884f3dd37bb5035fbb47ae0305c0b0)
* Refactoring: CLI_DO_RPC_* uses interface instead of pipe_idxVolker Lendecke2008-07-211-52/+52
|
* Move user/domain from rpc_pipe_client to cli_pipe_auth_dataVolker Lendecke2008-04-251-1/+1
|
* Add "desthost" to rpc_pipe_clientVolker Lendecke2008-04-201-8/+8
| | | | This reduces the dependency on cli_state
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-14/+14
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22589: Make TALLOC_ARRAY consistent across all uses.Jeremy Allison2007-10-101-49/+102
| | | | Jeremy.
* r22588: Make all uses of TALLOC_MEMDUP consistent.Jeremy Allison2007-10-101-3/+15
| | | | Jeremy.
* r17316: More C++ warnings -- 456 leftVolker Lendecke2007-10-101-3/+4
|
* r14244: Okay, had not seen that this happened twice.Volker Lendecke2007-10-101-1/+1
| | | | | | Fix Coverity bug # 142. Volker
* r14243: Fix Coverity bug # 143Volker Lendecke2007-10-101-1/+1
|
* r13958: Fix Coverity Bug # 141Volker Lendecke2007-10-101-1/+1
|
* r12106: Fix return valueGünther Deschner2007-10-101-1/+1
| | | | Guenther
* r11443: Fix error code returns on client spoolss code. Fix themJeremy Allison2007-10-101-117/+280
| | | | | up a *lot*. Jeremy.
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-99/+99
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter2007-10-101-2/+0
| | | | | | | | | | | | | | | | 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.
* r9041: typo. Thanks jerry.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r9040: revert pointer checks that I had removed; fixes crash in calls to ↵Gerald Carter2007-10-101-3/+5
| | | | enumprinterdata()
* r8833: Fix some uninitialized variables.Volker Lendecke2007-10-101-2/+2
| | | | Volker
* r8654: merging cli_spoolss_XX() updates from trunkGerald Carter2007-10-101-1722/+1017
|
* r7691: * add .gdbinit to the svn:ignore filesGerald Carter2007-10-101-1/+0
| | | | | | | | | * 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.
* r5946: BUG 2497: fix bug in rpcclient's deletedriverex when asking to delete ↵Gerald Carter2007-10-101-1/+1
| | | | all versions of a driver
* r5805: merging spoolss parsing changes from trunk and cleaning up resulting ↵Gerald Carter2007-10-101-48/+36
| | | | segvs
* r4561: This looks a lot larger than it is, this is to reduce the clutter on ↵Volker Lendecke2007-10-101-37/+37
| | | | | | | | | | | | 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
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-18/+18
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r3645: Allow deldriverex in rpcclient to delete drivers for a specificGünther Deschner2007-10-101-2/+2
| | | | | | architecture and a specific version. Guenther
* r3639: patch from Martin Zielinski <mz@seh.de> to add DeleteDriverEx() ↵Gerald Carter2007-10-101-0/+52
| | | | function to rpcclient
* r2073: Adding getprinter level 7 to rpcclient.Günther Deschner2007-10-101-0/+24
| | | | | | Is there any other rpc-call to get the guid of a published printer? Guenther
* working on fix for BUG #294. Not done yet, but this at least clearsGerald Carter2003-08-191-2/+2
| | | | | up some of the false positives in "rpcclient -c getdriver". Also make sure that we ask for version2 and 3 drivers on x86.
* get rid of more compiler warningsHerb Lewis2003-08-151-3/+3
|
* Removed strupper/strlower macros that automatically map to ↵Jeremy Allison2003-07-031-16/+16
| | | | | | | strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy.
* Merge: const fixes.Tim Potter2003-02-251-8/+9
|
* Ensure that only parse_prs.c access internal members of the prs_struct.Jeremy Allison2003-02-141-10/+10
| | | | | Needed to move to disk based i/o later. Jeremy.
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-8/+8
| | | | | | warnings. (Adds a lot of const). Andrew Bartlett
* Sync with HEAD to get enumprinterkey api.Jim McDonough2002-11-081-0/+100
|
* Fix a silly memset typo.Tim Potter2002-10-211-2/+2
| | | | Change a int* to a uint32* in the cli_spoolss_enum_ports() function.
* Zero tallocated memory in decode_printer_info, decode_driver_info,Tim Potter2002-10-211-0/+10
| | | | decode_port_info and decode_printerdriver functions.
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-42/+241
|
* Sync 3.0 branch with HEADJelmer Vernooij2002-08-171-633/+1969
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-0/+3
|
* Renamed get_nt_error_msg() to nt_errstr().Tim Potter2002-03-171-13/+13
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-4/+0
|
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-11/+11
|
* Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter2001-07-251-10/+10
| | | | | | According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-:
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-1/+1
| | | | can't redefine them. damn.
* few cleanups to bring in line with 2.2Gerald Carter2001-04-281-1/+0
|
* added getdriver and enumdrivers commands. Also fixedGerald Carter2001-03-151-1/+1
| | | | | enumprinters so that it works as well. Couple of other misc fixes while we're working on rpcclient.
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-091-26/+26
| | | | | | | | | We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy.