Erion Ltd - IPv6 Training




Archive for the ‘Samba’ Category

SambaXP 2011 and IPv6

Sunday, May 29th, 2011

At this year’s SambaXP, Erion’s David Holder gave a comprehensive presentation on how to deploy Samba in IPv6 networks. The presentation, Deploying Samba in IPv6 Networks, covered how to configure IPv6 in a network consisting of Samba Unix/Linux servers and Windows clients/servers all running IPv6.

The presentation highlights the key differences between IPv6 and IPv4 that must be considered when deploying Windows networking using Samba. These include the correct configuration of the right kinds of IPv6 addresses, the configuraton of StateLess Address AutoConfiguration (SLAAC), the optional configuration of DHCPv6, the configuration of IPv6 enabled DNS and finally the configuration and operation of IPv6 enabled Samba.

Erion has a long history of working with Unix/Linux and Windows integration and in particular with the Samba Team on IPv6 enabling Samba. Further information can be found on our blog under Samba.

Erion is the world’s leading provider of IPv6 training. We have the largest portfolio of IPv6 training courses, suitable for all audiences, covering all aspects of IPv6 on all major operating systems and platforms. In addition to our public IPv6 training schedule, we also provide IPv6 training as on-site courses and we provide Erion Modular IPv6 Training which allows for a bespoke training programme to be created based on our hundreds of IPv6 training modules.For further information please contact us on +44 (0)1422 207000, enquiry@erion.co.uk or through our web-site contact form.

Copyright Erion Ltd 2011, all rights reserved. Permission to publish this article unchanged is hereby given.

Samba4 Release will be IPv6 Enabled

Tuesday, November 16th, 2010

At this year’s Storage Developers Conference in Santa Clara, Erion’s David Holder gave a presentation on IPv6 and SMB.

One question that was raised was that of whether Samba4 will include IPv6 support when it is released. Jeremy Allison was able to confirm that IPv6 was a blocking feature and that Samba4 would not be released without Ipv6 support. He went onto explain that at SambaXP the Samba Team had agreed that Samba4 would not be released without support for any of the major features already found in Samba3. Since IPv6 is a standard feature of Samba3 since version 3.2 Samba4 must support IPv6.

Erion has a long history of working towards IPv6 enabling Samba and was involved in IPv6 enabling the Linux CIFS client and Samba3. Erion carried out the first IPv6 Samba join to Windows Server 2008  and the first ever IPv6 Linux CIFS mount to Windows Server 2008 in 2008.

Copyright Erion Ltd 2010.

Erion’s David Holder Speaks on IPv6 at 2010 Storage Developers Conference

Sunday, September 5th, 2010

David Holder is to speak at this year’s Storage Developer Conference in Santa Clara. Erion has a long history of working to IPv6 enable networked storage solutions and in particular the Open Source Samba implementation of the CIFS/SMB protocols. This year, Dr Holder plans to give a presentation on how to IPv6 enabled storage applications. The full abstract is below.

IPv6 Enabling CIFS/SMB Applications

Today IPv6 is no longer the protocol of the future, it is being extensively deployed in production networks. The central pool of IPv4 addresses will be exhausted in 2010 to 2011. As a result, Governments and organisations world-wide have been mandating its use for a number of years. As a CIFS/SMB developer, the time has come where you can no longer ignore IPv6.

IPv6 is the default protocol in all major operating systems, including Windows Server 2008 and Windows 7. CIFS and Active Directory have had support for IPv6 for a number of years.

This paper will address the key issues facing CIFS/SMB developers when migrating their applications to IPv6. It will provide a review of the status of IPv6 in Samba and Windows and describe how CIFS/SMB applications should be migrated to IPv6. This presentation will also include a brief IPv6 API and porting tutorial presenting the key things that developers need to know about IPv6 and the IPv6 socket API in order to effectively use IPv6 in their applications.

Dr David Holder is closely involved in the migration of Samba to IPv6. He has worked with IPv6 for well over a decade and is a regular speaker at global IPv6 conferences.

