Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing Samba 4

You're reading from  Implementing Samba 4

Product type Book
Published in Apr 2014
Publisher
ISBN-13 9781782166580
Pages 284 pages
Edition 1st Edition
Languages
Author (1):
Marcelo Leal Marcelo Leal
Profile icon Marcelo Leal
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 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

Executing tests and validations on the highly available file server


The first test we need to execute on our highly available file server is to try to access the share directly on the server localhost interface. We can perform this test using the smbclient tool as follows:

root@gluster1:~# smbclient -L localhost -U 'zisala%w1ndow$$'
Domain=[POA] OS=[Unix] Server=[Samba 4.0.9]

        Sharename       Type      Comment
        ---------       ----      -------
        share           Disk      Highly Available Share

root@gluster1:~#

Tip

It's assumed that even if you have specified the interfaces to bind the Samba 4 services, the loopback interface hangs your tests if you have removed this interface from your configuration.

Second, let's try to access using the VIPs as follows:

root@gluster1:~# smbclient -L 192.168.1.20 -U 'zisala%w1ndow$$'
Domain=[POA] OS=[Unix] Server=[Samba 4.0.9]

        Sharename       Type      Comment
        ---------       ----      -------
        share        ...
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 $15.99/month. Cancel anytime}