Samba and Vista with IPv6



Similar documents
IPv6 Enabling CIFS/SMB Applications

Deploying Samba in IPv6 Networks

Deploying IPv6-only Samba 4 Environments

Univention Corporate Server. Operation of a Samba domain based on Windows NT domain services

IPv6 Network Security.

CONFIGURING ACTIVE DIRECTORY IN LIFELINE

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Updates to Understanding IPv6

IPv6 in Axis Video Products

Personal Firewall Default Rules and Components

Joe Davies. Principal Writer Windows Server Information Experience. Presented at: Seattle Windows Networking User Group June 1, 2011

Integrating Red Hat Enterprise Linux 6 with Microsoft Active Directory Presentation

SerNet. Samba Status Update. Linuxkongress Hamburg October 10, Volker Lendecke SerNet Samba Team. Network Service in a Service Network

IPv6 for SMB s: Easy or Hard?

Linux Administrator (Advance)

Linux Networking: network services

Samba on HP StorageWorks Enterprise File Services (EFS) Clustered File System Software

Samba as an Active Directory Domain Controller

Exam : Installing and Configuring Windows Server 2012

PCI DSS Requirement Vulnerable Hosts Based on Open Ports Report

Basic IPv6 WAN and LAN Configuration

IPv6 Fundamentals: A Straightforward Approach

MOC 6435A Designing a Windows Server 2008 Network Infrastructure

Windows 7 Resource Kit

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

Installing Kaspersky Security Center 10.0 on Microsoft Windows Server 2012 Core Mode

About the Technical Reviewers

Getting started with IPv6 on Linux

Windows Services. Support Windows and mixed-platform workgroups with high-performance, affordable network services. Features

Volume SYNAMETRICS TECHNOLOGIES. A Division of IndusSoft Technologies, Inc. DeltaCopy User s Guide

Exam : Title : TS: Windows Server 2008 Network Infrastructure, Configuring Ver :

Step-by-Step Guide for Setting Up IPv6 in a Test Lab

SMB a protocol example

Industry Automation White Paper Januar 2013 IPv6 in automation technology

DirectAccess in Windows 7 and Windows Server 2008 R2. Aydin Aslaner Senior Support Escalation Engineer Microsoft MEA Networking Team

Name Service in IPv6 Mobile Ad-hoc Network

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Step By Step Guide: Demonstrate DirectAccess in a Test Lab

Advanced IPv6 Design and Deployment for

OpenVMS Update & OpenVMS Common Internet File System based on SAMBA

Samba. Samba. Samba 2.2.x. Limitations of Samba 2.2.x 1. Interoperating with Windows. Implements Microsoft s SMB protocol

Using Samba to play nice with Windows. Bill Moran Potential Technologies

Monitoring of Tunneled IPv6 Traffic Using Packet Decapsulation and IPFIX

Chapter 12 Supporting Network Address Translation (NAT)

Networking Best Practices Guide. Version 6.5

1 hours, 30 minutes, 38 seconds Heavy scan. All scanned network resources. Copyright 2001, FTP access obtained

Immotec Systems, Inc. SQL Server 2005 Installation Document

Detecting rogue systems

IPv6 Trace Analysis using Wireshark Nalini Elkins, CEO Inside Products, Inc.

Customer Tips. Basic Configuration and Troubleshooting. for the user. Overview. Basic Configuration. Xerox Multifunction Devices.

Planning and Maintaining a Microsoft Windows Server Network Infrastructure

Network Defense Tools

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

Network System Management. Creating an Active Directory Domain

New DNS Technologies in the LAN

Intel Entry Storage System SS4200-E Active Directory Implementation and Troubleshooting

IPSEC for Windows Packet Filtering

IPv6 Infrastructure Security

IMF Tune Quarantine & Reporting Running SQL behind a Firewall. WinDeveloper Software Ltd.

SerNet. Samba Status Update. Munich 13. March Volker Lendecke SerNet Samba Team. Network Service in a Service Network

Designing a Windows Server 2008 Network Infrastructure

Telematics. 9th Tutorial - IP Model, IPv6, Routing

Securing the Transition Mechanisms

Module 1: Overview of Network Infrastructure Design This module describes the key components of network infrastructure design.

Common Internet File System

Basic Network Configuration

Samba File Sharing 1 of 17. File Sharing. Hal Miller & Leeland Artra. Notes:

