Implementing Samba 4

Book description

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

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.

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

Table of contents

  1. Implementing Samba 4
    1. Table of Contents
    2. Implementing Samba 4
    3. Credits
    4. Foreword
    5. About the Author
    6. Acknowledgments
    7. About the Reviewers
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
    9. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    10. 1. Installing the Samba 4 Server
      1. Installing Debian 7.0 (Wheezy)
      2. Installing and configuring Samba 4 Server's dependencies
      3. Installing Samba 4 Server step by step
      4. Basic validations of the Samba's installation
      5. Summary
    11. 2. Provisioning Samba 4 as an AD Domain Controller
      1. Highlighting the planning points for an AD service
      2. Acquiring information for deploying an AD service
        1. Availability, performance, and replication for the network service
      3. Setting up Samba 4 as an AD Domain Controller
        1. Validating the Samba 4 configuration
      4. Summary
    12. 3. Managing the Samba Active Directory Server
      1. Understanding the possible roles of the Samba 4 Server on the network
      2. Implementing the AD authentication and authorization for GNU/Linux systems
        1. Configuring the PAM and NSS libraries
        2. Joining the Debian 7 GNU/Linux into our Active Directory Domain
      3. Starting with the basic concepts for Group Policies on Samba 4
        1. Allowing a user to create Group Policies
        2. Allowing a user to link Group Policies to OUs
        3. Creating a Group Policy
      4. Trust relationships and replication with Samba 4
      5. Summary
    13. 4. Replacing a Microsoft Windows Active Directory Server
      1. Key points to consider before replacing an AD DC
      2. Planning the replacement – tests and validations
        1. Exporting directory entries
        2. Comparing backup data against live data
        3. Replacing the Active Directory Domain Controller
      3. Replacement tests and validations
      4. Summary
    14. 5. Upgrading from Samba Server Version 3
      1. Distinguishing between Samba Versions 3 and 4
      2. Key points for consideration before the upgrade
        1. Establishing an upgrade plan
        2. Creating tests and validations before the upgrade
        3. Executing the Samba Server upgrade procedure
        4. Stopping and disabling Samba and winbind daemons
        5. Editing the Samba 4 configuration file
        6. Configuring the reverse zone
        7. Adding the profiles share to the configuration
      3. Deciding the upgrade approach for Member Servers
        1. Upgrading tests and validations for the PDC
        2. Upgrading tests and validations for Member Servers
      4. Summary
    15. 6. Printing and File Services
      1. Introducing SMB/CIFS protocol versions and Samba 4
      2. Introducing the Samba 4 file and print server daemons
      3. Introducing Microsoft Windows print driver Versions 3 and 4
      4. Configuring a printer on the Samba 4 Server host using CUPS
      5. Sharing the printer on a Microsoft AD network using Samba
      6. Introducing Microsoft Windows Point and Print Samba Server configuration
      7. Sharing files using Samba 4
      8. Summary
    16. 7. Extending the Active Directory Schema Using Samba 4
      1. Planning an Active Directory schema extension
      2. Exporting the current Active Directory schema configuration
        1. Extending the Active Directory schema in practice
          1. Extending the Active Directory schema
        2. Testing and validating the Samba 4 Active Directory schema extension
      3. Summary
    17. 8. Implementing a Highly Available Distributed File Server
      1. Preparing the Debian GNU/Linux environment
      2. Configuring GlusterFS for high availability and scalability
      3. Integrating CTDB, GlusterFS, and the Samba 4 Server
      4. Executing tests and validations on the highly available file server
      5. Summary
    18. 9. The Samba 4 Python Scripting Interface
      1. Open source development and collaborative work
      2. Exploring and using the Python interface of the Samba 4 Server
      3. Introducing Samba 4 Python bindings
      4. Understanding the power of Python and the Samba 4 Server
      5. Summary
    19. A. References
    20. Index

Product information

  • Title: Implementing Samba 4
  • Author(s): Marcelo Leal
  • Release date: April 2014
  • Publisher(s): Packt Publishing
  • ISBN: 9781782166580