SlideShare ist ein Scribd-Unternehmen logo
1 von 30
Downloaden Sie, um offline zu lesen
© Erion Ltd 2007 - All rights reserved 
Samba and Vista with IPv6 
Dr David Holder CEng MIET MIEEE 
david.holder@erion.co.uk
© Erion Ltd 2007 
Quick Poll 
a 
Who is using IPv6? 
a 
Who is using IPv6 in a production environment? 
a 
Who wants to use IPv6 in Windows networks?
© Erion Ltd 2007 
Quick Comparison IPv4 vs IPv6 
IPv6 
IPv4 
Address space 
Scarce 
Stateless auto-configuration 
No 
Yes 
IPSec standard 
No 
Yes 
IP mobility 
Impractical 
Yes 
Huge 
End to end connectivity 
No (NAT) 
Yes 
Network renumbering 
Difficult 
Easy 
Peer to peer applications 
Difficult 
Easy
© Erion Ltd 2007 
Motivations to Implement IPv6 
a 
Political 
` 
Government mandate 
a 
Geographical 
` 
Address allocation 
` 
Internet growth 
a 
Services 
` 
IP mobility 
` 
Peer to peer 
` 
VoIP 
a 
Technical 
` 
Peer to peer 
` 
Mobility 
` 
Security 
` 
QoS 
a 
Organisational 
` 
DoD 
` 
Federal Government 
` 
Microsoft 
a 
BusinessCase 
` 
Market opportunities 
` 
Cost reduction 
IPv6
© Erion Ltd 2007 
Vista 
Windows 2003 
Windows 2000 
Windows XP 
History of Windows and IPv6 
1998 
1999 
2000 
2001 
2002 
2003 
2004 
2005 
2006 
2007 
2008 
Microsoft Research Stack 
Technology Preview 
Developer Preview & 
Components 
Production Stack & 
Components 
Production Stack & 
Components 
Fully Integrated IPv6 Stack and Services 
+ Firewall Teredo Peer to Peer 
SP1 
Advanced Networking Pack 
Production Stack + Firewall Teredo and Peer to Peer 
SP2 
Production Stack + Firewall Teredo and Peer to Peer 
SP1 
IPv6 
CIFS 
Works! 
Fully Integrated IPv6 Functionality
© Erion Ltd 2007 
IPv6 and Vista and Longhorn 
a 
Vista & Longhorn will introduce IPv6 into many networks 
a 
IPv6 by stealth 
` 
Organisation implements Longhorn and/or Vista and uses IPv6 by default 
` 
Transition mechanisms enable IPv6 on IPv4 only networks 
a 
IPv6 by design 
` 
Organisation implements Longhorn and/or Vista as a part of strategic plan to move to IPv6
© Erion Ltd 2007 
Configuring IPv6 on Vista 
a 
Enabled by default 
a 
Preferred protocol 
a 
Configured automatically 
a 
Attempts to work even in IPv4 only networks 
` 
Teredo 
` 
ISATAP 
a 
Fully integrated into GUI
© Erion Ltd 2007 
IPv6 Addresses and Vista 
a 
Interfaces have manyIPv6 Addresses 
a 
Be aware of this when working with Samba 
Interface addresses 
` 
Not EUI-64 by default 
` 
Randomly generated 
Randomly generated client interface address 
Globally routable prefix 
Link-local
© Erion Ltd 2007 
NetBIOS NBT and IPv6 
a 
NetBIOS does not work over IPv6 
a 
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
© Erion Ltd 2007 
Name Resolution for IPv6 CIFS 
a 
NetBIOS name resolution is IPv4 only 
a 
Link-local Multicast Name Resolution (LLMNR) 
a 
DNS 
IPv4 Only 
IPv4 and IPv6 
IPv4 and IPv6
© Erion Ltd 2007 
Link-local Multicast Name Resolution (LLMNR) 
a 
Performs name resolution without DNS 
a 
Essentially DNS over multicast 
a 
Works for IPv4 andIPv6 hosts 
a 
Uses multicast addresses 
` 
IPv6FF02::1:3 
` 
IPv4224.0.0.252
© Erion Ltd 2007 
Linux/Unix and IPv6 
a 
Current versions of Linux, BSD and Unix support IPv6 
a 
Usually enabled by default 
a 
Majority of applications support IPv6
© Erion Ltd 2007 
Samba 3 and IPv6 
a 
nmbd 
` 
NetBIOS name resolution IPv4 only 
` 
WINS IPv4 only 
` 
NetBIOS also IPv4 only 
a 
smbd 
` 
SMB protocol is network layer independent 
` 
Requires name resolution 
⌧ 
Can be provided by any IPv6 aware mechanism (DNS) 
` 
Problem –stock smbdnot IPv6 enabled
© Erion Ltd 2007 
smbd over IPv6 using xinetd 
1. 
Run smbd from IPv6 enabled internet service daemon 
2. 
Create /etc/xinetd.d/smb 
3. 
Start xinetd 
# Samba smb service 
service microsoft-ds 
{ 
flags = REUSE 
IPV6 
socket_type = stream 
wait = no 
user = root 
server = /usr/sbin/smbd 
log_on_failure += USERID 
disable = no 
} 
Enables IPv6 
port 445 in 
/etc/services
© Erion Ltd 2007 
Samba 3 SMB over IPv6 (1) 
a 
On Samba box check for IPv6 SMB listener 
# netstat –inet6 –an | grep 445 
tcp 0 0 :::445 :::*LISTEN 
a 
Works!
© Erion Ltd 2007 
Samba 3 SMB over IPv6 (2) 
a 
Connect from Vista using link local address and no DNS 
` 
Literal DNS name converts to IPv6 addresses 
` 
Hyphens replace colons in domain name 
a 
Works!
© Erion Ltd 2007 
Vista net use over IPv6 
a 
Works from the command line too
© Erion Ltd 2007 
IPv6 and xinetd Gotcha 
You might be tempted to: 
a 
Enable IPV6 in xinetd 
a 
And remove IPv6 in the smbconfiguration 
a 
This will configure SMB over IPv4! 
` 
Dual stack uses IPv4-mapped IPv6 addresses 
v6only = yes 
/etc/xinetd.conf 
flags = REUSE 
IPV6 
/etc/xinetd.d/smb
© Erion Ltd 2007 
Samba 3 as IPv6 PDC 
a 
Samba 3 cannot be Active Directory domain controller 
a 
Vista onlycontacts Active Directory DC using IPv6 
` 
Vista cannot join or login to a Samba 3 domain over IPv6 
a 
Share SMB/CIFS user authentication doeswork
© Erion Ltd 2007 
Samba 3 IPv6 Client Side 
a 
Support not complete in Samba 3 client code 
` 
Quite a bit of work to do
© Erion Ltd 2007 
Linux CIFS IPv6 Client 
a 
“Linux CIFS Client Guide”by Steve French 
“IPv6 Support is planned for the future and is almost complete” 
a 
Now working as of SambaXP2007 Party! 
Steve French and David Holder – The first ever CIFS client connection over IPv6
© Erion Ltd 2007 
Samba 4 and IPv6 
a 
Samba 4 code is not yet completely IPv6 clean 
a 
Server side now IPv6 clean as of this week, but 
` 
IPv4 is hard-code in some places 
a 
You can hack Samba 4 server to work over IPv6 
status = stream_setup_socket(event_context, model_ops, 
&ldap_stream_ops, 
"ipv4", address, &port, 
ldap_service);
© Erion Ltd 2007 
Samba 4 and IPv6 
a 
Cannot run Samba 4 from Internet Super Daemon 
` 
Samba4 smbdlistens on multiple ports 
` 
Internet super daemons one port per daemon 
SWAT 
LDAP 
NetBIOS 
Kerberos 
Kerberos 
LDAPS 
SMB 
LDAP 
WINS 
WINS 
WINS 
NetBIOS 
NetBIOS 
NetBIOS 
Kerberos 
Kerberos 
smbd
© Erion Ltd 2007 
Samba 4 and IPv6 
a 
Use IPv6 hack or port forwarder for Samba 4 over IPv6 
` 
Hacked version also listens on IPv4 (dual stack) 
a 
Works for mapping network drives and simple tasks 
a 
Vista failsto join domain over IPv6 
` 
Nodifference from IPv4
© Erion Ltd 2007 
Vista to Samba 4 over IPv6 
a 
SMB over IPv6 works using: 
` 
IPv6 hack 
` 
Port forwarding
© Erion Ltd 2007 
Longhorn IPv6 and Samba 
a 
Longhorn fails to join Samba 4 domain 
a 
Longhorn can use SMB shares over IPv6 to Samba 3/4
© Erion Ltd 2007 
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
© Erion Ltd 2007 
Where Next with Samba and IPv6? 
a 
Samba with AD is required combination for IPv6 
` 
AD DC –Samba 4 
a 
Samba 4 can be hacked to support IPv6 
` 
Server only 
a 
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
© Erion Ltd 2007 
Questions?
© Erion Ltd 2007 
Contact Details 
a 
Erion IPv6 Services: 
www.ipv6training.com 
www.ipv6consultancy.com 
www.erion.co.uk 
a 
Samba and Windows Integration 
www.erion.co.uk 
a 
David Holder 
d a v i d . h o l d e r @ e r i o n . c o . u k

