DistributedNetworks DistributedNetworks

Samba Server   «Prev 

Test Samba Server

First, test your configuration with the testparm command. You can view this command's entire output, or just the first few lines. If it detects any syntax errors, you will be notified near the top of the output. Notice that | head limits the command's output to just the first 20 lines.

The smbclient -L command lists all shares currently defined on the server "toxic." Notice that no user was given on the command line, so Samba defaulted to guest access.

Finally, you interactively access the projects share using the smbclient command. Notice that a user name appears on the command line. By default, Samba does not allow guest access to writeable shares