1
00:00:00,000 --> 00:00:14,599
Hey everyone and welcome back.

2
00:00:14,599 --> 00:00:19,400
So what we're going to talk about in this skill right here is all about something called

3
00:00:19,400 --> 00:00:20,519
Samba.

4
00:00:20,519 --> 00:00:22,760
Now what exactly is Samba?

5
00:00:22,760 --> 00:00:24,000
What does it do for us?

6
00:00:24,000 --> 00:00:28,480
Well as per usual let's dive into the details and talk about it then shall we?

7
00:00:28,920 --> 00:00:34,520
To begin the very first thing that I should specify is that what Samba is going to allow

8
00:00:34,520 --> 00:00:38,719
us to do is going to allow us to share resources.

9
00:00:38,719 --> 00:00:43,480
So maybe you happen to be working for a company or maybe you're on a university campus whatever

10
00:00:43,480 --> 00:00:44,679
it may be.

11
00:00:44,679 --> 00:00:48,400
Very often individuals are going to want to be able to share particular resources that

12
00:00:48,400 --> 00:00:54,400
may be particular folders and files or perhaps they want to be able to share out printers.

13
00:00:54,399 --> 00:00:59,519
So the reality is we have to be able to facilitate this type of action.

14
00:00:59,519 --> 00:01:04,519
Now on Windows based systems there is something called SMB.

15
00:01:04,519 --> 00:01:11,280
This is the server message block and this is used with respect to sharing out different

16
00:01:11,280 --> 00:01:16,120
resources on Windows based systems used for network discovery so on so forth.

17
00:01:16,120 --> 00:01:21,719
Now like I say this is how Windows based systems operate but as you may have noticed that we

18
00:01:21,719 --> 00:01:26,920
are dealing with an LPIC2 certification right here so we are primarily focused on Linux

19
00:01:26,920 --> 00:01:29,280
systems but here is the deal.

20
00:01:29,280 --> 00:01:35,159
In the real world there is very often going to be a mix of Windows systems and Linux based

21
00:01:35,159 --> 00:01:36,519
servers or systems.

22
00:01:36,519 --> 00:01:42,920
Now what if we want to be able to share information from our Linux machine with Windows based

23
00:01:42,920 --> 00:01:44,120
machines or vice versa.

24
00:01:44,120 --> 00:01:49,039
Well the reality is we do have an implementation of SMB effectively.

25
00:01:49,040 --> 00:01:52,000
Our Linux and this is known as SAMBA.

26
00:01:52,000 --> 00:01:57,320
So really if we want to be able to share our resources or printers or files or folders

27
00:01:57,320 --> 00:02:03,600
with different operating systems such as Windows 10 or Windows 7 whether it may be or just

28
00:02:03,600 --> 00:02:09,200
with different Linux machines we are able to do just that using SAMBA.

29
00:02:09,200 --> 00:02:15,960
Now with respect to SAMBA on Linux there are two different components one is called NMBD.

30
00:02:15,960 --> 00:02:20,680
This is the NetBios message block domain.

31
00:02:20,680 --> 00:02:28,920
Now NetBios if you do not know this is ultimately an acronym for Network Basic Input Slash Output

32
00:02:28,920 --> 00:02:33,840
System and this is going to allow different types of applications to actually talk to

33
00:02:33,840 --> 00:02:36,640
one another when they are on the same network.

34
00:02:36,640 --> 00:02:42,840
So really for the purposes of what we are trying to do for discovering different servers

35
00:02:42,840 --> 00:02:47,319
or discovering different clients on this particular system that we are on we actually

36
00:02:47,319 --> 00:02:49,599
want to leverage NetBios.

37
00:02:49,599 --> 00:02:55,400
So let's maybe say we have a Linux machine here and a Windows machine here and let's

38
00:02:55,400 --> 00:02:58,199
maybe say we have a SAMBA server.

39
00:02:58,199 --> 00:03:05,120
All of these devices can ultimately discover one another in this manner but one thing that

40
00:03:05,120 --> 00:03:10,960
is really important to note is that the actual transferring of files that is facilitated via

41
00:03:10,960 --> 00:03:11,960
TCP IP.

42
00:03:11,960 --> 00:03:19,439
Now the way this is actually handled directly is by something called SMBD.

43
00:03:19,439 --> 00:03:22,920
This is the server message block daemon.

44
00:03:22,920 --> 00:03:29,120
So for server discovery we will have NMBD for the actual transferring of particular

45
00:03:29,120 --> 00:03:34,180
files that we are sharing so on and so forth that will be using SMBD.

46
00:03:34,180 --> 00:03:39,040
Now with our SAMBA installation we will actually have these two different daemons that we can

47
00:03:39,039 --> 00:03:44,120
use to help us carry out these processes but understand the differences between what

48
00:03:44,120 --> 00:03:45,239
they actually do.

49
00:03:45,239 --> 00:03:51,560
So whether we happen to be wanting to share out particular files between different users

50
00:03:51,560 --> 00:03:56,840
on different systems irrespective if they happen to be on Linux or Windows or we are

51
00:03:56,840 --> 00:04:02,560
looking to share out particular folders or perhaps maybe we want to share out particular

52
00:04:02,560 --> 00:04:04,280
printers.

53
00:04:04,280 --> 00:04:09,599
And that the ability to do this is going to be enabled by SAMBA itself.

54
00:04:09,599 --> 00:04:15,199
Now with respect to SAMBA we can have a SAMBA server or on our system we could install a

55
00:04:15,199 --> 00:04:20,759
SAMBA client which can ultimately talk to a SAMBA server but the primary focus of this

56
00:04:20,759 --> 00:04:25,199
skill will be mainly around the configuration of the SAMBA server.

57
00:04:25,199 --> 00:04:30,160
Now one thing to say before we actually begin looking at the very basics of how SAMBA actually

58
00:04:30,160 --> 00:04:36,120
operates is that for the purposes of the LPIC 2 examination we are primarily going to be

59
00:04:36,120 --> 00:04:39,240
focused on something called SAMBA 4.

60
00:04:39,240 --> 00:04:46,320
This is the fourth version of SAMBA but also we do have to be aware of SAMBA 3 and the

61
00:04:46,320 --> 00:04:52,160
scope of that awareness is really limited to the SAMBA 3 documentation.

62
00:04:52,160 --> 00:04:57,379
So what I want you to just know is that for the purposes of the examination if you need

63
00:04:57,379 --> 00:05:03,339
to know where the SAMBA 3 documentation is you can find this within user share and then

64
00:05:03,339 --> 00:05:10,699
within doc and then within that doc directory there should be a directory called SAMBA hyphen

65
00:05:10,699 --> 00:05:17,379
followed by the SAMBA version number so that could be maybe 3.1.1 whatever it may be and

66
00:05:17,379 --> 00:05:23,579
then within this directory we would have a folder called HTML docs and then within that

67
00:05:23,579 --> 00:05:31,219
we would have our actual HTML file which would be index.html but like I say primarily we

68
00:05:31,219 --> 00:05:33,620
are going to be focusing on SAMBA 4.

69
00:05:33,620 --> 00:05:38,219
So what we want to do is to begin to understand the basics of the SAMBA service and while

70
00:05:38,219 --> 00:05:42,379
that is what we are going to be talking about in the very next nuggets I hope this has been

71
00:05:42,379 --> 00:05:45,060
informative for you and I'd like to thank you for viewing.