Weitere ähnliche Inhalte

Was ist angesagt?

IPv6 Theory by Cisco
IPv6 Theory by CiscoIPv6 Theory by Cisco
IPv6 Theory by Cisco
Febrian ‎
 
Introduction to ipv6 v1.3
Introduction to ipv6 v1.3Introduction to ipv6 v1.3
Introduction to ipv6 v1.3
Karunakant Rai
 
Ipv6 the next generation protocol
Ipv6 the next generation protocolIpv6 the next generation protocol
Ipv6 the next generation protocol
PRADEEP Cheekatla
 

Was ist angesagt? (20)

Journey to IPv6 - A Real-World deployment for Mobiles
Journey to IPv6 - A Real-World deployment for MobilesJourney to IPv6 - A Real-World deployment for Mobiles
Journey to IPv6 - A Real-World deployment for Mobiles
 
IPv6 How To Set Up a Linux IPv6 Lan
IPv6 How To Set Up  a Linux IPv6 LanIPv6 How To Set Up  a Linux IPv6 Lan
IPv6 How To Set Up a Linux IPv6 Lan
 
IPv6 By Vipin
IPv6 By VipinIPv6 By Vipin
IPv6 By Vipin
 
About IPv6
About IPv6About IPv6
About IPv6
 
IPv6 Theory by Cisco
IPv6 Theory by CiscoIPv6 Theory by Cisco
IPv6 Theory by Cisco
 
