summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
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 Schneider3-63/+63
2010-09-09s3-rpcint: Make auth_serversupplied_info const.Andreas Schneider1-3/+3
2010-09-09s3-spoolss: Fixed some build warnings.Andreas Schneider1-7/+11
2010-09-08s3-spoolss: Move spoolss winreg to new dcerpc client funtions.Andreas Schneider1-347/+389
2010-09-08s3-spoolss: Fixed a possible crash bug.Andreas Schneider1-1/+15
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-04s3:rpc_server: implement rpcint_bh_set_timeout() as dummyStefan Metzmacher1-0/+8
metze
2010-09-04s3:rpc_server: make it possible to use rpcint_binding_handle() directlyStefan Metzmacher1-18/+76
metze
2010-09-03s3-spoolss: fix some debug statements.Günther Deschner1-1/+1
Guenther
2010-08-30s3-dcerpc: Implement DCERPC_AUTH_TYPE_KRB5 server sideSimo Sorce1-29/+364
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-29s3: Remove smbd_server_fd() from srv_netlog_ntVolker Lendecke1-3/+2
This is not actually used. If it was to be activated, we'd have to pass in a pipes_struct.
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-27s3: Pass rhost through to smb_pam_passchangeVolker Lendecke3-16/+37
2010-08-26s3-build: only include rpc_misc.h where needed.Günther Deschner2-0/+2
Guenther
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner1-0/+1
Guenther
2010-08-26s3-dcerpc: only include rpc_dce.h where needed.Günther Deschner3-0/+3
Guenther
2010-08-26s3-build: only include "fake_file.h" where needed.Günther Deschner1-0/+1
Guenther
2010-08-25s3-lsa: separate out init_lsa headers.Günther Deschner3-0/+3
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 Lendecke5-23/+23
2010-08-18s3: Lift smbd_server_fd from reload_services()Volker Lendecke1-2/+2
2010-08-17s3: Lift smbd_server_fd() from read_fd_with_timeout()Volker Lendecke1-0/+2
2010-08-17s3: Remove unused "pos" arg from print_job_writeVolker Lendecke1-1/+0
2010-08-17s3-samr: Correctly fix the transition from enum to uint32_t.Andreas Schneider1-1/+5
What type an enum is depends on the implementation, the compiler and probably the compiler options. sizeof(enum) is normally not sizeof(int)!
2010-08-17s3-dcerpc: Remove unused functionSimo Sorce1-18/+0
2010-08-17s3-dcerpc: make a few local functions as staticSimo Sorce1-4/+7
2010-08-17s3-samr: Fixed some build warnings.Andreas Schneider1-3/+3
2010-08-16s3:rpc_server: remove unused rpc_pipe_internal_dispatch()Stefan Metzmacher1-145/+0
metze
2010-08-16s3: Remove get_client_fd()Volker Lendecke2-3/+4
2010-08-13Eliminate any chance of a class of "uninitialized auto variable" errors.Jeremy Allison1-26/+24
Jeremy.
2010-08-12Fix bug #7617 - smbd coredump due to uninitialized variables in the ↵Jeremy Allison1-2/+2
performance counter code. In the file rpc_server.c, function _winreg_QueryValue() uint8_t *outbuf Should be : uint8_t *outbuf = NULL; As it is later freed by if (free_buf) SAFE_FREE(outbuf); in some cases, this frees the unintialized outbuf, which causes a coredump.
2010-08-12s3:rpc_server: add rpc_pipe_open_internal dcerpc_binding_handle backendStefan Metzmacher1-0/+272
metze
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