1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4
Stefan Metzmacher dfee057447 s4:librpc/rpc: avoid using dcerpc_unix_socket_path()
We use information stored in the dcerpc_binding in order
to open a secondary connection.

The goals are:
- dcerpc_secondary_connection_* should just use the dcerpc_binding
  information for the first connection and just call dcerpc_pipe_connect_*
- Get rid of dcerpc_pipe->transport.* and just use a tstream_context.
  All other details should be maintained only by the higher levels.
- Hide dcerpc_pipe and dcecli_connection behind dcerpc_binding_handle.
- Have just one entry point to create a new connection. For source4/librpc
  this will be dcerpc_pipe_connect_*. For source3/rpc_client we need
  a similar function.
- We'll have a new dcerpc_connection layer, with also just one
  entry point to create a new connection.
- Replace dcerpc_pipe and dcecli_connection with the new dcerpc_connection layer.
- Replace rpc_pipe_client with the new dcerpc_connection layer.
- When the client side is unified we can change the server
  as it needs to act as a client in order to register the endpoint mappings.
- Then the core of the server will be changed to use the new dcerpc_connection
  layer.

As dcerpc_unix_socket_path() uses p->transport.private_data
as 'struct sock_private', we should avoid it.
We can then remove dcerpc_unix_socket_path() and 'struct sock_private'.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2014-05-26 03:31:27 +02:00
..
auth auth: Allow auth_samba4 to be forced to run a specific auth module 2014-05-16 10:23:26 +02:00
build/pasn1
cldap_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
client s4:client: fix some compiler warnings 2014-02-13 11:54:13 +01:00
cluster s4:cluster: use DBWRAP_LOCK_ODER_NONE for local_db_tmp_open() 2014-02-07 16:06:07 +01:00
dns_server bug #10609: CVE-2014-0239 Don't reply to replies 2014-05-20 04:15:44 +02:00
dsdb dsdb: Do not permit nested event loops when in a transaction, use a nested event context 2014-05-06 13:36:20 +02:00
echo_server s4:echo_server fix compiler warnings 2013-12-12 14:21:28 -08:00
heimdal heimdal: Only indicate successful authentication after successful authz 2014-04-02 17:12:47 +02:00
heimdal_build Remove special nss_wrapper code 2014-04-17 14:56:06 +02:00
include Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls. 2012-06-28 17:15:16 -07:00
kdc kerberos: Remove un-used event context argument from smb_krb5_init_context() 2014-04-28 02:24:57 +02:00
ldap_server s4:ldap_server: make use of gensec_update_ev() 2014-03-27 00:36:31 +01:00
lib s4:imessaging: Remove event context from irpc and imessaging structures 2014-05-13 02:33:24 +02:00
libcli selftest: Rename WINBINDD_SOCKET_DIR environment variable. 2014-04-17 14:56:06 +02:00
libnet Fix an empty if statement. 2014-05-05 20:19:13 +02:00
librpc s4:librpc/rpc: avoid using dcerpc_unix_socket_path() 2014-05-26 03:31:27 +02:00
nbt_server s4:nbt_server/wins: make use explicit use of the top level event context 2014-05-13 00:08:12 +02:00
ntp_signd build: Build with system md5.h on OpenIndiana 2013-06-19 21:32:36 +02:00
ntptr spoolss: make spoolss deal with ndr64 SetForm by using proper container object. 2013-01-17 17:11:37 +01:00
ntvfs s4-ntfs: Improve uid check in wrapper mode. 2014-04-17 14:56:05 +02:00
param s4:param/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:45 +02:00
rpc_server s4:rpc_server/netlogon: explicitly use dcerpc_binding_handle_set_sync_ev() for irpc 2014-05-13 00:08:12 +02:00
script lib/param: generate the param_functions.h containing the prototypes 2014-02-12 13:17:13 +13:00
scripting s4:samba_kcc: Use 'dburl' passed from command line rather than lp.samdb_url() 2014-04-22 23:34:15 +02:00
selftest selftest: Test auth_wbc, the auth4 winbind and winbind_wbclient modules using pdbtest 2014-05-16 12:50:44 +02:00
setup selftest: make blackbox_setpassword.sh test run independently 2014-04-02 17:12:45 +02:00
smb_server s4:smb_server/smb: fix invalid pointer type warnings in negprot.c 2014-04-02 09:03:44 +02:00
smbd s4:service_task: explicitly use dcerpc_binding_handle_set_sync_ev() for irpc 2014-05-13 00:08:12 +02:00
torture torture/smb2/dir: check create time match find 2014-05-23 22:42:24 +02:00
utils Typo: s/preceeded/preceded/ 2014-04-14 03:51:15 +02:00
web_server s4:lib/socket: simplify iface_list_wildcard() and its callers 2014-03-07 02:18:17 +01:00
winbind winbind: Allow winbindd to be run from inside "samba" 2014-04-29 05:28:39 +02:00
wrepl_server Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
.clang_complete s3-build: Add .clang_complete. 2011-10-27 17:09:50 +02:00
.valgrind_suppressions
wscript_build Do not install smbclient4 and nmblookup4 2014-04-15 03:25:13 +02:00