Bug 12738 - When connecting to itself, Samba should be IPv6 clean
When connecting to itself, Samba should be IPv6 clean
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: DCE-RPCs and pipes
4.6.2
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-04-10 07:20 UTC by Alexander Bokovoy
Modified: 2017-06-21 14:59 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bokovoy 2017-04-10 07:20:07 UTC
There are still areas where internal DCE-RPC connection implies presence of IPv4 stack and addresses. This wouldn't work in pure IPv6 configuration.

source3/librpc/rpc/dcerpc_ep.c:         rc = tsocket_address_inet_from_strings(tmp_ctx,
source3/librpc/rpc/dcerpc_ep.c-                                                "ip",
source3/librpc/rpc/dcerpc_ep.c-                                                "127.0.0.1",
--
source3/rpc_client/cli_winreg_int.c:    rc = tsocket_address_inet_from_strings(mem_ctx,
source3/rpc_client/cli_winreg_int.c-                                           "ip",
source3/rpc_client/cli_winreg_int.c-                                           "127.0.0.1",
--
source3/rpc_server/netlogon/srv_netlog_nt.c:    rc = tsocket_address_inet_from_strings(mem_ctx,
source3/rpc_server/netlogon/srv_netlog_nt.c-                                           "ip",
source3/rpc_server/netlogon/srv_netlog_nt.c-                                           "127.0.0.1",
--
source3/rpc_server/netlogon/srv_netlog_nt.c:    rc = tsocket_address_inet_from_strings(mem_ctx,
source3/rpc_server/netlogon/srv_netlog_nt.c-                                           "ip",
source3/rpc_server/netlogon/srv_netlog_nt.c-                                           "127.0.0.1",
--
source3/rpc_server/rpc_ncacn_np.c:              rc = tsocket_address_inet_from_strings(mem_ctx,
source3/rpc_server/rpc_ncacn_np.c-                                                     "ip",
source3/rpc_server/rpc_ncacn_np.c-                                                     "127.0.0.1",
--
source3/rpc_server/spoolss/srv_spoolss_util.c:  rc = tsocket_address_inet_from_strings(mem_ctx,
source3/rpc_server/spoolss/srv_spoolss_util.c-                                         "ip",
source3/rpc_server/spoolss/srv_spoolss_util.c-                                         "127.0.0.1",
--
source3/winbindd/winbindd_pam.c:        rc = tsocket_address_inet_from_strings(frame,
source3/winbindd/winbindd_pam.c-                                               "ip",
source3/winbindd/winbindd_pam.c-                                               "127.0.0.1",
--