IPv6.marceln.org.

Introduction. Assessment Test

Pre Sales Communications

ITL BULLETIN FOR JANUARY 2011

Configuring Windows Server 2008 Network Infrastructure

Vicenza.linux.it\LinuxCafe 1

IPv6 Fundamentals, Design, and Deployment

CSE 265: System and Network Administration

Windows Server Firewall Configuration

Recent advances in IPv6 insecurities Marc van Hauser Heuse Deepsec 2010, Vienna Marc Heuse

R4: Configuring Windows Server 2008 Network Infrastructure

User s Guide [Network Administrator]

1. Introduction to DirectAccess. 2. Technical Introduction. 3. Technical Details within Demo. 4. Summary

Using Single Sign-on with Samba. Appendices. Glossary. Using Single Sign-on with Samba. SonicOS Enhanced

MULTIFUNCTIONAL DIGITAL SYSTEMS. TopAccess Guide

IPv6 Addressing. Awareness Objective. IPv6 Address Format & Basic Rules. Understanding the IPv6 Address Components

Introduction to IP v6

Implementing DHCPv6 on an IPv6 network

Microsoft Windows Server 2008: MS-6435 Designing Network and Applications Infrastructure MCITP 6435

Networking. Systems Design and. Development. CRC Press. Taylor & Francis Croup. Boca Raton London New York. CRC Press is an imprint of the

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Transcription:

Samba and Vista with IPv6 Dr David Holder CEng MIET MIEEE david.holder@erion.co.uk - All rights reserved

Quick Poll Who is using IPv6? Who is using IPv6 in a production environment? Who wants to use IPv6 in Windows networks?

Quick Comparison IPv4 vs IPv6 Address space IPv4 Scarce IPv6 Huge End to end connectivity No (NAT) Yes Stateless auto-configuration No Yes IPSec standard No Yes IP mobility Impractical Yes Network renumbering Difficult Easy Peer to peer applications Difficult Easy

Motivations to Implement IPv6 Political Government mandate Services IP mobility Peer to peer VoIP Organisational IPv6 DoD Federal Government Microsoft Geographical Address allocation Internet growth Technical Business Case Peer to peer Mobility Security QoS Market opportunities Cost reduction

History of Windows and IPv6 Fully Integrated IPv6 Functionality Fully Integrated IPv6 Stack and Services Vista IPv6 CIFS Works! Developer Preview & Components Production Stack & Components Advanced Networking Pack + Firewall Teredo Peer to Peer SP1 Production Stack & Components SP1 Production Stack + Firewall Teredo and Peer to Peer SP2 Production Stack + Firewall Teredo and Peer to Peer Windows 2003 Windows XP Microsoft Research Stack Technology Preview Windows 2000 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008

IPv6 and Vista and Longhorn Vista & Longhorn will introduce IPv6 into many networks IPv6 by stealth Organisation implements Longhorn and/or Vista and uses IPv6 by default Transition mechanisms enable IPv6 on IPv4 only networks IPv6 by design Organisation implements Longhorn and/or Vista as a part of strategic plan to move to IPv6

Configuring IPv6 on Vista Enabled by default Preferred protocol Configured automatically Attempts to work even in IPv4 only networks Teredo ISATAP Fully integrated into GUI

IPv6 Addresses and Vista Interfaces have many IPv6 Addresses Be aware of this when working with Samba Globally routable prefix Interface addresses Not EUI-64 by default Randomly generated Randomly generated client interface address Link-local

NetBIOS NBT and IPv6 NetBIOS does not work over IPv6 Raw SMB over IPv6 works Port Protocol Description 137 UDP NBT Name Service 137 TCP NBT Name Service 138 UDP Datagram service 138 TCP Unused 139 UDP Unused 139 TCP Session Service 445 TCP Raw SMB over TCP/IP Will never work with IPv6 Will work with IPv6

Name Resolution for IPv6 CIFS NetBIOS name resolution is IPv4 only IPv4 Only Link-local Multicast Name Resolution (LLMNR) IPv4 and IPv6 DNS IPv4 and IPv6

Link-local Multicast Name Resolution (LLMNR) Performs name resolution without DNS Essentially DNS over multicast Works for IPv4 and IPv6 hosts Uses multicast addresses IPv6 FF02::1:3 IPv4 224.0.0.252

Linux/Unix and IPv6 Current versions of Linux, BSD and Unix support IPv6 Usually enabled by default Majority of applications support IPv6

