O'Reilly logo

Learning RHEL Networking by Andrew Mallett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required