summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-07s3-spoolss: make it possible to have and announce a [prnproc$] share on the ↵Günther Deschner1-2/+12
printserver. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 16:09:14 UTC 2010 on sn-devel-104
2010-10-05Fix bug 7704 - Possible error in fix to rpc_server/srv_spoolss_nt.c.Jeremy Allison1-1/+1
From pjb1008@cam.ac.uk - Service numbers start from 0. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Oct 5 17:32:34 UTC 2010 on sn-devel-104
2010-10-04spoolss: fill in spoolss_SetPort IDL.Günther Deschner1-3/+3
Guenther
2010-10-02s3-spoolss: Strip off ", DrvConvert" and ",LocalOnly" in OpenPrinterEx as ↵Günther Deschner1-0/+13
seen from Win7 clients. These suffixes and their meaning are not documented (yet). Guenther
2010-10-02s3-spoolss: Fixed print job access.Andreas Schneider1-4/+4
2010-10-02s3-spoolss: Fixed print_access_check server_info.Andreas Schneider1-2/+2
2010-10-01s3-spoolss: fix do_drv_upgrade_printer() which must have been broken since theGünther Deschner1-3/+6
days we moved away from fstrings. Guenther
2010-10-01s3-spoolss: make sure we dont crash on NULL setprinter level2 elements as ↵Günther Deschner1-7/+13
seen from win7. Guenther
2010-10-01s3-spoolss: dont overwrite location change notify.Günther Deschner1-3/+3
Guenther
2010-09-30s3-spoolss: make sure to exit early and with the appropriate error code inGünther Deschner1-0/+4
_spoolss_GetPrinterDriver2. Guenther
2010-09-30s3-spoolss: Fix servername/printername handling which turns out to be very ↵Günther Deschner1-81/+181
important to get right. Guenther
2010-09-28s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handlingGünther Deschner1-0/+5
2010-09-28s3-spoolss: Fix _spoolss_EnumPrintProcessors error handlingGünther Deschner1-0/+4
2010-09-11s3-privs Convert from user_has_privileges() -> security_token_has_privilege()Andrew Bartlett1-22/+11
This new call is available in the merged privileges code, and takes an enum as the parameter, rather than a bitmask. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3:auth Remove NT_USER_TOKENAndrew Bartlett1-9/+9
The all UPPER case typedef is no longer the preferred Samba style and this makes it easier to see that this is the IDL-derivied structure Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Further changes to remove SE_PRIVAndrew Bartlett1-9/+9
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-10s3-spoolss: Fix _spoolss_GetPrinter().Günther Deschner1-1/+2
In the error case, we need to TALLOC_FREE(r->out.info), don't ask :-) Guenther
2010-09-10s3-spoolss: Don't leak memory on the session counter list.Andreas Schneider1-0/+12
Thanks Günther, please check.
2010-09-10s3-spoolss: Allow multiple client backchannels.Simo Sorce1-77/+116
When we run spoolssd we need to support multiple clients connecting. Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10s3-spoolss: Split function to send notification.Simo Sorce1-127/+162
More digestible this way. Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10s3-spoolss: Use a single structure for all the back channel data.Simo Sorce1-14/+18
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10s3-spoolss: Rename Printer_entry to struct printer_handle.Simo Sorce1-53/+53
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10s3-spoolss: Move Printer_entry to srv_spoolss_nt.cSimo Sorce1-0/+44
It is used only there, and it is a good idea to make this one private and opaque to the rest of the code. Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10s3-spoolss: Allocate printer entries on the pipe struct.Simo Sorce1-1/+2
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10s3-spoolss: Rename session counter structure and use talloc.Simo Sorce1-8/+7
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-10s3-spoolss: allow a short printername w/o servername.Günther Deschner1-6/+1
Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test. Guenther
2010-09-09s3-spoolss: Use systerm server_info for winreg connection.Andreas Schneider1-88/+162
This will ensure that we have the rights we need to access the regsitry.
2010-09-09s3-spoolss: Make auth_serversupplied_info const.Andreas Schneider1-17/+17
2010-09-09s3-spoolss: Fixed some build warnings.Andreas Schneider1-7/+11
2010-09-07s3: Prune the printername cache when a printer is deletedVolker Lendecke1-2/+20
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-03s3-spoolss: fix some debug statements.Günther Deschner1-1/+1
Guenther
2010-08-29s3: Remove some uses of smbd_server_fd()Volker Lendecke1-2/+2
The change in behaviour is that we don't detect "socket option" changes anymore when printers are added or removed.
2010-08-27s3: Cache results of finding printer namesVolker Lendecke1-0/+39
With hundreds of printers or on a slow machine, this can become expensive. Problem reported and patch sponsored by DESY, Hamburg (www.desy.de)
2010-08-26s3-build: only include rpc_misc.h where needed.Günther Deschner1-0/+1
Guenther
2010-08-22s3: Replace calls to check_access by allow_accessVolker Lendecke1-2/+2
We already have both the name and address of the client stored now
2010-08-18s3: Use pipe_struct->client_id->name for pjob.clientmachineVolker Lendecke1-1/+2
2010-08-18s3: Add "client_id" to pipes_structVolker Lendecke1-4/+4
2010-08-18s3: Lift smbd_server_fd from reload_services()Volker Lendecke1-2/+2
2010-08-17s3: Remove unused "pos" arg from print_job_writeVolker Lendecke1-1/+0
2010-08-16s3: Remove get_client_fd()Volker Lendecke1-1/+2
2010-08-08s3: Lift the server_messaging_context from spoolss_setjob_1Volker Lendecke1-3/+4
2010-08-08s3: Lift the server_messaging_context from construct_printer_info6Volker Lendecke1-2/+3
2010-08-08s3: Lift the server_messaging_context from construct_printer_info2Volker Lendecke1-3/+4
2010-08-08s3: Lift the server_messaging_context from construct_notify_jobs_infoVolker Lendecke1-5/+6
2010-08-08s3: Lift the server_messaging_context from construct_notify_printer_infoVolker Lendecke1-6/+8
2010-08-08s3: Pass messaging_context through s_notify_info_data_tableVolker Lendecke1-37/+70
2010-08-08s3: Lift the server_messaging_context from update_monitored_printq_cacheVolker Lendecke1-3/+2
2010-08-08s3: Lift the server_messaging_context from print_job_endpageVolker Lendecke1-1/+1
2010-08-08s3: Lift the server_messaging_context from print_job_writeVolker Lendecke1-1/+2
2010-08-08s3: Lift the server_messaging_context from print_job_set_nameVolker Lendecke1-1/+3