Table of Contents
Implementing Samba 4
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
2. Provisioning Samba 4 as an 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
Setting up Samba 4 as an AD Domain Controller
Validating the Samba 4 configuration
Summary
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 the 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
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
5. Upgrading from Samba Server Version 3
Distinguishing between Samba Versions 3 and 4
Key points for 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 the upgrade approach for Member Servers
Upgrading tests and validations for the PDC
Upgrading tests and validations for Member Servers
Summary
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
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
8. Implementing a Highly Available Distributed File Server
Preparing the Debian GNU/Linux environment
Configuring GlusterFS for high availability and scalability
Integrating CTDB, GlusterFS, and the Samba 4 Server
Executing tests and validations on the highly available file server
Summary
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
A. References
Index
Copyright © 2014 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: April 2014
Production Reference: 1310314
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78216-658-0
www.packtpub.com
Author
Marcelo Leal
Reviewers
Kai Blin
Henry Gultom
Iulian-Nicu Șerbănoiu
Manikandan Somasundaram
Acquisition Editors
Akram Hussain
Nikhil Karkal
Content Development Editor
Athira Laji
Technical Editors
Manan Badani
Shali Sasidharan
Copy Editors
Tanvi Gaitonde
Aditya Nair
Stuti Srivastava
Project Coordinator
Sanghamitra Deb
Proofreaders
Mario Cecere
Maria Gould
Clyde Jenkins
Indexer
Monica Ajmera Mehta
Graphics
Sheetal Aute
Disha Haria
Yuvraj Mannari
Production Coordinator
Nilesh Bambardekar
Cover Work
Nilesh Bambardekar
Shared, networked file and print services are the heart and blood of any office environment. They allow users of a network to store their files reliably, share them with each other, and bridge the gap between multiple places of work, multiple devices and tools, and multiple operating systems.
The latter aspect is key to a modern work environment: integrating the worlds of Unix/Linux and Mac OS X with the traditional Windows PC environment not only allows users of a "foreign" OS to collaborate in a Windows-dominated world, it also enables Windows environments to benefit from the power of Unix/Linux server environments with advanced networkin...