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
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing Samba 4

You're reading from   Implementing Samba 4 Exploit the real power of Samba 4 Server by leveraging the benefits of an Active Directory Domain Controller.

Arrow left icon
Product type Paperback
Published in Apr 2014
Publisher
ISBN-13 9781782166580
Length 284 pages
Edition Edition
Arrow right icon
Author (1):
Arrow left icon
Marcelo Leal Marcelo Leal
Author Profile Icon Marcelo Leal
Marcelo Leal
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Implementing Samba 4
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
1. Installing the Samba 4 Server FREE CHAPTER 2. Provisioning Samba 4 as an AD Domain Controller 3. Managing the Samba Active Directory Server 4. Replacing a Microsoft Windows Active Directory Server 5. Upgrading from Samba Server Version 3 6. Printing and File Services 7. Extending the Active Directory Schema Using Samba 4 8. Implementing a Highly Available Distributed File Server 9. The Samba 4 Python Scripting Interface References
Index

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image