Introduction to ipv6 v1.3
Introduction to ipv6 v1.3Introduction to ipv6 v1.3
Introduction to ipv6 v1.3
 
IPv6 theoryfinalx
IPv6 theoryfinalxIPv6 theoryfinalx
IPv6 theoryfinalx
 
Getting started with IPv6
Getting started with IPv6Getting started with IPv6
Getting started with IPv6
 
IPv6 Transition,Transcición IPv6
IPv6 Transition,Transcición IPv6IPv6 Transition,Transcición IPv6
IPv6 Transition,Transcición IPv6
 
Content over IPv6: no excuses
Content over IPv6: no excusesContent over IPv6: no excuses
Content over IPv6: no excuses
 
IPv6
IPv6IPv6
IPv6
 
Things I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I startedThings I wish I had known about IPv6 before I started
Things I wish I had known about IPv6 before I started
 
Basic of IPv6
Basic of IPv6Basic of IPv6
Basic of IPv6
 
IPv6 Tutorial; USENIX LISA 2013
IPv6 Tutorial; USENIX LISA 2013IPv6 Tutorial; USENIX LISA 2013
IPv6 Tutorial; USENIX LISA 2013
 
instructor ppt_chapter8.2.2 - i_pv6 addressing with exercises of IPv6
instructor ppt_chapter8.2.2 - i_pv6 addressing with exercises of IPv6instructor ppt_chapter8.2.2 - i_pv6 addressing with exercises of IPv6
instructor ppt_chapter8.2.2 - i_pv6 addressing with exercises of IPv6
 
IPv6 in Mobile Networks
IPv6 in Mobile NetworksIPv6 in Mobile Networks
IPv6 in Mobile Networks
 
IPv6 next generation protocol
IPv6 next generation protocolIPv6 next generation protocol
IPv6 next generation protocol
 
Ipv6 the next generation protocol
Ipv6 the next generation protocolIpv6 the next generation protocol
Ipv6 the next generation protocol
 
NAT_Final
NAT_FinalNAT_Final
NAT_Final
 
IPv6
IPv6IPv6
IPv6
 

Ähnlich wie Samba and Vista with IPv6

I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorial
Fred Bovy
 

Ähnlich wie Samba and Vista with IPv6 (20)

