summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterKey.Günther Deschner1-25/+14
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterData.Günther Deschner1-27/+14
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterDataEx.Günther Deschner1-30/+13
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_GetForm.Günther Deschner1-41/+29
Guenther
2009-02-09s3-spoolss: add fill_form_info_1.Günther Deschner1-0/+21
Guenther
2009-02-09s3-spoolss: restore delete_a_form().Günther Deschner1-1/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_SetForm.Günther Deschner1-20/+12
Guenther
2009-02-09s3-spoolss: use pidl for spoolss_AddForm.Günther Deschner1-19/+11
Guenther
2009-02-07s3-spoolss: use pidl for _spoolss_WritePrinter.Günther Deschner1-22/+14
Guenther
2009-02-07s3-spoolss: some cosmetics in debug statements.Günther Deschner1-3/+6
Guenther
2009-02-07s3-spoolss: use pidl for _spoolss_DeleteForm.Günther Deschner1-21/+13
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_EndDocPrinter.Günther Deschner1-18/+6
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_AbortPrinter.Günther Deschner1-16/+7
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_EndPagePrinter.Günther Deschner1-15/+6
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_StartPagePrinter.Günther Deschner1-15/+7
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_DeletePrinter.Günther Deschner1-19/+6
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_ClosePrinter.Günther Deschner1-17/+7
Guenther
2009-02-06s3-spoolss server: add _spoolss_ server stubs.Günther Deschner1-0/+1056
Guenther
2009-01-27s3:rpc_server: use get_client_fd() instead of smbd_server_fd()Stefan Metzmacher1-1/+1
Both are absolutely the same, but smbd_server_fd() is otherwise only used in smbd/*.c and would like to remove smbd_server_fd() soon. metze
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-1/+2
2009-01-08Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke1-7/+2
2009-01-08Make use of a talloc_destructor for free_printer_entryVolker Lendecke1-16/+11
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke1-19/+22
2008-11-24Convert delete_driver_files to use create_conn_structVolker Lendecke1-4/+6
Jerry, please check!
2008-11-24Convert get_correct_cversion to use create_conn_structVolker Lendecke1-1/+1
Jerry, please check!
2008-11-24Convert move_driver_to_download_area to use create_conn_structVolker Lendecke1-1/+2
This removes a use of struct current_user and the vuid The become_user() here is unnecessary, within the spoolss handling code we have switched to the authenticated pipe user anyway. Jerry, please check!
2008-11-15s3-spoolss: fix enumports segfault (another malloc vs. talloc candidate).Günther Deschner1-3/+3
Guenther
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-11/+11
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij1-2/+2
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-10-23Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij1-1/+1
previously present in Samba 3.
2008-10-14Use GUID_string rather than smb_uuid_string().Jelmer Vernooij1-1/+1
2008-10-12Use common util_file code.Jelmer Vernooij1-9/+9
2008-08-14Fix coverity CID: 594. Resource leak on error path.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 1f38b9963c4ec0d73da496a72ba4ee74d8d581c9)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-1/+2
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-07-02Canonicalize servername in the printer functions to remove leading '\\' ↵Jeremy Allison1-54/+59
characters. Ensure we always return consistent names. Jeremy. (This used to be commit fc2178b04743d2f94be7b489b793fc67826557ac)
2008-06-28Fix a file descriptor leak in add_port_hookVolker Lendecke1-4/+1
This was probably cut&paste from add_printer_hook which further down has the unconditional close(fd). In add_port_hook() we're not interested in the output of 'addport command', so don't create the out fd. (cherry picked from commit 0c5ca2127ac6e3c71e369242376d27429c3aee5e) (This used to be commit 9fe09398b79ae7c5e78182112a8cd2c9b5f99ad3)
2008-06-26Fix valgrind errors in _spoolss_addprinterdriverVolker Lendecke1-0/+11
Jerry, this was dropped as part of your SVN r15309 (037f9f83). Can you please check? Thanks, Volker (cherry picked from commit 5aa2411f0b3720b790439359a2dadb23008e936e) (This used to be commit 8e7effd58f7790d6e71e38c990f6cb05456e47e1)
2008-06-26Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke1-9/+10
current_user Reason: This is the main user of p->current_user which I would like to remove (This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
2008-06-24Remove "conn" from pipes_structVolker Lendecke1-3/+2
For spoolss, we need the client's IP address (This used to be commit 64a4dfaa826cf9319ef3f5c65023352bf8af539e)
2008-05-25Remove the reference to current_user_info from share_access.cVolker Lendecke1-6/+10
This required to pass around the domain a bit (This used to be commit 17b0db20d28d1b737c5e86b78106657e8ca5ce9c)
2008-05-06Fix a memleak in construct_printer_info_7()Volker Lendecke1-2/+5
Also fix a "ignoring asprintf result" warning (This used to be commit 64d21f39636019d6a17f84efc6fb9e61e67a235e)
2008-04-24The first of Martin Zielinski <mz@seh.de> Vista printing patches.Jeremy Allison1-3/+6
Jerry will test and should get into 3.2 final (and the next 3.0.x release). Jeremy. (This used to be commit 3fc1ab210b8772ee9f867499c0b1a7bb4bcdd285)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-1/+1
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Remove a redundant reference to rpc_pipe_state->cli from srv_spoolssVolker Lendecke1-4/+0
This assignment is done in cli_rpc_pipe_open called from cli_rpc_pipe_open_noauth already. (This used to be commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e)
2008-04-04Fix bug #5372. With a large CUPS installation with a remote server, contactingJeremy Allison1-1/+7
the server when searching for a name for the location and comment fields can take so much time the client times out. When searching for a name we don't use these fields anyway, so add a function get_a_printer_search() which doesn't contact the CUPS server. Jeremy. (This used to be commit 92d9f20852d5384e92a93dd0b051034718840ca8)
2008-03-17Coverity fixesMarc VanHeyningen1-1/+5
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-10/+4
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-10Fix return values for invalid printers. Found by kblinJeremy Allison1-5/+14
spoolss test. Jeremy. (This used to be commit bb8c044d425cf62b76e487103c8fb0b6cd4c83c2)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison1-3/+9
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-27Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison1-232/+306
Jeremy. (This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)