Testing changes to the smb.conf file

When you make changes to the smb.conf file, you should run the Samba utility testparm to make sure there are no errors in your smb.conf file before putting it into production use. When you run the testparm utility, you should see output similar to the following:

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[samba-test]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

[global]
workgroup = ARCADE
realm = ARCADE.NET
security = ADS
auth methods = guest, sam, winbind, ntdomain
passdb backend = tdbsam:/etc/samba/private/passdb.tdb
syslog = 0
enable core files = No
server signing = auto
machine password timeout = 0
adbindproxy backend = cdc:/usr/share/centrifydc/lib/libcapi.so
adbindproxy standard mappers = No
template shell = /bin/bash
winbind use default domain = Yes

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[samba-test]
path = /samba-test
read only = No
guest ok = Yes