ubuntu:samba:verify_samba_configuration_settings
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:samba:verify_samba_configuration_settings [2023/06/09 16:43] – peter | ubuntu:samba:verify_samba_configuration_settings [2023/06/09 16:45] (current) – peter | ||
---|---|---|---|
Line 13: | Line 13: | ||
testparm | testparm | ||
</ | </ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE**: | ||
- | </ | ||
---- | ---- | ||
+ | |||
+ | ===== 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 26: | Line 26: | ||
</ | </ | ||
- | result: | + | returns: |
<code bash> | <code bash> | ||
Line 41: | 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: | ||
+ | |||
+ | * This can help to verify that smbd and nmbd are using the values that you expect. | ||
+ | |||
+ | </ | ||
ubuntu/samba/verify_samba_configuration_settings.1686328988.txt.gz · Last modified: 2023/06/09 16:43 by peter