summaryrefslogtreecommitdiff
path: root/source3/include/rpc_spoolss.h
AgeCommit message (Collapse)AuthorFilesLines
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter1-0/+6
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-02-15* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736Gerald Carter1-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 (This used to be commit 043b9dff22e909fc290c34d879cad8b4c980fc13)
2002-12-13More printer publishing code.Jim McDonough1-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. (This used to be commit adda04379ee46f105436262663652f3f576fa3cf)
2002-12-04Automatic printer publishing when using APW or choosing 'list in the ↵Jim McDonough1-0/+5
directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients. (This used to be commit bbd7c8071a095c4e410f92489050b677a0f0ace1)
2002-12-03Support printer info 7, used for publishingJim McDonough1-0/+16
(This used to be commit 3c9726454ea6beb8d5d308805caecb86395c7ad2)
2002-09-03Change JOB_INFO_CTR to return a pointer to an array rather than array of ↵Tim Potter1-2/+2
pointers. (This used to be commit e9b71b354d923b2cd0f028dd197e7ca81339ec3a)
2002-08-08printing change notification merge from APPLIANCE_HEADGerald Carter1-6/+8
(This used to be commit 11ddfd9cfa550dcd3186c8aaf0cc038ce7f1791f)
2002-07-11added copyrightGerald Carter1-0/+1
(This used to be commit 0bb3d0f1ca9504d2430471558e1a0125d72ee82f)
2002-07-11intermediate work on DeletePrinterDriverEx(). This callGerald Carter1-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 (This used to be commit 3fa6c3132950c9ff1c6a532d8264ee34a6b2b0ff)
2002-07-098-byte alignment needed for beginning driver_info_level_6.Gerald Carter1-1/+0
Verified by looking at NT4 and 2k servers. First time for everything I guess. (This used to be commit f57640720e4758176116bc2e1b578cf0e867f95f)
2002-07-08fixup ADDPRINTERDRIVEREX some more. unknown uint32 for now.Gerald Carter1-0/+1
(This used to be commit b0f178f452a816c6a77b0f5a77fdd8930da98cac)
2002-07-08added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter1-0/+3
SPOOLSS_DELETEPRINTERDRIVEREX. Ran them through some testing. I know I'm off by 2 x uint32's in the former RPC. (This used to be commit 55fbfd02ba917b74fd4df7a1aa8cc8c5a91e3e07)
2002-07-08* basic implementation of SPOOLSS_DELETEPRINTERDATAEX andGerald Carter1-3/+76
SPOOLSS_DELETEPRINTERKEY * stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and SPOOLSS_DELETEPRINTERDRIVEREX (This used to be commit d675974d0c04a68d48d90492005056d96697c96c)
2002-07-02Merge of constant renames from APPLIANCE_HEAD.Tim Potter1-6/+4
(This used to be commit daf4c6a013ffa474d768055e73a1cb31ee941e80)
2002-06-28STRING was being redefined...Jeremy Allison1-1/+0
Jeremy. (This used to be commit f631f7e0fc7ff655d56ad17606134784f401f171)
2002-06-28Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison1-20/+23
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-06-06Fix compile error - doh!Tim Potter1-0/+4
(This used to be commit e80e6637064a39635faba5311f774a90b1d5ab43)
2002-06-06Moved some notify related constants into srv_spoolss_nt.c sinceTim Potter1-4/+3
they're only used there. Added a PRINTER_NOTIFY_VERSION constant. (This used to be commit 9d3933a59219388c209d8be4ae6decfa337d229f)
2002-05-07Added cli_spoolss_enumjobs() function.Tim Potter1-2/+2
(This used to be commit aaa996355287fcd86873697f51a069ccb5a908b9)
2002-03-26OpenPrinter() merge from 2.2Gerald Carter1-1/+18
(This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)
2002-03-20resetprinter merge from SAMBA_2_2Gerald Carter1-1/+2
(This used to be commit 88d8897e21749f177952b264031aa386bbbeaaeb)
2002-03-15syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter1-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 (This used to be commit 5760315c1de4033fdc22684c940f18010010924f)
2002-01-31Added some constants for the flags field in the FORM_1 structure.Tim Potter1-1/+5
The level2 field in SPOOL_Q_ADDFORM is probably part of the FORM structure as a discriminated union. (This used to be commit 2c906ff77d81bc7097129d3f34be48857ce3a48b)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-26Fixed ADDPRINTEREX to take a devmode and a security descriptor...Jeremy Allison1-9/+4
Jeremy. (This used to be commit 27f65b3aad13ecd33bbb84048d70e3dde212f278)
2002-01-12Added PRINTER_INFO_4/PRINTER_INFO_5, we're seeing level 5 requested on the ↵Jeremy Allison1-0/+20
wire... so. Jeremy. (This used to be commit b63b76297835ab8227b98925fa8120ffce1a37d9)
2002-01-07Sed error. The status value in the PRINTER_INFO_2 structure isn't a WERRORTim Potter1-1/+1
but a plain old uint32. (This used to be commit 690cc12bad2a037684a43b0dcb48be8eb03aa7bc)
2001-12-10Added client and server code for the GetPrintProcessorDirectory SPOOLSSTim Potter1-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. (This used to be commit bef43656471741c6c10b12e7516c15de9ae76394)
2001-12-03Writing decimal constants as "02" has been shown to cause cancer inMartin Pool1-3/+3
rats. (This used to be commit 142d3dad0ab6870acb0d46d1f189d5e2e1f71b17)
2001-11-22merge from 2.2Gerald Carter1-8/+60
(This used to be commit 96b3a65a73d403a41bf1b3aba79bd743698344ac)
2001-11-15more Win2k RPC opnums (EnumPrinterKey() and DeletePrinterDriverEx())Gerald Carter1-0/+2
(This used to be commit 08df688b284c5589718f954187c4cb44086b9c19)
2001-11-15SETPRINTERDATAEX is 0x4d (not 0x50). My mistake.Gerald Carter1-1/+1
(This used to be commit 27c6e1242d311cc24e758281890872694e083b67)
2001-11-13verified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx()Gerald Carter1-6/+3
(This used to be commit 253c5eadc21cdf2ea5a4c237d3b48e9df04c66a2)
2001-11-13Fix typo.Martin Pool1-2/+0
(This used to be commit 33904decbcf858a5cf799429c17330b0fafd1da4)
2001-11-13new Win2k spoolss rpc opnum (unknown right now).Gerald Carter1-0/+6
(This used to be commit d636e73295343e5f3e44cbf61a63edaff8a243d1)
2001-11-09Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to theGerald Carter1-1/+8
rpc_spoolss.h header file. (This used to be commit d4cafc076be99a66d0660f695995801b4f1d7bfd)
2001-11-05Wrote some stubs for new win2k only spoolss rpc commands:Tim Potter1-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. (This used to be commit 87614c74b3d66cf2ca706b33e6cf0a32b4166e7a)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell1-43/+42
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-03more NTSTATUS/WERROR conversionAndrew Tridgell1-5/+5
(This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8)
2001-09-03the next step in our error code handling changeAndrew Tridgell1-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 (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-49/+49
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-06-21Merging Gerry's spoolss changes.Jeremy Allison1-1/+18
Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
2001-05-17merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter1-1/+18
in separate commit after I get it working in 2.2. (This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
2001-03-15added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter1-5/+1
(This used to be commit 5d321673850e1e28e1bee4093705d7e319421687)
2001-03-07Sync up handle creation with 2.2 branch. We can now join AS/U domains andJeremy Allison1-2/+0
authenticate against them. Big/little endian issues fixed. Jeremy. (This used to be commit 0e6a34510ed598eaec7fe71a9c91fda528a4675c)
2001-02-23include/rpc_spoolss.h: Added JOB_STATUS_XXX defines.Jeremy Allison1-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. (This used to be commit 71029da7dd74eb91dd6953752bdf238f319d985d)
2001-01-17Changes from APPLIANCE_HEAD:David O'Neill1-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. (This used to be commit 7853b27bc1765d48d5f06837f8aca71a3a0d1e5d)
2001-01-04Changes from APPLIANCE_HEAD:David O'Neill1-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. (This used to be commit 1dba9c5cd1e6389734c648f6903abcb7c8d5b2f0)
2000-09-25printer notify code.Jean-François Micouleau1-2/+26
It only sends notifies to one client. The broadcasting notify code will code soon. J.F. (This used to be commit 4c63c9185887c64e57d901e82a4a16a83522c898)
2000-09-16in a printer_info_6, driver version is 64 bits long and there is a 32 bitJean-François Micouleau1-2/+4
padding before. J.F. (This used to be commit cd41d7a35477accec1a82b86f9fa3477e5a49d6e)