1 s(a) 2 m 3 b(a) 4 sdc 2013 - snia...obnox samba 4.0 (12 / 23) what is (was) samba? for sdc...

45
1 S(a) 2 M 3 B(a) 4 SDC 2013 Michael Adam Samba Team / SerNet 2013-09-16

Upload: others

Post on 30-Mar-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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

SDC 2013

Michael Adam

Samba Team / SerNet

2013-09-16

Page 2: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Part I - Drama

Page 3: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

On December 11, 2012 ...

Page 4: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

... around 6pm CET ...

Page 5: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

... somethingunexpectedhappened! ...

Page 6: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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

Page 7: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

... or at all ...

Page 8: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Samba 4.0.0 was released! ,

Page 9: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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

,

Page 10: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Now why is this so remarkable?

Page 11: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Part II - Chatty

Page 12: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 13: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 14: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 15: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 16: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Who is Samba?

obnox Samba 4.0 (13 / 23)

Page 17: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Who is Samba?

obnox Samba 4.0 (13 / 23)

Page 18: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 19: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 20: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 21: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 22: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 23: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 24: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 25: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 26: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Digression on History

obnox Samba 4.0 (16 / 23)

Page 27: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 28: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 29: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 30: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 31: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Part III - Technical

Page 32: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 33: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 34: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 35: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 36: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 37: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 38: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 39: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 40: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 41: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 42: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 43: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 44: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

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)

Page 45: 1 S(a) 2 M 3 B(a) 4 SDC 2013 - SNIA...obnox Samba 4.0 (12 / 23) What is (was) Samba? for SDC audience: I a (hopefully the) open source SMB le server I used in some of the products

Questions?

[email protected] / [email protected]

obnox Samba 4.0 (23 / 23)