Other Samba Components

The Samba package includes a number of additional tools. These are each described in man samba; we will also cover each one briefly here. Each one has its own man page for further details.

  • smbclient— A simple FTP-like client that allows you to connect to remote SMB shares and print to remote Windows printers.

  • testparm— A configuration file syntax checker that tests your smb.conf for correctness; similar to apachectl configtest for Apache.

  • testprns— Tests whether the printers specified in /etc/printcap will work properly with Samba.

  • smbstatus— Displays current connections to the Samba server. SWAT, as we saw earlier, has a page that shows the formatted output of this command in a Web browser.

  • nmblookup— Allows you to make NetBIOS ...

Get FreeBSD® Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.