1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC...

Post on 30-Mar-2020

0 views 0 download

Transcript of 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC...

1 S(a) 2 M 3 B(a) 4

SDC 2013

Michael Adam

Samba Team / SerNet

2013-09-16

Part I - Drama

On December 11, 2012 ...

... around 6pm CET ...

... somethingunexpectedhappened! ...

... something most peoplewould not have expectedto happen anytime soon ...

... or at all ...

Samba 4.0.0 was released! ,

Obviously one day too early! /12/12/12 - that would have been a date

,

Now why is this so remarkable?

Part II - Chatty

What is (was) Samba?

for SDC audience:

I a (hopefully the) open source SMB file server

I used in some of the products known here

for Samba’s community:

I the open source SMB server (“samba3”)

I the upcoming open source AD domain controller (“samba4”)

I ⇒ two different projects

for the Samba developers:

I theee open source SMB serverˆHˆHˆHˆHˆHˆHˆHˆHˆHˆHsoftware

I continuous source of joy and grief

obnox Samba 4.0 (12 / 23)

What is (was) Samba?

for SDC audience:

I a (hopefully the) open source SMB file server

I used in some of the products known here

for Samba’s community:

I the open source SMB server (“samba3”)

I the upcoming open source AD domain controller (“samba4”)

I ⇒ two different projects

for the Samba developers:

I theee open source SMB serverˆHˆHˆHˆHˆHˆHˆHˆHˆHˆHsoftware

I continuous source of joy and grief

obnox Samba 4.0 (12 / 23)

What is (was) Samba?

for SDC audience:

I a (hopefully the) open source SMB file server

I used in some of the products known here

for Samba’s community:

I the open source SMB server (“samba3”)

I the upcoming open source AD domain controller (“samba4”)

I ⇒ two different projects

for the Samba developers:

I theee open source SMB serverˆHˆHˆHˆHˆHˆHˆHˆHˆHˆHsoftware

I continuous source of joy and grief

obnox Samba 4.0 (12 / 23)

What is (was) Samba?

for SDC audience:

I a (hopefully the) open source SMB file server

I used in some of the products known here

for Samba’s community:

I the open source SMB server (“samba3”)

I the upcoming open source AD domain controller (“samba4”)

I ⇒ two different projects

for the Samba developers:

I theee open source SMB serverˆHˆHˆHˆHˆHˆHˆHˆHˆHˆHsoftware

I continuous source of joy and grief

obnox Samba 4.0 (12 / 23)

Who is Samba?

obnox Samba 4.0 (13 / 23)

Who is Samba?

obnox Samba 4.0 (13 / 23)

So what is Samba development like?

Focus

I Not one single concentrated development effort.

I Various companies (e.g. redhat, SuSE, IBM, SerNet, ...)

I Different interests by employers and customers.

I Changing interests...

Quality

I Established: autobuild selftest mechanism.

I New: voluntary review system (since October 2012)

obnox Samba 4.0 (14 / 23)

So what is Samba development like?

Focus

I Not one single concentrated development effort.

I Various companies (e.g. redhat, SuSE, IBM, SerNet, ...)

I Different interests by employers and customers.

I Changing interests...

Quality

I Established: autobuild selftest mechanism.

I New: voluntary review system (since October 2012)

obnox Samba 4.0 (14 / 23)

So what is Samba development like?

Focus

I Not one single concentrated development effort.

I Various companies (e.g. redhat, SuSE, IBM, SerNet, ...)

I Different interests by employers and customers.

I Changing interests...

Quality

I Established: autobuild selftest mechanism.

I New: voluntary review system (since October 2012)

obnox Samba 4.0 (14 / 23)

Now what about Samba 4.0 after all?

I The first (!?) open source Active Directory domain controller.⇒ See Andrew Bartlett’s presentation!

I The direct continuation of the Samba 3.6 SMB file server.

I ⇒ A big success in reuniting two de-facto separated projects!I It is also a big and important file server release!

I Completes SMB 2.0 by adding durable handles.I Adds support for SMB 2.1 (no leases)I Adds support for SMB 3.0 (basic support)

obnox Samba 4.0 (15 / 23)

Now what about Samba 4.0 after all?

I The first (!?) open source Active Directory domain controller.⇒ See Andrew Bartlett’s presentation!

I The direct continuation of the Samba 3.6 SMB file server.

