User Tools

Site Tools


ubuntu:samba:verify_samba_configuration_settings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:samba:verify_samba_configuration_settings [2020/07/15 09:30] – external edit 127.0.0.1ubuntu:samba:verify_samba_configuration_settings [2023/06/09 16:45] (current) peter
Line 3: Line 3:
 Because Samba uses an extremely large amount of parameters in smb.conf, developers have provided a command line tool for verifying the syntax of a configuration file. Because Samba uses an extremely large amount of parameters in smb.conf, developers have provided a command line tool for verifying the syntax of a configuration file.
  
-The utilitynamed testparm.+This utility is named **testparm**. 
 + 
 +<WRAP info> 
 +**NOTE:**  It is being mentioned here again so that we do not overlook simple smb.conf errors when hunting for the source of a problem. 
 +</WRAP>
  
-It is being mentioned here again so that we do not overlook simple smb.conf errors when hunting for the source of a problem. 
  
 <code bash> <code bash>
Line 11: Line 14:
 </code> </code>
  
-**NOTE**:  Can be instructed to parse a specific configuration file by using the **-s** option.+---- 
 + 
 +===== Test a specific Samba configuration file =====
  
 It is a good idea to run the check on a new configuration file before putting it into production. It is a good idea to run the check on a new configuration file before putting it into production.
 +
 +  * Specific a specific configuration file by using the **-s** option.
  
 <code bash> <code bash>
Line 19: Line 26:
 </code> </code>
  
-result:+returns:
  
 <code bash> <code bash>
Line 34: Line 41:
  
  
-After reviewing the specified configuration file, testparm continues to print a version of smb.conf that contains all parameter values, including default ones. This can help to verify that smbd and nmbd are using the values that you expect.+<WRAP info> 
 +**NOTE:**  After reviewing the specified configuration file, **testparm** continues to print a version of smb.conf that contains all parameter values, including default ones. 
 + 
 +  * This can help to verify that smbd and nmbd are using the values that you expect. 
 + 
 +</WRAP>
  
ubuntu/samba/verify_samba_configuration_settings.1594805433.txt.gz · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki