Sams Teach Yourself Samba in 24 Hours

ContentsIndex

Hour 4: Installing and Testing the Configuration

Previous HourNext Hour

Sections in this Chapter:

 

Hour 4
Installing and Testing the Configuration

During this hour, I'll walk through the preparation, configuration, and installation of a sample Samba server.

Imagine that my boss gives me the following orders:

Problem:

Scenario 1:

Scenario 2:

Perhaps my account of my plight and victory is a little exaggerated, but you never know. It could happen!

What I'll do for the remaining sections in this hour is to walk you through the steps for configuring Samba to implement the solution described in scenario 2. The remarks regarding Linux were made only as an example. The solution will work as long as Samba will compile under the server's OS.

Figure 4.1 illustrates the access that each user will require. The dotted lines depict access by the secretary, the dashed lines represent my boss, and the solid lines are associated with Joe Underling. Thus the secretary should have access only to the shared printer, Joe should have access to the printer and the group network drive, and my boss should have access to both of the previous resources in addition to her home directory.

Figure 4.1
Samba solution to implement (a) a group share, (b) home directories, and (c) network printing.

Which Processes?

If you remember from Hour 3, "Obtaining the Latest Source," I said that a Samba server comprises two main binaries. The first is smbd, normally located in /usr/local/samba/bin. smbd handles the file and print service requests. The second binary, nmbd, is normally located in the same directory as smbd. nmbd handles NetBIOS name service requests and network browsing functions.

Sams Teach Yourself Samba in 24 Hours

ContentsIndex

Hour 4: Installing and Testing the Configuration

Previous HourNext Hour

Sections in this Chapter: