Adding IPv6 support to Samba

Nathan Lutchansky lutchann at
Mon Apr 15 15:18:02 GMT 2002

On Tue, Apr 16, 2002 at 07:56:23AM +1000, Andrew Bartlett wrote:
> Nathan Lutchansky wrote:
> > 
> > Has anybody thought about or attempted to do this?  Although IPv4
> > addressing is deeply embedded in NBT, SMB has no IPv4 dependencies at all,
> > so it is straightforward to run direct-hosted SMB (port 445) over IPv6.
> > 
> > Is this a feature anybody else would like to have?  Do the core developers
> > have any feelings on this?  -Nathan
> The main issue is that whatever you must do *must* compile and function
> on all of Samba's supported platforms.  Take a look at how OpenSSH did
> it - I think they have the same problem.

Of course.  I did the IPv6 support for INN last month; I've already been
through the pain.  Mostly it involves a whole lot of checks
to handle IPv6 APIs of various vintages - and all of it is wrapped in
#ifdefs which are only enabled with --enable-ipv6 during compile.

> Other than that - it would be handy if Samba were already 'up to speed'
> when MS finally jumps on board.

And hopefully, our implementation will be compatible with theirs, although
I can't imagine how they could create an imcompatible SMB-over-TCP/IPv6.  

| Nathan Lutchansky | lutchann at |  Lithium Technologies  |
|  I dread success.  To have succeeded is to have finished one's   |
|  business on earth...  I like a state of continual becoming,     |
|  with a goal in front and not behind. - George Bernard Shaw      |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url :

More information about the samba-technical mailing list