IPv6 at SambaXP 2010

Tuesday, March 9th, 2010

Erion’s David Holder is to speak at this year’s SambaXP conference in Göttingen, Germany. The paper entitled “How to Implement Samba in IPv6 Windows Server 2008 and Windows 7 Networks” will provided detailed guidance on migrating heterogeneous networks to IPv6 using Samba. Details of the Samba XP agenda can be found at http://www.sambaxp.org/index.php?id=154.

Erion has been instrumental in the IPv6 enabling of the popular Windows and Unix integration open source package Samba. We were the first to successfully IPv6 enable the Linux CIFS client, Samba 3.2 and Samba4. In addition, we carried out the first IPv6 SMB connections between Samba and Windows Server 2008. Further information on Erion’s work with Samba and IPv6 can be found on our IPv6 blog at http://www.ipv6consultancy.com/ipv6blog/?cat=4.

SambaXP runs from 5th  May to 6th May 2010.

IPv6 Samba 3.2 Released Today

Tuesday, July 1st, 2008

Samba 3.2 was released today (1st July 2008). Samba 3.2 is the first production version of the popular open source Windows integration product to fully support IPv6.

Erion was instrumental in the development of an IPv6 enabled version of Samba. Erion’s David Holder carried out a number of firsts with the development version of Samba 3.2, including the first ever join of Samba to a Windows Server 2008 Active Directory domain over IPv6.

Further information on Erion’s involvement with Samba and IPv6 can be found in the these blog posts.

SambaXP 2008 and IPv6

Monday, April 21st, 2008

At lot can happen in a year. This is certainly true of IPv6 and Samba. In this article, I summarise the progress made in IPv6 enabling Samba and review the current status of Samba and IPv6 support. Further details can be found in my presentation Configuring Samba 3/4 for IPv6 Operation with Windows Server 2008 and Windows Vista.

Last year in my presentation at SambaXP 2007 (see SambaXP IPv6 Presentation) I showed how important it was that Samba catch up with Microsoft Windows in supporting IPv6. Microsoft’s latest operating systems, Windows Vista and Windows Server 2008 (then codenamed Longhorn) are IPv6 enabled by default. The increasing drive to implement IPv6 in various parts of the world meant that Samba risked being kept out of, or dropped from, environments where IPv6 is required.

Since then a lot has changed. Here are some highlights from the last twelve months:

Erion is proud to have carried out each of these firsts and being involved with Jermey Allison in IPv6 enabling Samba 3.2.

Linux CIFS Client

The Linux CIFS client has full support for IPv6 in the Linux kernel. This kernel is now widely available in the latest releases of many Linux distributions. At present, the mount command mount.cifs does not support IPv6 name resolution and the IPv6 address must be specified using a mount option. However, my patch to mount.cifs enables IPv6 name resolution. During Samba XP, I worked with Steve French and Jelmer Vernooij to improve support for IPv6 in mount.cifs. Friday evening found Jelmer still working on rewriting mount.cifs to include IPv6 support.

Samba 3.2

As Samba 3.2 nears a production release, it has been fully IPv6 enabled. This was a result of my presentation at CIFS Engineering Workshop held at Google last year. Erion has carried out the IPv6 testing for Samba 3.2. This has gone well and very few bugs have been found. During SambaXP Jeremy Allison put in time to investigate and resolve IPv6 bugs in Samba 3.2. Further information on IPv6 enabling Samba 3.2 can be found in our presentations from the Google IPv6 Conference earlier this year.

Samba 4

Support for IPv6 in Samba 4 still relies on my hack (a new version of which can be found here). The interest in IPv6 shown by the Samba team is illustrated by the time I spent with Andrew Tridgell. Andrew was very keen to incorporate my patch into the standard build of Samba 4. This would mean that, where possible, Samba 4 would build with IPv6 support as standard. The work was not completed by the end of SambaXP, but I will be chasing Andrew to complete it over the next few weeks.

