summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2010-02-11spoolss: allow to set server architecture via parametric option.Günther Deschner1-2/+2
This allows to set "spoolss:architecture = 'Windows x64'" for debugging purpose. Guenther
2010-02-11s3-spoolss: implement spoolss_EnumJobs level 3.Günther Deschner1-0/+76
Level 3 has been added with NT 4.0 and Windows 7 (at least 64bit version) makes use of it in order to display queued jobs. Windows 7 will *not* fall back to level 2 if we just return WERR_UNKNOWN_LEVEL, instead there will be no printjobs displayed at all. Guenther
2010-02-09Missed one check on the memcpy for bug #7063.Jeremy Allison1-1/+1
Jeremy.
2010-02-09Second part of fix for bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core ↵Jeremy Allison1-1/+4
dumps. Ensure we have no naked memcpy calls. This isn't a crash bug (it's already checked in the data_blob_talloc_zero() above, but I want to get into the pattern of having all memcpy's covered by safety checks. Jeremy.
2010-02-02Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps.Jeremy Allison1-2/+9
Reported and found by Martin Hochreiter <linuxbox@wavenet.at>. Ensure we copy the right amount of registry data into the outgoing buffer. Jeremy.
2010-01-19s3-spoolss: stricter name checks when opening back-channel notify connection.Günther Deschner1-7/+13
Make sure to always check if the name the client passed in spoolss_RemoteFindFirstPrinterChangeNotifyEx is not one of our names. Guenther
2009-12-10s3-spoolss: fix enumprinter key client and server.Günther Deschner1-2/+11
Guenther
2009-12-08s3-spoolss: use SPOOLSS_ARCHITECTURE_ALL in driver enum server code.Günther Deschner1-1/+1
Guenther
2009-12-08s3-spoolss: cleanup _spoolss_EnumPrinterDrivers().Günther Deschner1-139/+6
Guenther
2009-12-08s3-spoolss: remove unused architecture from fill_printer_driver_info1().Günther Deschner1-5/+3
Guenther
2009-12-08s3-spoolss: remove ridiculous amount of duplicate driver code.Günther Deschner1-436/+44
Guenther
2009-12-08s3-spoolss: fully support level 8 drivers.Günther Deschner1-0/+305
Guenther
2009-12-08s3-spoolss: use driver level info8 everywhere in spoolss server internally.Günther Deschner1-68/+78
Guenther
2009-12-07s3-spoolss: let _spoolss_DeletePrinterData call into ↵Günther Deschner1-38/+5
_spoolss_DeletePrinterDataEx. Guenther
2009-12-07s3-spoolss: let _spoolss_SetPrinterData call into _spoolss_SetPrinterDataEx.Günther Deschner1-74/+30
Guenther
2009-12-07s3-spoolss: let _spoolss_GetPrinterData call into _spoolss_GetPrinterDataEx.Günther Deschner1-101/+44
Guenther
2009-12-03s3-spoolss: handle SEC_FLAG_MAXIMUM_ALLOWED in spoolss_OpenPrinterEx.Günther Deschner1-0/+4
In case someone (smbtorture4) requests SEC_FLAG_MAXIMUM_ALLOWED, translate it to a request of PRINTER_ACCESS_ADMINISTER. Guenther
2009-12-02samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner1-1/+1
This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
2009-11-30s3-spoolss: fix fstrings in convert_devicemode() function.Günther Deschner1-2/+5
Guenther
2009-11-27s3-spoolss: simplify _spoolss_EnumPrinterKey a little more.Günther Deschner1-14/+6
Guenther
2009-11-27s3-spoolss: use macros to fillup driver levels.Günther Deschner1-158/+114
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+2
samba. Guenther
2009-11-26s3-spoolss: pre cosmetics: reorder levels in construct_printer_info levels.Günther Deschner1-104/+104
Guenther
2009-11-24s3-spoolss: re-arrange driver info level fillup functions.Günther Deschner1-95/+95
Guenther
2009-11-24s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.Günther Deschner1-1/+1
Thanks Metze for review! Guenther
2009-11-23s3-spoolss: Fix GetPrinter level 101.Günther Deschner1-1/+1
Guenther
2009-11-23s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner1-155/+152
Guenther
2009-11-23s3-printing: use spoolss types and structs while adding drivers.Günther Deschner1-204/+10
Guenther
2009-11-23s3-spoolss: fix spoolss_EnumPrinterKey client and server code.Günther Deschner1-4/+19
Guenther
2009-09-30s3-registry: use push_reg_sz().Günther Deschner1-16/+16
Guenther
2009-08-20s3-spoolss: add stubs for new idl opcodes in spoolss server.Günther Deschner1-0/+153
Guenther
2009-08-17s3-spoolss: remove another duplicate copy of print_architecture_table.Günther Deschner1-23/+12
Guenther
2009-08-04s3-spoolss: Fix Bug #6568: _spoolss_GetPrintProcessorDirectory() implementation.Günther Deschner1-1/+5
We should always return a local path so that users are not forced to setup a [prnproc$] share on the server. This restores pre-3.4.0 spoolss behaviour. Guenther
2009-08-04s3-spoolss: fix crash bug in spoolss_addprinterex_level_2.Günther Deschner1-1/+1
Guenther
2009-07-28Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison1-1/+1
W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy.
2009-07-17Fix bug #6564 - SetPrinter fails (panics) as non root.Jeremy Allison1-0/+4
Missing become_root()/unbecome_root() around reload_services. Jeremy.
2009-07-16s3-spoolss: make some of the command hooks static.Günther Deschner1-3/+3
Guenther
2009-07-03Attempt to fix the buildVolker Lendecke1-2/+2
2009-07-03s3-spoolss: implement _spoolss_AddPrinter.Günther Deschner1-11/+24
Guenther
2009-06-30s3-spoolss: Bug #6512. Fix support for enumerating user forms.Günther Deschner1-5/+5
Found while testing Xerox WorkCentre 133 PCL driver, now also tested with torture test. Guenther
2009-06-24s3-spoolss: restructure _spoolss_EndDocPrinter().Günther Deschner1-30/+32
Guenther
2009-06-08s3-spoolss: add server-support for queries for the "all" architecture in ↵Günther Deschner1-7/+67
printdriver enum calls. Guenther
2009-05-13s3-printing: no need to define struct table_node 4 times.Günther Deschner1-7/+1
Guenther
2009-05-06s3-printing: simplify print_queue helper functions and return WERROR.Günther Deschner1-9/+3
Guenther
2009-04-30s3-spoolss: avoid referring to uid 0 in spoolss server (use ↵Günther Deschner1-3/+3
sec_initial_uid() instead). Guenther
2009-04-27s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam1-5/+5
Michael
2009-04-23Fix coverity #908, #909, uninitialized variable.Jeremy Allison1-2/+2
Jeremy.
2009-04-23Fix coverity #910, uninitialized variable.Jeremy Allison1-1/+1
Jeremy.
2009-04-21s3: Use common security_descriptor_equal().Jelmer Vernooij1-1/+1
2009-04-19Make "struct policy" private to srv_lsa_hnd.cVolker Lendecke1-1/+2