IPv6 In z/VSE:IBM z/VSE Live Virtual Class 2012
IPv6 In z/VSE:IBM z/VSE Live Virtual Class 2012IPv6 In z/VSE:IBM z/VSE Live Virtual Class 2012
IPv6 In z/VSE:IBM z/VSE Live Virtual Class 2012
 
I pv6 tutorial
I pv6 tutorialI pv6 tutorial
I pv6 tutorial
 
Suggestion for an IPv6 Roll Out
Suggestion for an IPv6 Roll OutSuggestion for an IPv6 Roll Out
Suggestion for an IPv6 Roll Out
 
Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0Fb i pv6-sparchimanv1.0
Fb i pv6-sparchimanv1.0
 
Transition To I Pv6
Transition To I Pv6Transition To I Pv6
Transition To I Pv6
 
mpls CNNA.pdf
mpls CNNA.pdfmpls CNNA.pdf
mpls CNNA.pdf
 
IP Routing on z/OS
IP Routing on z/OSIP Routing on z/OS
IP Routing on z/OS
 
Icnd210 s07l02
Icnd210 s07l02Icnd210 s07l02
Icnd210 s07l02
 
Robert Raszuk - Technologies for IPv4/IPv6 coexistance
Robert Raszuk - Technologies for IPv4/IPv6 coexistanceRobert Raszuk - Technologies for IPv4/IPv6 coexistance
Robert Raszuk - Technologies for IPv4/IPv6 coexistance
 
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
Deploying IPv6 in Cisco's Labs by Robert Beckett at gogoNET LIVE! 3 IPv6 Conf...
 
IPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for MobilesIPv6 - A Real World Deployment for Mobiles
IPv6 - A Real World Deployment for Mobiles
 
Gogo6 I Pv6 Access 2010 Sahara
Gogo6 I Pv6 Access 2010 SaharaGogo6 I Pv6 Access 2010 Sahara
Gogo6 I Pv6 Access 2010 Sahara
 
I pv6
I pv6I pv6
I pv6
 
Transitioning IPv4 to IPv6
Transitioning IPv4 to IPv6Transitioning IPv4 to IPv6
Transitioning IPv4 to IPv6
 
IPv6 Security - Myths and Reality
IPv6 Security - Myths and RealityIPv6 Security - Myths and Reality
IPv6 Security - Myths and Reality
 
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only BuildingSwiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
 
Successes and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNICSuccesses and Challenges of IPv6 Transition at APNIC
Successes and Challenges of IPv6 Transition at APNIC
 
IPv6 on the Cisco Campus
IPv6 on the Cisco CampusIPv6 on the Cisco Campus
IPv6 on the Cisco Campus
 
IPv6
IPv6IPv6
IPv6
 
Modern networking for php developers - Dutch PHP conference 2015
Modern networking for php developers - Dutch PHP conference 2015Modern networking for php developers - Dutch PHP conference 2015
Modern networking for php developers - Dutch PHP conference 2015
 

Mehr von dinomasch

Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...
Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...
Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...
dinomasch
 
Dictionary of Science and Technology
Dictionary of Science and TechnologyDictionary of Science and Technology
Dictionary of Science and Technology
dinomasch
 
The increasing role of direct reduced iron (DRI) in global steelmaking
The increasing role of direct reduced iron (DRI) in global steelmakingThe increasing role of direct reduced iron (DRI) in global steelmaking
The increasing role of direct reduced iron (DRI) in global steelmaking
dinomasch
 
AspectC++: Language Proposal and Prototype Implementation
AspectC++: Language Proposal and Prototype ImplementationAspectC++: Language Proposal and Prototype Implementation
AspectC++: Language Proposal and Prototype Implementation
dinomasch
 
Improved kernel based port-knocking in linux
Improved kernel based port-knocking in linuxImproved kernel based port-knocking in linux
Improved kernel based port-knocking in linux
dinomasch
 
Wasserstoffspeicherung an Kohlenstoffmodifikationen
Wasserstoffspeicherung an KohlenstoffmodifikationenWasserstoffspeicherung an Kohlenstoffmodifikationen
Wasserstoffspeicherung an Kohlenstoffmodifikationen
dinomasch
 
Heterojunction silicon based solar cells
Heterojunction silicon based solar cellsHeterojunction silicon based solar cells
Heterojunction silicon based solar cells
dinomasch
 