In conclusion, SambaXP 2008 was a very positive event for IPv6 support in Samba. Much work still has to be done, but in the very near future there will be a solution for those who wish to upgrade Samba 3.0 to Samba 3.2 in order to get IPv6 support. So far most of the IPv6 testing of Samba has been undertaken by Erion. I would be very interested to hear of anyone else who is testing or even using Samba over IPv6 in live environments. During the conference Jelmer migrated his use of the Linux CIFS client in his home network to operate over IPv6! Now for the rest of the world…

Linux CIFS Client IPv6 Name Resolution Patch

Tuesday, April 8th, 2008

The Linux CIFS client has had kernel support for IPv6 since early 2007. Up until now it has been necessary to specify an IPv6 address with the ip option. IPv6 name resolution was not supported.  A new patch from Erion’s David Holder provides IPv6 name resolution in the mount.cifs command.

The mount.cifs patch can be found at IPv6 Name Resolution Patch for Linux CIFS Client.  

Samba 3.2.0pre2 is IPv6 Enabled

Thursday, March 6th, 2008

The Samba team have released a new preview version of Samba 3.2. This version includes the changes that Jeremy Allision made to enable IPv6 support in Samba 3.2.

At last year CIFS workshop at Google, Erion’s David Holder gave a presentation on how to IPv6 enable Samba. As a result Jeremy took up the challenge to IPv6 enable Samba 3.2 in “three weeks”. Jeremy succeeded.

Erion’s testing of the IPv6 enabled version of Samba 3.2 produced very good results. A few minor changes were required in order to allow Samba 3.2 to join a Windows Server 2008 domain. Finally, in January 2008, Erion’s David Holder made the first ever IPv6 join to a Windows Server 2008 AD domain using Samba 3.2.

Google IPv6 Conference 2008 on Youtube

Thursday, March 6th, 2008

The presentation on IPv6 in Windows given by Erion’s David Holder at Google’s IPv6 conference is now available for viewing on YouTube. This talk covers the status of IPv6 on Windows and some key things that you need to know if you are working with IPv6 on Windows Vista or Windows Server 2008.

You can view the talk at by clicking here.

IPv6 Samba 3.2 Join to Windows Server 2008 Domain

Wednesday, January 30th, 2008

Yesterday I carried out the first every join of a Samba 3.2 server to a Windows domain over IPv6.

At last year’s CIFS workshop at Google, I spoke about IPv6 enabling Samba (see Preparing Samba for Windows Server 2008 and IPv6). I pointed out that IPv6 enabling Samba would be a critical requirement in 2008. Two key factors make IPv6 enabling Samba by 2008 critical. The first is the mandate by the US Federal government for the use of IPv6 by 2008. The second is the imminent release of Windows Server 2008 which uses IPv6 by default.

Jeremy Allison claimed that he could IPv6 enable Samba 3.2 “in a few weeks”. I was sceptical but Jeremy set out and did indeed IPv6 enable Samba 3.2 in a matter of weeks. Since then I have been testing Samba 3.2 against Vista and Windows Server 2008. Amazingly, only a small number of bugs have been found so far. Of these few were actually IPv6 bugs.

Until a few days ago it was not possible to join Samba 3.2 to a Windows Server 2008 domain over IPv4 never mind IPv6. However, the Samba team (Jeremy, Andreas and Gerry) made a number of patches which eventually made it possible to join over IPv4. All that remained was to test it over IPv6. Once I had tested a join over IPv4 my first test over IPv6 was also successful. This is a major milestone for Samba. It will make it possible for organisations that have to move to IPv6 to continue to use Samba in their networks. It will also allow NAS box vendors to IPv6 enable their products.

Naturally, further testing is required. Furthermore, Samba 3.2 is still to be released for production use. However, I am now confident that an IPv6 enabled Samba will be available early this year. For those who need to test Samba over IPv6 you can begin testing now using the test tree of Samba 3.2. Please let me know if you have any questions.