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

Replacement tests and validations


Let's start with the DNS validations; first, we'll validate the SOA and NS records for our poa.msdcbrz.eall.com.br domain as follows:

leal@debian7:~$ dig -t any poa.msdcbrz.eall.com.br

;; ANSWER SECTION:
poa.msdcbrz.eall.com.br. 900  IN  A  192.168.1.1
poa.msdcbrz.eall.com.br. 3600  IN  NSdebian7.poa.msdcbrz.eall.com.br.
poa.msdcbrz.eall.com.br. 3600  IN  SOAdebian7.poa.msdcbrz.eall.com.br. hostmaster.poa.msdcbrz.eall.com.br. 52 900 600 86400 3600

Now let's see how the entries are for _msdcs.poa.msdcbrz.eall.com.br:


dig -t any _msdcs.poa.msdcbrz.eall.com.br
;; ANSWER SECTION:
_msdcs.poa.msdcbrz.eall.com.br.  3600 IN  NSdebian7.poa.msdcbrz.eall.com.br.
_msdcs.poa.msdcbrz.eall.com.br.  3600 IN  SOAdebian7.poa.msdcbrz.eall.com.br. hostmaster.poa.msdcbrz.eall.com.br. 30 900 600 86400 3600

Tip

When executing commands that need a password, it is a good practice not to provide the password at the command line as it is saved in the history of the server....