Search icon CANCEL
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
Learning RHEL Networking

You're reading from   Learning RHEL Networking Gain Linux administration skills by learning new networking concepts in Red Hat Enterprise Linux 7

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781785287831
Length 216 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (13) Chapters Close

Preface 1. Introducing Enterprise Linux 7 FREE CHAPTER 2. Configuring Network Settings 3. Configuring Key Network Services 4. Implementing iSCSI SANs 5. Implementing btrfs 6. File Sharing with NFS 7. Implementing Windows Shares with Samba 4 8. Integrating RHEL 7 into Microsoft Active Directory Domains 9. Deploying the Apache HTTPD Server 10. Securing the System with SELinux 11. Network Security with firewalld Index

Troubleshooting Samba


If we are having problems with Samba, we can always check the output from the testparm command again and ensure that we have not missed anything vital. We can check which setting is valid from the man pages for smb.conf should be concerned over some settings.

We can also check the log files. These are located in the /var/log/samba/ directory.

There will be logs that represent client access, as shown in the following command:

log.<client ip-address>

OR:

log.<client-hostname>

There will also be the log.smbd daemon log.

If you need more details on the daemon log, set the log level attribute in the [global] section of the smb.conf as follows:

log level = 3

This raises the verbosity of logging, which may help. We suggest not leaving the level set this high and removing the setting when it's no longer required. The log level can be configured from 0 to 10, where 0 is low and 10 is high, but level 3 is as verbose as most people will need.

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