I ⇒ A big success in reuniting two de-facto separated projects!I It is also a big and important file server release!

I Completes SMB 2.0 by adding durable handles.I Adds support for SMB 2.1 (no leases)I Adds support for SMB 3.0 (basic support)

obnox Samba 4.0 (15 / 23)

Now what about Samba 4.0 after all?

I The first (!?) open source Active Directory domain controller.⇒ See Andrew Bartlett’s presentation!

I The direct continuation of the Samba 3.6 SMB file server.

I ⇒ A big success in reuniting two de-facto separated projects!I It is also a big and important file server release!

I Completes SMB 2.0 by adding durable handles.I Adds support for SMB 2.1 (no leases)I Adds support for SMB 3.0 (basic support)

obnox Samba 4.0 (15 / 23)

Now what about Samba 4.0 after all?

I The first (!?) open source Active Directory domain controller.⇒ See Andrew Bartlett’s presentation!

I The direct continuation of the Samba 3.6 SMB file server.

I ⇒ A big success in reuniting two de-facto separated projects!I It is also a big and important file server release!

I Completes SMB 2.0 by adding durable handles.I Adds support for SMB 2.1 (no leases)I Adds support for SMB 3.0 (basic support)

obnox Samba 4.0 (15 / 23)

Now what about Samba 4.0 after all?

I The first (!?) open source Active Directory domain controller.⇒ See Andrew Bartlett’s presentation!

I The direct continuation of the Samba 3.6 SMB file server.

I ⇒ A big success in reuniting two de-facto separated projects!I It is also a big and important file server release!

I Completes SMB 2.0 by adding durable handles.I Adds support for SMB 2.1 (no leases)I Adds support for SMB 3.0 (basic support)

obnox Samba 4.0 (15 / 23)

Digression on History

obnox Samba 4.0 (16 / 23)

Digression on History

I 2003-06-07: Samba 3.0.0 beta1

I 2003-08-13: First public commit of Samba 4 code (Tridge)

I focus: NTVFS - rewrite of SMB serverI focus: make SMB clusterable?

I 2003-10-24: Samba 3.0.0 released

I ... code repositories diverge ...

I 2006: S4 focus changed: Implementation of AD/DC

I 2007-2008: S3 is made cluster aware with CTDB

I 2008-05-08: Franky-idea is born

I 2008-07-01: Samba 3.2.0 released (GPLv3+, PIDL from S4)

I 2008-09-14: Merged branch/build for Samba3 and Samba4

I ... reconsile commonly used components into top level ...

I 2010-03-01: Samba 3.5.0 is released (exp SMB2)

I 2011-08-09: Samba 3.6.0 is released (off SMB2)

I 2012-06-05: 4.0.0 beta1

I 2012-09-13: 4.0.0 rc1

I 2012-12-11: 4.0.0

obnox Samba 4.0 (16 / 23)

What will 4.1 bring?

I current 4.1.0rc3

I final currently planned for 2013-09-27

I mostly stabilization (AD, file server)

I SMB2,3 support in smbclient, including SMB3 encryption

I server side copy

I removed SWAT

I ...

obnox Samba 4.0 (17 / 23)

What will 4.1 bring?

I current 4.1.0rc3

I final currently planned for 2013-09-27

I mostly stabilization (AD, file server)

I SMB2,3 support in smbclient, including SMB3 encryption

I server side copy

I removed SWAT

I ...

obnox Samba 4.0 (17 / 23)

What will 4.1 bring?

I current 4.1.0rc3

I final currently planned for 2013-09-27

I mostly stabilization (AD, file server)

I SMB2,3 support in smbclient, including SMB3 encryption

I server side copy

I removed SWAT

I ...

obnox Samba 4.0 (17 / 23)

Part III - Technical

SMB Tasks

I SMB 2.0:I durable file handles

I SMB 2.1:I multi-credit / large mtuI dynamic reauthenticationI leasingI resilient file handles

I SMB 3.0:I new crypto (sign/encrypt)I secure negotiationI durable handles v2I persistent file handlesI multi-channelI SMB directI witnessI cluster features ...I storage features ...

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles

I SMB 2.1:I multi-credit / large mtuI dynamic reauthenticationI leasingI resilient file handles

I SMB 3.0:I new crypto (sign/encrypt)I secure negotiationI durable handles v2I persistent file handlesI multi-channelI SMB directI witnessI cluster features ...I storage features ...

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles

