summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
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
2009-04-17s3-spoolss: remove some direct checks for 0 uid in AddForm,SetForm,DelForm.Günther Deschner1-4/+13
Also add some become_root()/unbecome_root() pairs which were missing IMHO. Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 6.Günther Deschner1-1/+25
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 5.Günther Deschner1-0/+71
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 4.Günther Deschner1-0/+90
Guenther
2009-04-14s3-spoolss: Fix format of description string in spoolss_PrinterInfo1.Günther Deschner1-10/+6
This is what windows does and should get us closer to show the appropriate printer location string in explorer. Guenther
2009-04-13s3-spoolss: fix typo in fill_printer_driver_info3().Günther Deschner1-1/+1
Guenther
2009-04-13s3-spoolss: Fix permission checks for _spoolss_AddForm,SetForm and DelForm.Günther Deschner1-12/+34
Found by smbtorture test. Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 3 enum.Günther Deschner1-67/+6
Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 2 enum.Günther Deschner1-66/+6
Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 1 enum.Günther Deschner1-67/+7
Guenther
2009-04-13s3-spoolss: add generic enumprinterdrivers_level function.Günther Deschner1-0/+86
Guenther
2009-04-10s3-spoolss: implement dummy _spoolss_AddPort().Günther Deschner1-11/+12
Guenther
2009-04-10s3-spoolss: add support for level 8 in _spoolss_GetPrinter().Günther Deschner1-0/+37
Guenther