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.
Press enter to see a dump of your service definitions

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

comment = Home Directories
read only = No
browseable = No

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

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