svn commit: samba r9704 - in branches/SAMBA_4_0: . source/lib/socket

tridge at tridge at
Sun Aug 28 22:06:13 GMT 2005


 > > Log: r9684 at blu: tridge | 2005-08-27 19:38:31 +1000 don't try to
 > > call the name resolver on non-ipv4 names!
 > >
 > Any specific reason for not including ipv6?

yep, our name resolver doesn't handle ipv6 yet. The libcli/resolve/
code assumes ipv4 in two ways:

 - the 'host' resolver uses interpret_addr2(), which uses
   interpret_addr(), which assumes a 4 byte address

 - the wins and bcast resolvers use NBT, which assumes IPv4 (in theory
   NBT could do longer addresses I guess. I wonder if that works?)

So if libcli/resolve/ is extended to handle ipv6 then we could allow
the connect code to use it for both v4 and v6.

Cheers, Tridge

More information about the samba-technical mailing list