ArchiCAD 18 Help
ArchiCAD 18 HelpArchiCAD 18 Help
ArchiCAD 18 Help
dinomasch
 
Modell der anlagen für das pilotprojekt deep heat mining in basel
Modell der anlagen für das pilotprojekt deep heat mining in baselModell der anlagen für das pilotprojekt deep heat mining in basel
Modell der anlagen für das pilotprojekt deep heat mining in basel
dinomasch
 
Erdwärme Heizkraftwerk Neustadt-Glewe
Erdwärme Heizkraftwerk Neustadt-GleweErdwärme Heizkraftwerk Neustadt-Glewe
Erdwärme Heizkraftwerk Neustadt-Glewe
dinomasch
 

Mehr von dinomasch (20)

Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...
Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...
Cellular damage to phytophthora infestans in tomato leaves treated with oxadi...
 
Assessing the Risk of Resistance in Pseudoperonospora cubensis to the Fungici...
Assessing the Risk of Resistance in Pseudoperonospora cubensis to the Fungici...Assessing the Risk of Resistance in Pseudoperonospora cubensis to the Fungici...
Assessing the Risk of Resistance in Pseudoperonospora cubensis to the Fungici...
 
Dictionary of Science and Technology
Dictionary of Science and TechnologyDictionary of Science and Technology
Dictionary of Science and Technology
 
The World Book Encyclopedia S–SN
The World Book Encyclopedia S–SNThe World Book Encyclopedia S–SN
The World Book Encyclopedia S–SN
 
DigiGEO Einladung
DigiGEO EinladungDigiGEO Einladung
DigiGEO Einladung
 
Oblicza spoleczenstwa obywatelskiego
Oblicza spoleczenstwa obywatelskiegoOblicza spoleczenstwa obywatelskiego
Oblicza spoleczenstwa obywatelskiego
 
Fahrwerkhandbuch (2. Auflage)
Fahrwerkhandbuch (2. Auflage)Fahrwerkhandbuch (2. Auflage)
Fahrwerkhandbuch (2. Auflage)
 
DE2656747 C2
DE2656747 C2DE2656747 C2
DE2656747 C2
 
Biologische Wirkungen elektromagnetischer Felder
Biologische Wirkungen elektromagnetischer FelderBiologische Wirkungen elektromagnetischer Felder
Biologische Wirkungen elektromagnetischer Felder
 
The increasing role of direct reduced iron (DRI) in global steelmaking
The increasing role of direct reduced iron (DRI) in global steelmakingThe increasing role of direct reduced iron (DRI) in global steelmaking
The increasing role of direct reduced iron (DRI) in global steelmaking
 
AspectC++: Language Proposal and Prototype Implementation
AspectC++: Language Proposal and Prototype ImplementationAspectC++: Language Proposal and Prototype Implementation
AspectC++: Language Proposal and Prototype Implementation
 
Improved kernel based port-knocking in linux
Improved kernel based port-knocking in linuxImproved kernel based port-knocking in linux
Improved kernel based port-knocking in linux
 
Laser-Facharbeit
Laser-FacharbeitLaser-Facharbeit
Laser-Facharbeit
 
Froth flotation
Froth flotationFroth flotation
Froth flotation
 
Wasserstoffspeicherung an Kohlenstoffmodifikationen
Wasserstoffspeicherung an KohlenstoffmodifikationenWasserstoffspeicherung an Kohlenstoffmodifikationen
Wasserstoffspeicherung an Kohlenstoffmodifikationen
 
Heterojunction silicon based solar cells
Heterojunction silicon based solar cellsHeterojunction silicon based solar cells
Heterojunction silicon based solar cells
 
ArchiCAD 18 Help
ArchiCAD 18 HelpArchiCAD 18 Help
ArchiCAD 18 Help
 
Modell der anlagen für das pilotprojekt deep heat mining in basel
Modell der anlagen für das pilotprojekt deep heat mining in baselModell der anlagen für das pilotprojekt deep heat mining in basel
Modell der anlagen für das pilotprojekt deep heat mining in basel
 
Erdwärme Heizkraftwerk Neustadt-Glewe
Erdwärme Heizkraftwerk Neustadt-GleweErdwärme Heizkraftwerk Neustadt-Glewe
Erdwärme Heizkraftwerk Neustadt-Glewe
 
Problemlösungen mit MATLAB
Problemlösungen mit MATLABProblemlösungen mit MATLAB
Problemlösungen mit MATLAB
 

