summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2002-07-12We must ZERO_STRUCT before using the buffer in copy_unistr2.Jeremy Allison1-0/+3
Fixes addprinterdriverex. Jeremy. (This used to be commit d3c73e59708eeb1ee4642fb31fcfc0ec2fd28070)
2002-07-11added copyrightGerald Carter1-1/+1
(This used to be commit dcb6d70706a0e86881588c3828ff5bd4d63d415f)
2002-07-11last check in for tonight.Gerald Carter1-15/+10
* DeletePrinterDriverEx() now has the ability to delete driver files. I need to do some more testing tro veriofy that we are in fact not deleting a file out from under another driver, but it looks ok so far. * DeletePrinterDriver() noiw deletes all versions of the specified driver (cversion == 0, 1, 2, 3) (This used to be commit 17bb780e1327663fa2fcd6a3cb25dd461a29c537)
2002-07-11all that is left to do is to actually perform theGerald Carter1-4/+24
file deletion now. I have the file list. One more commit should do it. (This used to be commit 7207662504f585352b0ceeb99f8998ef58db7f15)
2002-07-11intermediate work on DeletePrinterDriverEx(). This callGerald Carter1-19/+24
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-08fix typoGerald Carter1-1/+1
(This used to be commit be926c3a1a7fc79af62dd1830c56e9503f89f9dd)
2002-07-08added parsing routines for SPOOLSS_ADDPRINTERDRIVEREX andGerald Carter1-59/+95
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-0/+70
SPOOLSS_DELETEPRINTERKEY * stub funnctions for SPOOLSS_ADDPRINTERDRIVEREX and SPOOLSS_DELETEPRINTERDRIVEREX (This used to be commit d675974d0c04a68d48d90492005056d96697c96c)
2002-07-02Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison1-1/+1
Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy. (This used to be commit 17cae0d683be404be69554cd0e84117bdcc56c87)
2002-07-02Merge of constant renames from APPLIANCE_HEAD.Tim Potter1-53/+53
(This used to be commit daf4c6a013ffa474d768055e73a1cb31ee941e80)
2002-06-28Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison1-344/+540
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-06-24compile fixGerald Carter1-0/+1
(This used to be commit b07d6d4cebecd77314b123d83c7c2265eb62e1c1)
2002-06-24printing merge from SAMBA_2_2. Ther server code looks to be in sync now.Gerald Carter1-42/+95
Mostly formatting and s/free/SAFE_FREE/g changes with the two exceptions being * John driver init changes * Tim's printer enumeration bug fix (This used to be commit f7536762863811f96364e8acd3716bdb7d665bbf)
2002-06-18more debug classess activatedSimo Sorce1-0/+3
(This used to be commit 897e64d2e0c1d04ab93441ccaffe369bf43be46e)
2002-06-11merge from 2.2Gerald Carter1-0/+1
(This used to be commit 30a0e72572b25ddd99438b92b8ddf7f06e9ad819)
2002-06-06Fix compile error - doh!Tim Potter1-4/+0
(This used to be commit e80e6637064a39635faba5311f774a90b1d5ab43)
2002-06-06Moved some notify related constants into srv_spoolss_nt.c sinceTim Potter1-0/+8
they're only used there. Added a PRINTER_NOTIFY_VERSION constant. (This used to be commit 9d3933a59219388c209d8be4ae6decfa337d229f)
2002-06-06Fixed out of date comment for _spoolss_rffpcnex()Tim Potter1-4/+2
(This used to be commit 7d9b8c58a63cf20d00dd7cf88cfb82aed3a47d12)
2002-05-24merge from SAMBA_2_2Gerald Carter1-1/+3
(This used to be commit f0226a1d836b69d179a1a2eda79fa26911b78096)
2002-05-24merge from SAMBA_2_2.Gerald Carter1-3/+5
Tim, please check the prs_align() removed from sec_io_desc() and make sure it doesn't break anything else. I know it is right for the printing needs and I have tested some other general things like viewing acls on directories, but I would feel more comfortable if you would have a look as well. jerry (This used to be commit 83f109c940f30d9b35176540d8bdccbb22ffa3a1)
2002-05-19Patch to only set SV_TYPE_PRINTQ_SERVER in default_server_announce if aTim Potter1-0/+3
print share is exported. Needs some more testing. (This used to be commit 92b36482fd6aa5103c30dad40fe799c07dd2d8d7)
2002-05-09Merged in printing fixes... There were many missing !Jeremy Allison1-1/+111
Jeremy (This used to be commit 32fa089adead6ff3279172fd36560f4f9e2aeef0)
2002-04-22merge from SAMBA_2_2Gerald Carter1-7/+1
(This used to be commit 5e381abbbfaa15f3ebd89cba3cd9bb6de8e4ff4e)
2002-04-18Fix found by Li Shao @ HP - XP clients don't bother to set the devmode_ptrJeremy Allison1-1/+1
in the SetPrinter() call - they send it in the devmode_ctr instead. Jeremy. (This used to be commit f988a1af034b4cea2412171a257a752192afaece)
2002-04-15Merge of print server permission handling fixes from HEAD.Tim Potter1-12/+37
Unit tests rock! (This used to be commit bc673c42045ceb46d9569bc4d88f9c64897fc85a)
2002-04-11Correctly emulate NT in printer handle opening access rights.Jeremy Allison1-1/+6
Jeremy. (This used to be commit 42ae2334f21402c347aee560f08fd8e730481169)
2002-04-11s/werror_str/dos_errstr/g to fix compileGerald Carter1-3/+3
(This used to be commit d7c9b00253499da047f30f71660dede3676d40ad)
2002-04-11WERROR merge from SAMBA_2_2Gerald Carter1-16/+22
(This used to be commit 32dc5dbbfb16cb9fd6f953dbb8148f5228b453a4)
2002-04-09Fixed typo in debug statement.Tim Potter1-1/+1
(This used to be commit 49e429a97ff2b6b1889937c998f67d73d35829e1)
2002-04-09Fixed some compiler warnings.Tim Potter1-5/+5
(This used to be commit be6f955107429f1431c49c8b45fd623406a9d641)
2002-04-05Fix Gerry bug - MajorVersion should be 2 not 3.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b8b88e863e3964231a85b4643a197d6d4d6b8f99)
2002-03-28merge from SAMBA_2_2Gerald Carter1-1/+6
(This used to be commit 606450f3cbe028a526ec6db9cea59d65324c3314)
2002-03-26OpenPrinter() merge from 2.2Gerald Carter1-7/+125
(This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)
2002-03-22Stomped on some header file version numbers that have crept back in.Tim Potter1-2/+1
(This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
2002-03-20merge from APPLIANCE_HEADGerald Carter1-12/+1
(This used to be commit 9282aa02d44ae7a7688e8399b397aae35f73ddd1)
2002-03-20resetprinter merge from SAMBA_2_2Gerald Carter1-0/+22
(This used to be commit 88d8897e21749f177952b264031aa386bbbeaaeb)
2002-03-20Merge from app-head:Tim Potter1-2/+2
> Don't put two copies of the server name in construct_printer_info_1() (This used to be commit 47b1003bc5a069e84cb20df507022e5ff3e93832)
2002-03-19Merge in JohnR's page count fixes.Jeremy Allison1-4/+31
Jeremy. (This used to be commit 2e3133fbe5531b9bbc9bf46a04b27fa58e555f5a)
2002-03-17Added dos_errstr() function. Not all errors in list yet.Tim Potter1-7/+7
(This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter1-1/+1
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-15syncing up printing code with SAMBA_2_2 (already done some mergesGerald Carter1-142/+290
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-03-14Backed out enumprinters stuff - leave it for another day.Tim Potter1-24/+10
(This used to be commit d7efc5dd3dd712e7138b5c79eea9756125757175)
2002-03-12Merge of enumprinters vs getprinter naming patch from 2.2Tim Potter1-14/+30
(This used to be commit dfd51bc8d0714473880bf50369f7994304c1d83f)
2002-03-08merge from 2.2Gerald Carter1-3/+3
(This used to be commit 66eb969ade0dfde355df3e308dccbc9522087eef)
2002-03-08merge from 2.2Gerald Carter1-2/+2
(This used to be commit 4960692e958c986ca7f71e091333300310b0e0b2)
2002-03-08Turns out an Admin user shouldn't always have access on a handle.Jeremy Allison1-7/+0
Jeremy. (This used to be commit d31d2dcd22e1be2c26ea315e1b0e8442822a9a0f)
2002-03-07Merge in the change to do per-handle access checks on setdata/setform etc.Jeremy Allison1-70/+138
Should allow the buggy spoolss code on NT to work against us. Jeremy. (This used to be commit 2b3609a7dd55d96f5aafe137fff1ac2da0434867)
2002-02-26Fixup the sending of printer change messages from job changes.Jeremy Allison1-9/+16
Jeremy. (This used to be commit 28d4e7a3e2bd8f15ef807b821e4300a72bbc6904)
2002-02-25Merge of printing performance fixes from appliance.Tim Potter1-40/+61
(This used to be commit c8dc59dfe877f63bea6976b7d7fd448e0c8722ba)
2002-02-21merge from 2.2Gerald Carter1-1/+1
(This used to be commit 505119f0a7c6f10fd7e580edfe1bd0fb6ec36428)