Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Implementing Samba 4
Implementing Samba 4

Implementing Samba 4: Exploit the real power of Samba 4 Server by leveraging the benefits of an Active Directory Domain Controller.

eBook
$22.99 $32.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Implementing Samba 4

Chapter 2. Provisioning Samba 4 as an AD Domain Controller

In this chapter, the user will learn about the basic tasks that are required to get a proper Samba 4 Active Directory configured as the Domain Controller for the network. We will cover the following topics in this chapter:

  • The minimal planning needed to deploy a Samba 4 Active Directory as the Domain Controller (for example, domain, network topology/addresses, and services required) as well as the basic concepts involved in the Domain Controller service configuration.

  • The network topology with which we will work through our example configuration in the book, with basic planning techniques and checklists to show the user how to prepare and have at hand all the information needed for the provisioning setup of Samba 4 at hand.

  • The deployment of the Samba 4 Server and the services needed for a proper Samba 4 configuration through explicit command-line examples.

  • Other important aspects of any Active Directory Domain Controller network services...

Highlighting the planning points for an AD service


The most important task that we need to focus on before any other task, when planning for Active Directory Domain Controller, is to our network services' topology. For our Active Directory services to provide a resilient service, we need to be effective in creating a simple (yet descriptive) and scalable architecture that will fit our environment's needs and requirements.

Active Directory Domain Controller can provide us with a centralized management point for our network devices and thus gives us full control over a large number of objects (for example, users and machines). This is the key to achieving a lower cost in administrative tasks, resource control, and security (authentication and authorization) management in a specific network. To organize users and resources in a way that is simple to manage and is scalable (for example, facilitates delegation) is the key. On top of that, there is no reason to have a Domain Controller in our network...

Acquiring information for deploying an AD service


To facilitate the understanding of this concept and help us have at hand all the information that we need to deploy the Active Directory services on our network, we will create a checklist with all the information that we need prior to the deployment of an AD service. Based on our last topic, we know exactly what we need, how we have defined the topology, and how our network will be implemented. So, we are able to create a document with the information we need, and this will help us identify any missing points about our design. In the following table, we can see all the information we need prior to the implementation of Samba 4 Active Directory. This is organized in a table for ease of understanding and referencing during the configuration phase. To have such information at hand, it is vital that we have a clean and straightforward process; feel free to add as much information as you have when planning for your AD services. The following...

Setting up Samba 4 as an AD Domain Controller


One important configuration that will make our lives a lot easier is adding the Samba 4 installation path to our bash_profile file so that we have all the Samba tools in our search path and we don't need to work with full (absolute) paths. To do this in a sh or bash shell environment, just run the following command in your prompt:

leal@debian7:~$sudo echo 'export PATH=/usr/local/samba/bin:\
/usr/local/samba/sbin:$PATH' >> /root/.bash_profile && echo OK

The preceding command must give just the OK output. This is the signal that we have configured our bash_profile file in the Samba 4 software's binary path (for example, tools), so for future shell instances, we will have the search path ready.

After we have all the requisites for the Samba 4 environment fulfilled and our software installation validated, setting up a Samba 4 Server as an Active Directory Domain Controller is a simple task. We just need to execute the following command...

Summary


In this chapter, we saw in detail how to perform the provisioning of the Samba 4 Server as an Active directory Domain Controller, went through the initial phases of planning the network topology, structured the Active Directory, and created a checklist to help us organize information.

At the end of the chapter, we executed a series of tests and validations of important parts of the Active Directory server and thus, touched upon the subsystems that provide the core functionality of the Samba 4 AD/DC services. The last test was actually for joining a test server (Microsoft Windows 2008 R2 Server) to our POA Domain. We learned how to manage the Samba 4 Server from the Windows 2008 server, using the features that needed to be enabled on this Windows server's version.

Using our test machine, we tested the creation of custom OUs in our Active Directory, and so we could create our planned structure; and with the help of prebuilt scripts, we populated the AD/DC with 47 (nonPower) users.

In...

Left arrow icon Right arrow icon

What you will learn

  • Identify and choose the right Samba 4 Server role
  • Set up a Samba 4 Server as an Active Directory Domain Controller
  • Utilize the Python scripting interface
  • Understand the migration steps from Samba 3 to Samba 4
  • Integrate GNU/Linux operating system authentication into the AD
  • Implement file and print servers using Samba 4
  • Understand the tasks and attention points when replacing a Microsoft Windows AD

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 07, 2014
Length: 284 pages
Edition :
Language : English
ISBN-13 : 9781782166597

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Apr 07, 2014
Length: 284 pages
Edition :
Language : English
ISBN-13 : 9781782166597

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 158.97
Network Analysis using Wireshark Cookbook
$54.99
Kali Linux - Assuring Security by Penetration Testing
$48.99
Implementing Samba 4
$54.99
Total $ 158.97 Stars icon

Table of Contents

9 Chapters
Installing the Samba 4 Server Chevron down icon Chevron up icon
Provisioning Samba 4 as an AD Domain Controller Chevron down icon Chevron up icon
Managing the Samba Active Directory Server Chevron down icon Chevron up icon
Replacing a Microsoft Windows Active Directory Server Chevron down icon Chevron up icon
Upgrading from Samba Server Version 3 Chevron down icon Chevron up icon
Printing and File Services Chevron down icon Chevron up icon
Extending the Active Directory Schema Using Samba 4 Chevron down icon Chevron up icon
Implementing a Highly Available Distributed File Server Chevron down icon Chevron up icon
The Samba 4 Python Scripting Interface Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.5
(15 Ratings)
5 star 40%
4 star 20%
3 star 13.3%
2 star 6.7%
1 star 20%
Filter icon Filter
Top Reviews

Filter reviews by




Ronald F. Lyle Jul 27, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book did a great effort to explain Samba4 in a production environment.
Amazon Verified review Amazon
Claudio Renato Viana Cardoso Nov 21, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Good book !!!
Amazon Verified review Amazon
H. Kohlsdorf Jun 26, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I purchased it to support my learning and using my experiment setups Samba. Can recommend it to aby person wanting a complete source!
Amazon Verified review Amazon
Ciaran Costelloe Jan 14, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a very good book, written in a clear and concise style. It steps you through the typical scenarios that you encounter in real-world implementations. The problem I find with online examples is that they are composed of a set of mini-examples using various sample data, whereas this book goes through all the steps using one complete set of parameters, making it much easier to see how the different services like ntp and dhcp fit into the overall system.
Amazon Verified review Amazon
Davide Berti - Cuneo Jun 21, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
All I wanted to know and beyond. I used Samba 3 and I've been very interested in version 4 novelties, but I was quite at a loss reading all the how-tos and docs on the web. I've found my answers in this book: I appreciated most GPO use and python scripting explaination; also valuable ACL explaination. It deals with printers sharing and installation via AD too. This book is self-contained but you'll appreciate it better if you know already something about Active Directory, GPO, Windows file sharing and permissions, and the like. Definetely worth its price.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.