Kürzlich hochgeladen

Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
gindu3009
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
Sérgio Sacani
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
RohitNehra6
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Sérgio Sacani
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Sérgio Sacani
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Sérgio Sacani
 

Kürzlich hochgeladen (20)

Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
Zoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdfZoology 4th semester series (krishna).pdf
Zoology 4th semester series (krishna).pdf
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptxUnlocking  the Potential: Deep dive into ocean of Ceramic Magnets.pptx
Unlocking the Potential: Deep dive into ocean of Ceramic Magnets.pptx
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
fundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyfundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomology
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 

Samba and Vista with IPv6

  • 1. © Erion Ltd 2007 - All rights reserved Samba and Vista with IPv6 Dr David Holder CEng MIET MIEEE david.holder@erion.co.uk
  • 2. © Erion Ltd 2007 Quick Poll a Who is using IPv6? a Who is using IPv6 in a production environment? a Who wants to use IPv6 in Windows networks?
  • 3. © Erion Ltd 2007 Quick Comparison IPv4 vs IPv6 IPv6 IPv4 Address space Scarce Stateless auto-configuration No Yes IPSec standard No Yes IP mobility Impractical Yes Huge End to end connectivity No (NAT) Yes Network renumbering Difficult Easy Peer to peer applications Difficult Easy
  • 4. © Erion Ltd 2007 Motivations to Implement IPv6 a Political ` Government mandate a Geographical ` Address allocation ` Internet growth a Services ` IP mobility ` Peer to peer ` VoIP a Technical ` Peer to peer ` Mobility ` Security ` QoS a Organisational ` DoD ` Federal Government ` Microsoft a BusinessCase ` Market opportunities ` Cost reduction IPv6
  • 5. © Erion Ltd 2007 Vista Windows 2003 Windows 2000 Windows XP History of Windows and IPv6 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 Microsoft Research Stack Technology Preview Developer Preview & Components Production Stack & Components Production Stack & Components Fully Integrated IPv6 Stack and Services + Firewall Teredo Peer to Peer SP1 Advanced Networking Pack Production Stack + Firewall Teredo and Peer to Peer SP2 Production Stack + Firewall Teredo and Peer to Peer SP1 IPv6 CIFS Works! Fully Integrated IPv6 Functionality
  • 6. © Erion Ltd 2007 IPv6 and Vista and Longhorn a Vista & Longhorn will introduce IPv6 into many networks a IPv6 by stealth ` Organisation implements Longhorn and/or Vista and uses IPv6 by default ` Transition mechanisms enable IPv6 on IPv4 only networks a IPv6 by design ` Organisation implements Longhorn and/or Vista as a part of strategic plan to move to IPv6
  • 7. © Erion Ltd 2007 Configuring IPv6 on Vista a Enabled by default a Preferred protocol a Configured automatically a Attempts to work even in IPv4 only networks ` Teredo ` ISATAP a Fully integrated into GUI
  • 8. © Erion Ltd 2007 IPv6 Addresses and Vista a Interfaces have manyIPv6 Addresses a Be aware of this when working with Samba Interface addresses ` Not EUI-64 by default ` Randomly generated Randomly generated client interface address Globally routable prefix Link-local
  • 9. © Erion Ltd 2007 NetBIOS NBT and IPv6 a NetBIOS does not work over IPv6 a 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
  • 10. © Erion Ltd 2007 Name Resolution for IPv6 CIFS a NetBIOS name resolution is IPv4 only a Link-local Multicast Name Resolution (LLMNR) a DNS IPv4 Only IPv4 and IPv6 IPv4 and IPv6
  • 11. © Erion Ltd 2007 Link-local Multicast Name Resolution (LLMNR) a Performs name resolution without DNS a Essentially DNS over multicast a Works for IPv4 andIPv6 hosts a Uses multicast addresses ` IPv6FF02::1:3 ` IPv4224.0.0.252
  • 12. © Erion Ltd 2007 Linux/Unix and IPv6 a Current versions of Linux, BSD and Unix support IPv6 a Usually enabled by default a Majority of applications support IPv6
  • 13. © Erion Ltd 2007 Samba 3 and IPv6 a nmbd ` NetBIOS name resolution IPv4 only ` WINS IPv4 only ` NetBIOS also IPv4 only a smbd ` SMB protocol is network layer independent ` Requires name resolution ⌧ Can be provided by any IPv6 aware mechanism (DNS) ` Problem –stock smbdnot IPv6 enabled
  • 14. © Erion Ltd 2007 smbd over IPv6 using xinetd 1. Run smbd from IPv6 enabled internet service daemon 2. Create /etc/xinetd.d/smb 3. Start xinetd # Samba smb service service microsoft-ds { flags = REUSE IPV6 socket_type = stream wait = no user = root server = /usr/sbin/smbd log_on_failure += USERID disable = no } Enables IPv6 port 445 in /etc/services
  • 15. © Erion Ltd 2007 Samba 3 SMB over IPv6 (1) a On Samba box check for IPv6 SMB listener # netstat –inet6 –an | grep 445 tcp 0 0 :::445 :::*LISTEN a Works!
  • 16. © Erion Ltd 2007 Samba 3 SMB over IPv6 (2) a Connect from Vista using link local address and no DNS ` Literal DNS name converts to IPv6 addresses ` Hyphens replace colons in domain name a Works!
  • 17. © Erion Ltd 2007 Vista net use over IPv6 a Works from the command line too
  • 18. © Erion Ltd 2007 IPv6 and xinetd Gotcha You might be tempted to: a Enable IPV6 in xinetd a And remove IPv6 in the smbconfiguration a This will configure SMB over IPv4! ` Dual stack uses IPv4-mapped IPv6 addresses v6only = yes /etc/xinetd.conf flags = REUSE IPV6 /etc/xinetd.d/smb
  • 19. © Erion Ltd 2007 Samba 3 as IPv6 PDC a Samba 3 cannot be Active Directory domain controller a Vista onlycontacts Active Directory DC using IPv6 ` Vista cannot join or login to a Samba 3 domain over IPv6 a Share SMB/CIFS user authentication doeswork
  • 20. © Erion Ltd 2007 Samba 3 IPv6 Client Side a Support not complete in Samba 3 client code ` Quite a bit of work to do
  • 21. © Erion Ltd 2007 Linux CIFS IPv6 Client a “Linux CIFS Client Guide”by Steve French “IPv6 Support is planned for the future and is almost complete” a Now working as of SambaXP2007 Party! Steve French and David Holder – The first ever CIFS client connection over IPv6
  • 22. © Erion Ltd 2007 Samba 4 and IPv6 a Samba 4 code is not yet completely IPv6 clean a Server side now IPv6 clean as of this week, but ` IPv4 is hard-code in some places a You can hack Samba 4 server to work over IPv6 status = stream_setup_socket(event_context, model_ops, &ldap_stream_ops, "ipv4", address, &port, ldap_service);
  • 23. © Erion Ltd 2007 Samba 4 and IPv6 a Cannot run Samba 4 from Internet Super Daemon ` Samba4 smbdlistens on multiple ports ` Internet super daemons one port per daemon SWAT LDAP NetBIOS Kerberos Kerberos LDAPS SMB LDAP WINS WINS WINS NetBIOS NetBIOS NetBIOS Kerberos Kerberos smbd
  • 24. © Erion Ltd 2007 Samba 4 and IPv6 a Use IPv6 hack or port forwarder for Samba 4 over IPv6 ` Hacked version also listens on IPv4 (dual stack) a Works for mapping network drives and simple tasks a Vista failsto join domain over IPv6 ` Nodifference from IPv4
  • 25. © Erion Ltd 2007 Vista to Samba 4 over IPv6 a SMB over IPv6 works using: ` IPv6 hack ` Port forwarding
  • 26. © Erion Ltd 2007 Longhorn IPv6 and Samba a Longhorn fails to join Samba 4 domain a Longhorn can use SMB shares over IPv6 to Samba 3/4
  • 27. © Erion Ltd 2007 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
  • 28. © Erion Ltd 2007 Where Next with Samba and IPv6? a Samba with AD is required combination for IPv6 ` AD DC –Samba 4 a Samba 4 can be hacked to support IPv6 ` Server only a 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
  • 29. © Erion Ltd 2007 Questions?
  • 30. © Erion Ltd 2007 Contact Details a Erion IPv6 Services: www.ipv6training.com www.ipv6consultancy.com www.erion.co.uk a Samba and Windows Integration www.erion.co.uk a David Holder d a v i d . h o l d e r @ e r i o n . c o . u k