Samba 3 and IPv6 nmbd NetBIOS name resolution IPv4 only WINS IPv4 only NetBIOS also IPv4 only smbd SMB protocol is network layer independent Requires name resolution Can be provided by any IPv6 aware mechanism (DNS) Problem stock smbd not IPv6 enabled

smbd over IPv6 using xinetd 1. Run smbd from IPv6 enabled internet service daemon 2. Create /etc/xinetd.d/smb # Samba smb service service microsoft-ds { flags socket_type wait user server log_on_failure disable } 3. Start xinetd = REUSE IPV6 = stream = no = root = /usr/sbin/smbd += USERID = no port 445 in /etc/services Enables IPv6

Samba 3 SMB over IPv6 (1) On Samba box check for IPv6 SMB listener # netstat inet6 an grep 445 tcp 0 0 :::445 :::* LISTEN Works!

Samba 3 SMB over IPv6 (2) Connect from Vista using link local address and no DNS Literal DNS name converts to IPv6 addresses Hyphens replace colons in domain name Works!

Vista net use over IPv6 Works from the command line too

IPv6 and xinetd Gotcha You might be tempted to: Enable IPV6 in xinetd /etc/xinetd.conf v6only = yes And remove IPv6 in the smb configuration /etc/xinetd.d/smb flags = REUSE IPV6 This will configure SMB over IPv4! Dual stack uses IPv4-mapped IPv6 addresses

Samba 3 as IPv6 PDC Samba 3 cannot be Active Directory domain controller Vista only contacts Active Directory DC using IPv6 Vista cannot join or login to a Samba 3 domain over IPv6 Share SMB/CIFS user authentication does work

Samba 3 IPv6 Client Side Support not complete in Samba 3 client code Quite a bit of work to do

Linux CIFS IPv6 Client Linux CIFS Client Guide by Steve French IPv6 Support is planned for the future and is almost complete Now working as of SambaXP 2007 Party! Steve French and David Holder The first ever CIFS client connection over IPv6

Samba 4 and IPv6 Samba 4 code is not yet completely IPv6 clean Server side now IPv6 clean as of this week, but IPv4 is hard-code in some places status = stream_setup_socket(event_context, model_ops, &ldap_stream_ops, "ipv4", address, &port, ldap_service); You can hack Samba 4 server to work over IPv6

Samba 4 and IPv6 Cannot run Samba 4 from Internet Super Daemon Samba4 smbd listens on multiple ports Internet super daemons one port per daemon SWAT LDAP smbd NetBIOS Kerberos Kerberos LDAPS SMB LDAP WINS WINS WINS NetBIOS NetBIOS NetBIOS Kerberos Kerberos

Samba 4 and IPv6 Use IPv6 hack or port forwarder for Samba 4 over IPv6 Hacked version also listens on IPv4 (dual stack) Works for mapping network drives and simple tasks Vista fails to join domain over IPv6 No difference from IPv4

Vista to Samba 4 over IPv6 SMB over IPv6 works using: IPv6 hack Port forwarding

Longhorn IPv6 and Samba Longhorn fails to join Samba 4 domain Longhorn can use SMB shares over IPv6 to Samba 3/4

IPv6 and Samba Summary Version Role Works? Requirement Samba3 Raw SMB over IPv6 Yes None NT DC over IPv6 No No requirement CIFS Client Yes As of SambaXP 2007 AD Client over IPv6 No Required for Longhorn AD domains Samba4 Raw SMB over IPv6 Yes* Required. *only with hack AD Client over IPv6 No Required. Can be simulated by port forwarding. AD DC over IPv6 Yes* Required. *only with hack Can be simulated using port forwarding. IPv6 AD clients (Vista/Longhorn) cannot join a Samba4 domain. LLMNR No Required

Where Next with Samba and IPv6? Samba with AD is required combination for IPv6 AD DC Samba 4 Samba 4 can be hacked to support IPv6 Server only Samba4 server code is close to supporting IPv6 Needs changes to build and test Deployment of Vista and Longhorn will make Samba over IPv6 critical for some organisations

Questions?

Contact Details Erion IPv6 Services: www.ipv6training.com www.ipv6consultancy.com www.erion.co.uk Samba and Windows Integration www.erion.co.uk David Holder d a v i d. h o l d e r @ e r i o n. c o. u k