Does Samba4 Alpha6 support IPV6?

David Holder david.holder at erion.co.uk
Thu Apr 2 18:35:12 GMT 2009


Peixing,

Hi! The old patch can be found here
http://www.ipv6consultancy.com/ipv6blog/?p=34.

I just quickly updated it for Samba4-alpha7 (see attached). It seems to
work ;-).

This is really a rough hack. All it does it make the Samba4 server
listen on IPv4 and IPv6. Configuration options and command line options
will only accept IPv4 addresses. For example, if you want to use
smbclient with IPv6 addresses then use the Samba 3.2 or Samba 3.3
version of smbclient which is IPv6 enabled.

Samba 4 isn't too far off being IPv6 enabled. The libraries are there
(from Samba 3) and most of the code would be trivial to change.

I would be very interested to know how you get on. Let me know if you
have any questions.

Regards,
David
------------------------------------------------------------------------
Dr David Holder CEng FIET MIEEE

Erion Ltd, Oakleigh, Upper Sutherland Road, Halifax, HX3 8NT

Reception: +44 (0)1422 207000

Direct Dial: +44 (0)131 2026317

Cell: +44 (0) 7768 456831

Registered in England and Wales. Registered Number 3521142
VAT Number: GB 698 3633 78




Sun_Peixing at emc.com wrote:
>
> David:
>
>  
>
> Could you tell me where to download the patch?   I hope the patch is
> free and reliable
>
>  
>
> Thanks
>
>  
>
> Peixing
>
>  
>
> ------------------------------------------------------------------------
>
> *From:* David Holder [mailto:david.holder at erion.co.uk]
> *Sent:* Thursday, April 02, 2009 12:06 PM
> *To:* Sun, Peixing
> *Cc:* samba-technical at lists.samba.org
> *Subject:* Re: Does Samba4 Alpha6 support IPV6?
>
>  
>
> Peixing Sun,
>
> Samba 4 alpha 6 does not support IPv6. In order to get it working you
> need to patch it.
>
> Regards,
> David
>
> ------------------------------------------------------------------------
> /Dr David Holder /CEng FIET MIEEE
>
> /Erion Ltd, Oakleigh, Upper Sutherland Road, Halifax, HX3 8NT/
>
> /Reception: +44 (0)1422 207000/
>
> /Direct Dial: +44 (0)131 2026317/
>
> /Cell: +44 (0) 7768 456831 /
>
> Registered in England and Wales. Registered Number 3521142
> VAT Number: GB 698 3633 78
>
>  
>
>
>
> Sun_Peixing at emc.com wrote:
>
> Hi All:
>  
>  
>  
> I downloaded and installed Samba4 Alpha6 on my IPV6 compatible Linux
> client. 
>  
> I tried to use smbclient to connect a share using IPV4 IP, it works.
>  
> I tried to use smbclient to connect another share using IPV6 IP, it
> failed with BAD_NETWORK_NAME error.
>  
>  
>  
> I searched on Google for "Samba4" and IPV6,  I think Samba4 doesn't
> support IPV6.
>  
> Could anybody confirm this for me?
>  
>  
>  
> Thanks
>  
>  
>  
> Peixing Sun
>  
>  
>  
>  
>  
> root at rtptcs44026 kumar]# ./smbclient //18.28.46.26/svr2sh1
> -Uqahex8.ddd.xxx.com/administrator%QA.nasadmin
>  
> smb: \> quit
>  
>  
>  
> [root at rtptcs44026 kumar]# ./smbclient
> //2620:0:170:446:0:bad:beef:2/svr2sh1
> -Uqahex8.ddd.xxx.com/administrator%QA.nasadmin
>  
> Connection to \\2620:0:170:446:0:bad:beef:2\svr2sh1
> <file:///\\2620:0:170:446:0:bad:beef:2\svr2sh1>  failed -
> NT_STATUS_BAD_NETWORK_NAME
>  
>  
>  
>  
>  
>  
>  
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba4-a7.patch
Type: text/x-patch
Size: 13616 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090402/c0e56329/samba4-a7.bin


More information about the samba-technical mailing list