Installing and Configuring Samba
Samba is available in the ports at /usr/ports/net/samba or in the packages. Refer to Chapter 15, “Installing Additional Software,” for details on how to install a package or port.
Once you have installed the Samba package, there will be a variety of new items installed: daemon executables (in /usr/local/sbin), administrative tools (in /usr/local/bin), documentation and examples (in /usr/local/share), and configuration files that go into /usr/local/etc. Some of the possible config files don't exist in the default installation; you have to create them from scratch if you want to take advantage of their functionality. There are also code pages (in /usr/local/etc/codepages) that map Windows character sets to UNIX ...
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.