Bug 13507 - epmapper: Add IPv6 support
Summary: epmapper: Add IPv6 support
Status: RESOLVED INVALID
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.8.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-05 16:40 UTC by Andreas Schneider
Modified: 2018-08-07 18:49 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2018-07-05 16:40:07 UTC
Currently in source3/rpc_server we try to register the IPv6 endpoint but it gets added as 0.0.0.0.

See librpc/rpc/binding.c -> dcerpc_floor_set_rhs_data -> case EPM_PROTOCOL_IP

1143         if (!is_ipaddress_v4(data)) {
1144             data = "0.0.0.0";
1145         }
Comment 1 Andreas Schneider 2018-08-07 18:49:40 UTC
Well, IPv6 addresses are reported as 0.0.0.0 as the reference implementation is from 1993 and there was no IPv6 ...