summaryrefslogtreecommitdiffstats
path: root/source/include/rpc_spoolss.h
Commit message (Collapse)AuthorAgeFilesLines
* * set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter2003-02-151-0/+4
| | | | | | | * never save a pointer to an automatic variable (they go away) implement a deep copy for SPOOLSS_NOTIFY_MSG to correct messages being sent that have junk for strings; fix in response to changes for CR 1504
* More printer publishing code.Jim McDonough2002-12-131-2/+3
| | | | | | | | - Add published attribute to info2, needed for win clients to work properly - Return proper info on getprinter 7 This means you can now look at the sharing tab of a printer and get correct info about whether it is published or not, and change it.
* Automatic printer publishing when using APW or choosing 'list in the ↵Jim McDonough2002-12-041-0/+5
| | | | directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
* Support printer info 7, used for publishingJim McDonough2002-12-031-0/+16
|
* Change JOB_INFO_CTR to return a pointer to an array rather than array of ↵Tim Potter2002-09-031-2/+2
| | | | pointers.
* printing change notification merge from APPLIANCE_HEADGerald Carter2002-08-081-6/+8
|
* added copyrightGerald Carter2002-07-111-0/+1
|
* intermediate work on DeletePrinterDriverEx(). This callGerald Carter2002-07-111-7/+10
| | | | | | will actually delete driver files ( not yet though I don't think). Just wanted to get it in since Jeremy and I are both working on nt_printing.c
* 8-byte alignment needed for beginning driver_info_level_6.Gerald Carter2002-07-091-1/+0
| | | | | Verified by looking at NT4 and 2k servers. First time for everything I guess.
* fixup ADDPRINTERDRIVEREX some more. unknown uint32 for now.Gerald Carter2002-07-081-0/+1
|
* added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter2002-07-081-0/+3
| | | | | SPOOLSS_DELETEPRINTERDRIVEREX. Ran them through some testing. I know I'm off by 2 x uint32's in the former RPC.
* * basic implementation of SPOOLSS_DELETEPRINTERDATAEX andGerald Carter2002-07-081-3/+76
| | | | | | SPOOLSS_DELETEPRINTERKEY * stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and SPOOLSS_DELETEPRINTERDRIVEREX
* Merge of constant renames from APPLIANCE_HEAD.Tim Potter2002-07-021-6/+4
|
* STRING was being redefined...Jeremy Allison2002-06-281-1/+0
| | | | Jeremy.
* Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-281-20/+23
| | | | | Now let's keep this in sync ! Jeremy.
* Fix compile error - doh!Tim Potter2002-06-061-0/+4
|
* Moved some notify related constants into srv_spoolss_nt.c sinceTim Potter2002-06-061-4/+3
| | | | | | they're only used there. Added a PRINTER_NOTIFY_VERSION constant.
* Added cli_spoolss_enumjobs() function.Tim Potter2002-05-071-2/+2
|
* OpenPrinter() merge from 2.2Gerald Carter2002-03-261-1/+18
|
* resetprinter merge from SAMBA_2_2Gerald Carter2002-03-201-1/+2
|
* syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter2002-03-151-13/+107
| | | | | | | | | | | | | in the reverse). * add in new printer change notify code from SAMBA_2_2 * add in se_map_standard() from 2.2 in _spoolss_open_printer_ex() * sync up the _print_queue_struct in smb.h (why did someone change the user/file names in fs_user/fs_file (or vice-versa) ? ) * sync up some cli_spoolss_XXX functions
* Added some constants for the flags field in the FORM_1 structure.Tim Potter2002-01-311-1/+5
| | | | | The level2 field in SPOOL_Q_ADDFORM is probably part of the FORM structure as a discriminated union.
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Fixed ADDPRINTEREX to take a devmode and a security descriptor...Jeremy Allison2002-01-261-9/+4
| | | | Jeremy.
* Added PRINTER_INFO_4/PRINTER_INFO_5, we're seeing level 5 requested on the ↵Jeremy Allison2002-01-121-0/+20
| | | | | | wire... so. Jeremy.
* Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter2002-01-071-1/+1
| | | | but a plain old uint32.
* Added client and server code for the GetPrintProcessorDirectory SPOOLSSTim Potter2001-12-101-2/+25
| | | | | | rpc. This was supposed to fix a printer driver download bug but it didn't but it seemed a shame to trash all this code so I'm commiting it #ifdef'ed out in case someone needs it one day.
* Writing decimal constants as "02" has been shown to cause cancer inMartin Pool2001-12-031-3/+3
| | | | rats.
* merge from 2.2Gerald Carter2001-11-221-8/+60
|
* more Win2k RPC opnums (EnumPrinterKey() and DeletePrinterDriverEx())Gerald Carter2001-11-151-0/+2
|
* SETPRINTERDATAEX is 0x4d (not 0x50). My mistake.Gerald Carter2001-11-151-1/+1
|
* verified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx()Gerald Carter2001-11-131-6/+3
|
* Fix typo.Martin Pool2001-11-131-2/+0
|
* new Win2k spoolss rpc opnum (unknown right now).Gerald Carter2001-11-131-0/+6
|
* Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to theGerald Carter2001-11-091-1/+8
| | | | rpc_spoolss.h header file.
* Wrote some stubs for new win2k only spoolss rpc commands:Tim Potter2001-11-051-1/+40
| | | | | GetPrinterDataEx() and SetPrinterDataEx(). Not sure what the command number is for the latter is - I haven't seen it on the wire yet.
* the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell2001-09-041-43/+42
| | | | the client code still needs some work
* more NTSTATUS/WERROR conversionAndrew Tridgell2001-09-031-5/+5
|
* the next step in our error code handling changeAndrew Tridgell2001-09-031-2/+2
| | | | | | | | - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-271-49/+49
|
* Merging Gerry's spoolss changes.Jeremy Allison2001-06-211-1/+18
| | | | Jeremy.
* merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter2001-05-171-1/+18
| | | | in separate commit after I get it working in 2.2.
* added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter2001-03-151-5/+1
|
* Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison2001-03-071-2/+0
| | | | | authenticate against them. Big/little endian issues fixed. Jeremy.
* include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison2001-02-231-0/+14
| | | | | | | | | | | | | include/smb.h: Added LPQ_xx enums to correspond with the NT JOB_STATUS_XXX. We need these to be different as we're storing LPQ_xx enums in the tdb already. rpc_server/srv_spoolss_nt.c: Don't need to return status strings as we're now returning status codes. smbd/lanman.c: Change the RAP status codes to have "RAP" in the name. printing/printing.c: Keep track of the status of a job. Allow a job to be deleted from one smbd when being submitted by another. Made logic in mutex clearer. Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-171-1/+1
| | | | | | | | | | | | | | | | source/include/proto.h source/include/rpc_spoolss.h source/rpc_parse/parse_spoolss.c source/rpc_server/srv_spoolss.c source/rpc_server/srv_spoolss_nt.c - speedups in printer queue enumeration - still room for improvement. The construct_dev_mode() still creates and destroys a printer info_2 structure every time it is called. - fixed job->devmode memory leak - converted printer job notification routines to use tallocated memory rather than a fixed 2K buffer. This reduces the memory requirements of a 4500 job queue enumeration from 90MB to about 16MB.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-041-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source/Makefile.in - changes to ctags and etags rules that somehow got lost along the way. source/include/proto.h - make proto source/smbd/sec_ctx.c source/smbd/password.c - merge debugs for debugging user groups and NT token stuff. source/lib/util_str.c - capitalise domain name returned from parse_domain_user() source/nsswitch/wb_client.c - fix broken conditional in debug statement. source/include/rpc_secdes.h source/include/rpc_spoolss.h source/printing/nt_printing.c source/lib/util_seaccess.c - fix printer permission bugs related to ACE masks for printers. This adds mapping of generic access rights to object specific rights for NT printers. Still need to work out whether or not to ignore ACEs with certain flags set, though. See comments in util_seaccess.c:check_ace() for details. source/printing/nt_printing.c source/printing/printing.c - use PRINTER_ACCESS_ADMINISTER instead of JOB_ACCESS_ADMINISTER until we sort out printer/printjob permission stuff.
* printer notify code.Jean-François Micouleau2000-09-251-2/+26
| | | | | | | It only sends notifies to one client. The broadcasting notify code will code soon. J.F.
* in a printer_info_6, driver version is 64 bits long and there is a 32 bitJean-François Micouleau2000-09-161-2/+4
| | | | | | padding before. J.F.
* Implemented DELETEPRINTERDATA (tested with Gerald's Win32 progs).Jeremy Allison2000-09-091-0/+14
| | | | Jeremy.