Implementing Samba 4


Implementing Samba 4
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.50
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$75.49
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Understand the different roles that Samba 4 Server can play on the network
  • Implement Samba 4 as an Active Directory Domain Controller
  • Step-by-step and practical approach to manage the Samba 4 Active Directory Domain Controller using Microsoft Windows standard tools

Book Details

Language : English
Paperback : 284 pages [ 235mm x 191mm ]
Release Date : April 2014
ISBN : 1782166580
ISBN 13 : 9781782166580
Author(s) : Marcelo Leal
Topics and Technologies : All Books, Networking and Servers, Open Source


Table of Contents

Preface
Chapter 1: Installing the Samba 4 Server
Chapter 2: Provisioning Samba 4 as AD Domain Controller
Chapter 3: Managing the Samba Active Directory Server
Chapter 4: Replacing a Microsoft Windows Active Directory Server
Chapter 5: Upgrading from Samba Server Version 3
Chapter 6: Printing and File Services
Chapter 7: Extending the Active Directory Schema Using Samba 4
Chapter 8: Implementing a Highly Available Distributed File Server
Chapter 9: The Samba 4 Python Scripting Interface
Appendix: References
Index
  • Chapter 1: Installing the Samba 4 Server
    • Installing Debian 7.0 (Wheezy)
    • Installing and configuring Samba 4 Server's dependencies
    • Installing Samba 4 Server step-by-step
    • Basic validations of the Samba's installation
    • Summary
  • Chapter 2: Provisioning Samba 4 as AD Domain Controller
    • Highlighting the planning points for an AD service
    • Acquiring information for deploying an AD service
      • Availability, performance, and replication for the network service
    • Provisioning Samba 4 as AD Domain Controller
      • Validating the Samba 4 configuration
    • Summary
  • Chapter 3: Managing the Samba Active Directory Server
    • Understanding the possible roles of the Samba 4 Server on the network
    • Implementing the AD authentication and authorization for GNU/Linux systems
      • Configuring the PAM and NSS libraries
      • Joining the Debian 7 GNU/Linux into our Active Directory Domain
    • Starting with basic concepts for Group Policies on Samba 4
      • Allowing a user to create Group Policies
      • Allowing a user to link Group Policies to OUs
      • Creating a Group Policy
    • Trust relationships and replication with Samba 4
    • Summary
  • Chapter 4: Replacing a Microsoft Windows Active Directory Server
    • Key points to consider before replacing an AD DC
    • Planning the replacement – tests and validations
      • Exporting directory entries
      • Comparing backup data against live data
      • Replacing the Active Directory Domain Controller
    • Replacement tests and validations
    • Summary
  • Chapter 5: Upgrading from Samba Server Version 3
    • Distinguishing between Samba Versions 3 and 4
    • Key points of consideration before the upgrade
      • Establishing an upgrade plan
      • Creating tests and validations before the upgrade
      • Executing the Samba Server upgrade procedure
      • Stopping and disabling Samba and winbind daemons
      • Editing the Samba 4 configuration file
      • Configuring the reverse zone
      • Adding the profiles share to the configuration
    • Deciding upgrade approach for member servers
      • Upgrading tests and validations for the PDC
      • Upgrading tests and validations for Member Servers
    • Summary
  • Chapter 6: Printing and File Services
    • Introducing SMB/CIFS protocol versions and Samba 4
    • Introducing the Samba 4 file and print server daemons
    • Introducing Microsoft Windows print driver Versions 3 and 4
    • Configuring a printer on the Samba 4 Server host using CUPS
    • Sharing the printer on a Microsoft AD network using Samba
    • Introducing Microsoft Windows Point and Print Samba Server configuration
    • Sharing files using Samba 4
    • Summary
  • Chapter 7: Extending the Active Directory Schema Using Samba 4
    • Planning an Active Directory schema extension
    • Exporting the current Active Directory schema configuration
      • Extending the Active Directory schema in practice
        • Extending the Active Directory schema
      • Testing and validating the Samba 4 Active Directory schema extension
    • Summary
  • Chapter 9: The Samba 4 Python Scripting Interface
    • Open source development and collaborative work
    • Exploring and using the Python interface of the Samba 4 Server
    • Introducing Samba 4 Python bindings
    • Understanding the power of Python and the Samba 4 Server
    • Summary

Marcelo Leal

