How To Check Samba Configuration Is Correct?
- Forums
- Linux Hosting
- How To Check Samba Configuration Is Correct?
i have a samba server running on my linux server and its not working correctly, how can i check if its working properly or not? [1393], Last Updated: Mon Jun 24, 2024
Starman
Sat Apr 03, 2010
1 Comments
1087 Visits
i have a samba server running on my linux server and its not working correctly, how can i check if its working properly or not?
NAME testparm - check an smb.conf configuration file for internal correctness SYNOPSIS testparm [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP] DESCRIPTION This tool is part of the samba(7) suite. testparm is a very simple test program to check an smbd(8) configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that smbd will successfully load the configuration file. Note that this is NOT a guarantee that the services specified in the configuration file will be available or will operate as expected. If the optional host name and host IP address are specified on the command line, this test program will run through the service entries reporting whether the specified host has access to each service. If testparm finds an error in the smb.conf file it returns an exit code of 1 to the calling program, else it returns an exit code of 0. This allows shell scripts to test the output from testparm.https://www.webune.com/forums/20100403ccxx.html