I SMB 2.1:I multi-credit / large mtuI dynamic reauthenticationI leasingI resilient file handles

I SMB 3.0:I new crypto (sign/encrypt)I secure negotiationI durable handles v2I persistent file handlesI multi-channelI SMB directI witnessI cluster features ...I storage features ...

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles

I SMB 2.1:I multi-credit / large mtuI dynamic reauthenticationI leasingI resilient file handles

I SMB 3.0:I new crypto (sign/encrypt)I secure negotiationI durable handles v2I persistent file handlesI multi-channelI SMB directI witnessI cluster features ...I storage features ...

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles [4.0]

I SMB 2.1:I multi-credit / large mtu [4.0]I dynamic reauthentication [4.0]I leasingI resilient file handles

I SMB 3.0:I new crypto (sign/encrypt) [4.0]I secure negotiation [4.0]I durable handles v2 [4.0]I persistent file handlesI multi-channelI SMB directI witnessI cluster features ...I storage features ...

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles [4.0]

I SMB 2.1:I multi-credit / large mtu [4.0]I dynamic reauthentication [4.0]I leasing [in progress]I resilient file handles

I SMB 3.0:I new crypto (sign/encrypt) [4.0]I secure negotiation [4.0]I durable handles v2 [4.0]I persistent file handlesI multi-channelI SMB directI witness [in progress]I cluster features ...I storage features ...

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles [4.0]

I SMB 2.1:I multi-credit / large mtu [4.0]I dynamic reauthentication [4.0]I leasing [in progress]I resilient file handles

I SMB 3.0:I new crypto (sign/encrypt) [4.0]I secure negotiation [4.0]I durable handles v2 [4.0]I persistent file handlesI multi-channel [designed]I SMB direct [designed/started]I witness [in progress]I cluster features ...I storage features ... [partly begun]

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles [4.0]

I SMB 2.1:I multi-credit / large mtu [4.0]I dynamic reauthentication [4.0]I leasing [in progress]I resilient file handles

I SMB 3.0:I new crypto (sign/encrypt) [4.0]I secure negotiation [4.0]I durable handles v2 [4.0]I persistent file handles [planning]I multi-channel [designed]I SMB direct [designed/started]I witness [in progress]I cluster features ...I storage features ... [partly begun]

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles [4.0]

I SMB 2.1:I multi-credit / large mtu [4.0]I dynamic reauthentication [4.0]I leasing [in progress]I resilient file handles

I SMB 3.0:I new crypto (sign/encrypt) [4.0]I secure negotiation [4.0]I durable handles v2 [4.0]I persistent file handles [planning]I multi-channel [designed]I SMB direct [designed/started]I witness [in progress]I cluster features ... [todo]I storage features ... [partly begun]

obnox Samba 4.0 (19 / 23)

SMB Tasks

I SMB 2.0:I durable file handles [4.0]

I SMB 2.1:I multi-credit / large mtu [4.0]I dynamic reauthentication [4.0]I leasing [in progress]I resilient file handles [ever?]

I SMB 3.0:I new crypto (sign/encrypt) [4.0]I secure negotiation [4.0]I durable handles v2 [4.0]I persistent file handles [planning]I multi-channel [designed]I SMB direct [designed/started]I witness [in progress]I cluster features ... [todo]I storage features ... [partly begun]

obnox Samba 4.0 (19 / 23)

Leases

I ”oplocks done right”

I remove 1:1 relationship between open and oplock

I add lease/oplock key

I https://wiki.samba.org/index.php/Samba3/SMB2#Leases

I plan including data model

I Volker Lendecke: Currently reworking/preparing open/locking code

obnox Samba 4.0 (20 / 23)

Witness

I https://wiki.samba.org/index.php/Samba3/SMB2#

Witness Notification Protocol

I Gregor Beck (with Stefan Metzmacher):I explored protocol with Samba rpcclient implementationI currently working on async RPC server (prereq)

obnox Samba 4.0 (21 / 23)

SMB Direct

I https://wiki.samba.org/index.php/Samba3/SMB2#SMB Direct

I Richard Sharp currently approaching from the Linux kernel side.⇒ see his talk!

obnox Samba 4.0 (22 / 23)

Questions?

obnox@samba.org / ma@sernet.de

obnox Samba 4.0 (23 / 23)