summaryrefslogtreecommitdiff
path: root/source3/librpc
Commit message (Collapse)AuthorAgeFilesLines
* s3-rpc_server: Implement an endpoint monitor loop.Andreas Schneider2011-03-241-1/+1
| | | | (cherry picked from commit 73faa82bf9ebebdff9662e60715e9fd4f1614b9f)
* s3-librpc: Leave the epm registration connection open.Andreas Schneider2011-03-242-13/+55
| | | | (cherry picked from commit 81a2046879299a051e69fd4d78b3a8e49b690f1b)
* librpc: bring more librpc prototypes in common.Günther Deschner2011-03-241-20/+0
| | | | | Guenther (cherry picked from commit b903c289390741e423c7457e7ee82c8c5cb8b74b)
* librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher2011-03-131-54/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
* s3:librpc/rpc: add DCERPC_ANON_FALLBACK flagStefan Metzmacher2011-03-131-0/+2
| | | | | | With this they're in sync with source4. metze
* librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher2011-03-131-15/+0
| | | | metze
* s3:librpc/rpc: add target_principal to struct dcerpc_bindingStefan Metzmacher2011-03-132-1/+2
| | | | | | | This brings the source3 copy in sync with the source4 copy of struct dcerpc_binding. metze
* librpc/rpc: move enum dcerpc_transport_t to rpc_common.hStefan Metzmacher2011-03-131-10/+5
| | | | metze
* librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher2011-03-111-145/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
* s3:librpc/rpc: remove unused dcerpc_pipe define hackStefan Metzmacher2011-03-111-10/+0
| | | | metze
* s3-epmap: fix uninitialized variable in ep_register()Günther Deschner2011-03-081-0/+1
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-librpc: Register NCALRPC pipes.Andreas Schneider2011-03-082-1/+16
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider2011-03-081-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-librpc: Register endpoints using ncalrpc.Andreas Schneider2011-03-081-36/+56
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.Andreas Schneider2011-03-081-1/+4
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-librpc: Free memory we don't need.Andreas Schneider2011-03-081-0/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-librpc: Added tcpip support for dcerpc_binding_vector_create.Andreas Schneider2011-03-082-1/+13
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-281-0/+1
|
* s3: smbcontrol to notify smbd about idmap changesGregor Beck2011-02-281-0/+4
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
* s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett2011-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-librpc: Only register NCACN_NP.Andreas Schneider2011-02-211-9/+22
| | | | This is the only transport we support at the moment.
* s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell2011-02-181-10/+10
| | | | | | | | | | this brings the s3 waf build much closer to the proposed s3build top level build, using the same bld.SAMBA3_*() rules There are a few renames of subsystems in here, with a 3 suffix where it would create a conflict. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-build: allow waf build of s3 IDL files from any top directoryAndrew Tridgell2011-02-181-3/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3: add server_id.idl and use only autogenerated code.Günther Deschner2011-02-177-77/+30
| | | | | | | | | Volker, Tridge and other clustering gurus, please check. It is ok to get rid of ifdef CLUSTER_SUPPORT here, right ? Why was unique_id not marshalled at all ? Guenther
* s3-librpc: move server_id marshalling to own helper file.Günther Deschner2011-02-167-50/+81
| | | | | | | | | (in preparation of merging struct server_id). Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 16 00:02:33 CET 2011 on sn-devel-104
* s3-librpc: no need to globally include endpointmapper headers.Günther Deschner2011-02-141-0/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
* s3-librpc: remove duplicate prototypes.Günther Deschner2011-02-141-1/+14
| | | | Guenther
* librpc: move preg.idl to main directory.Günther Deschner2011-02-105-147/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
* s3: give ../librpc/ndr/util.c its own header.Günther Deschner2011-02-104-0/+10
| | | | Guenther
* ndr: merge ndr_map_error2string and ndr_errstr.Günther Deschner2011-02-081-72/+0
| | | | Guenther
* ndr: move null_ndr_syntax_id to the common libndr location.Günther Deschner2011-02-081-3/+0
| | | | Guenther
* ndr: merge duplicate ndr_map_error2ntstatus() functions.Günther Deschner2011-02-081-25/+0
| | | | Guenther
* Fix a couple of missing checks on talloc returns.Jeremy Allison2011-02-021-0/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 2 22:23:46 CET 2011 on sn-devel-104
* s3-waf: no need to call pidl with --samba3-ndr-client anymore.Günther Deschner2011-02-021-2/+7
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 21:38:23 CET 2011 on sn-devel-104
* s3-epmap: use correct dcerpc client header in dcerpc_ep.cGünther Deschner2011-02-021-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 19:50:02 CET 2011 on sn-devel-104
* s3-librpc: Added dcerpc_binding_vector_create function.Andreas Schneider2011-02-022-16/+107
|
* s3-librpc: Added dcerpc register endpoint functions.Andreas Schneider2011-02-022-0/+231
|
* idl: add file_id idl.Günther Deschner2011-01-253-40/+3
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
* s3-libndr: remove cmdline_lp_ctx.Günther Deschner2011-01-251-2/+0
| | | | Guenther
* libndr: move ndr_print_bool to ndr_basic.cGünther Deschner2011-01-251-5/+0
| | | | Guenther
* s3:librpc: remove prototype of dcerpc_binding_handle_set_ref_alloc()Stefan Metzmacher2011-01-211-3/+0
| | | | | | This function doesn't exist anymore. metze
* s3-printing: Initiate pcap reload from parent smbdDavid Disseldorp2011-01-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 7022554, smbds share a printcap cache (printer_list.tdb), therefore ordering of events between smbd processes is important when updating printcap cache information. Consider the following two process example: 1) smbd1 receives HUP or printcap cache time expiry 2) smbd1 checks whether pcap needs refresh, it does 3) smbd1 marks pcap as refreshed 4) smbd1 forks child1 to obtain cups printer info 5) smbd2 receives HUP or printcap cache time expiry 6) smbd2 checks whether pcap needs refresh, it does not (due to step 3) 7) smbd2 reloads printer shares prior to child1 completion (stale pcap) 8) child1 completion, pcap cache (printer_list.tdb) is updated by smbd1 9) smbd1 reloads printer shares based on new pcap information In this case both smbd1 and smbd2 are reliant on the pcap update performed on child1 completion. The prior commit "reload shares after pcap cache fill" ensures that smbd1 only reloads printer shares following pcap update, however smbd2 continues to present shares based on stale pcap data. This commit addresses the above problem by driving pcap cache and printer share updates from the parent smbd process. 1) smbd0 (parent) receives a HUP or printcap cache time expiry 2) smbd0 forks child0 to obtain cups printer info 3) child0 completion, pcap cache (printer_list.tdb) is updated by smbd0 4) smbd0 reloads printer shares 5) smbd0 notifies child smbds of pcap update via message_send_all() 6) child smbds read fresh pcap data and reload printer shares This architecture has the additional advantage that only a single process (the parent smbd) requests printer information from the printcap backend. Use time_mono in housekeeping functions As suggested by Björn Jacke.
* s3:build: don't use cli_wbint.c any moreStefan Metzmacher2011-01-041-5/+0
| | | | metze
* s3:librpc: use netsec_outgoing_sig_size() instead of a hardcoded signatureStefan Metzmacher2011-01-031-1/+4
| | | | | | size metze
* s3: Fix bug 7842: WINBIND_LOOKUPRIDS does not return the proper domain nameVolker Lendecke2010-12-061-0/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 6 21:18:07 CET 2010 on sn-devel-104
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-8/+8
|
* s3-libndr: handle NDR_ERR_IPV6ADDRESS case in ndr_errstr().Günther Deschner2010-10-051-0/+3
| | | | Guenther
* s3: Add "smbcontrol winbindd ip-dropped <local-ip>"Volker Lendecke2010-09-301-0/+1
| | | | | | | | This is supposed to improve the winbind reconnect time after an ip address has been moved away from a box. Any kind of HA scenario will benefit from this, because winbindd does not have to wait for the TCP timeout to kick in when a local IP address has been dropped and DC replies are not received anymore.
* s3-waf: add NDR_PERFCOUNT subsystem.Günther Deschner2010-09-281-0/+5
| | | | Guenther
* s3-waf: convert LIBNET et al into subsystems.Günther Deschner2010-09-241-0/+5
| | | | Guenther