Book Image

Implementing Samba 4

By : Marcelo Leal
Book Image

Implementing Samba 4

By: Marcelo Leal

Overview of this book

Table of Contents (19 chapters)
Implementing Samba 4
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
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        ...