Marcelo Leal studied at Unisinos, where he undertook a Bachelor's degree in Computing Science. Having worked in the IT industry for more than 15 years, he has gained experience as a network/system administrator, support manager, Unix/Linux specialist, storage architect, and most recently, as a solutions architect. He was involved in open source projects since the beginning of his career and has developed some open source tools and submitted patches to the GNU/Linux and FreeBSD kernel. In 2005, he was honored for his participation in the Prêmio TI e Governo for the project ""Metrópole"", Porto Alegre/RS. He was one of the founders of the Porto Alegre OpenSolaris User Group (PoaOSUG) and was a contributor for the Open High Availability Cluster Community (OHAC) within the OpenSolaris Project; he was the first person outside Sun Microsystems to contribute code to the Open Cluster software. He received three prizes at the OpenSolaris innovation awards program (2007-2008), and presented a solution for Storage High Availability using nonshared disks at the first OHAC Summit in San Francisco/California, USA (2009). In 2013, he presented a highly available, scalable, and high performance three-layer storage solution at SNIA SpeedConf, Santa Clara/California, USA, which, besides adding a lot of value to the storage service, provided huge savings in capex and opex costs (millions of dollars in three years). He has led the architecture and development of a distributed Storage Appliance that, in three years, provided more than 1.5 million operations per second (CIFS, NFS, and iSCSI) for almost 10PB in an area available for a diverse range of products. In 2010, he wrote ZFS -Para usuários OpenSolaris,Windows, Mac e Linux, Brasport, the first book about ZFS in Brazilian Portuguese and actually one of the few books about ZFS available in a language other than English. He tries to write regularly on his blog at http://www.eall.com.br/blog. Marcelo profile can be found on LinkedIn(https://www.linkedin.com/in/marceloleal). Recently a contest was held on Marcelo's blog(www.eall.com.br/blog/?p=3071) which was received with good response.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


Errata

- 7 submitted: last submission 09 May 2014

Errata type: Code-related | Page no: 15

It is: Next, note the use of the --enable-self test  option it the following configure command, as we will need the features added by this option in a later phase:

It should be: Next, note the use of the --enable-selftest  option it the following configure command, as we will need the features added by this option in a later phase:

Errata type: Technical | Page no: 90

Important note for the readers:

Remember that at the time of this writing, the Sysvol share was not replicated by Samba. So, there is a need to do it in a separated procedure to get the configurations Active Directory saved on this share (for example, Group Policies Templates/Policies and Scripts).

Chapter: 2

Page: 19

Instead of:

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.

 

It should be:

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.

Chapter: 2

Page: 27

The tipbox at the bottom of the page should have the following content:

 

You can take a look at all available options issuing the samba-tool command without any options, or access the manual page (for example, man samba-tool).

Chapter: 2

Page: 29

Instead of:

The last lines have some useful information; they give us the Domain Name and SID; they also give us an important hint about the Kerberos configuration file that was
automatically generated for us, and we need to use it to finish the Samba 4 Server configuration.

 

It should be:

The last lines have some useful information; they give us the Domain Name and SID; they also give us an important hint about the Kerberos configuration file that was
automatically generated for us, as we need to use it to finish the Samba 4 Server configuration.

Chapter: 2

Page: 30

The content

 

leal@debian7:~$ sudo cp -pRf /usr/local/samba/etc/smb.conf \
/usr/local/samba/etc/smb.conf-bkp && \
sed -e 's/dns forwarder =.*$/dns forwarder = 8.8.8.8/g'
/usr/local/samba/etc/smb.conf > /usr/local/samba/etc/smb.conf-new
&& \
mv /usr/local/samba/etc/smb.conf-new
/usr/local/samba/etc/smb.conf && \
echo OK
OK

is duplicated.

 

Chapter: 2

Page: 46

Instead of:

Once we have our Active Directory structure finished, we can close the dsa.msc tool and log out from our Windows 2008 R2 Server. Now, we go back to our Samba 4 Server where we will create our 50 users (47 Standard Usersand 3 Power Users).

 

It should be:

Once we have our Active Directory structure finished, we can close the dsa.msc tool and log out from our Windows 2008 R2 Server. Now, we go back to our Samba 4 Server where we will create our 47 users (47 Standard Usersand 3 Power Users).

 

 

Instead of:

First, we will create the Standard Users using the names provided in the users.txt file, and the script that we will use is intended to create users in the People/Standard Users OU only.

 

It should be:

First, we will create the Standard Users using the names provided in the users.txt file, as the script that we will use is intended to create users in the People/Standard Users OU only.

 

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Implementing Samba 4 +    PhoneGap 3.x Mobile Application Development Hotshot =
50% Off
the second eBook
Price for both: $43.05

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • 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

In Detail

Samba is a drop-in replacement for the heart of the thousands and thousands of networks that run on Microsoft Windows domain controllers. Now with a compatible Active Directory implementation, it will definitely put its name inside every datacenter that wants a cost reduction for the Open Source solutions, without losing the security, stability, and flexibility of any resilient solution.

Implementing Samba 4 starts off with installing dependencies and building the Samba 4 software, deploying it as an Active Directory Domain Controller, and enabling the reader to understand the different roles the software can play on the network. This book looks at the Samba 4 Server roles, and breaks down the mystery and confusion that surrounds each role.

This book will take you through some clear, practical, and complete examples that will help you to take advantage of the Samba 4 Server quickly and in a simple way.

Approach

This book is an implementation tutorial covering step-by-step procedures, examples, and sample code, and has a practical approach to set up a Samba 4 Server as an Active Directory Domain Controller and also set up different Samba 4 server roles.

Who this book is for

This book is ideal for system administrators who are new to the Samba 4 software, and who are looking to get a good grounding in how to use Samba 4 to implement Active Directory Services.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software