A description of how the Samba application was IPv6-enabled is given on slides 29-35.

Preparing Samba for Windows Server 2008 and IPv6, from Erion, Ltd.

For more recent presentations and additional information on using SAMBA and the Common Internet File System (CIFS) with IPv6, please visit this blog.