A SMB server is used in a certain network type (workgroup, domain, active directory) with a specific role (stand-alone, primary domain controller, backup domain controller, etc) in that network. Samba has to be configured according to that role. Each of the chapters in this part describes how to configure Samba for a specific role.