What's changed: Initial version (topic 2.11, subtopics 2.11.1–2.11.2)
5.1Configuring and Managing Samba
Learn to configure and manage Samba for sharing files and printers with Windows clients: the /etc/samba/smb.conf configuration file, the roles of the smbd, nmbd, and winbindd daemons, syntax validation with testparm, managing Samba users with smbpasswd, operational monitoring with smbstatus and smbcontrol, client-side operations and AD integration via smbclient, net, and samba-tool, and user mapping plus ACL management with getfacl/setfacl.
Mixed environments constantly need "use a Linux server's files as an ordinary network drive from Windows." Samba implements the SMB/CIFS protocol, turning Linux into a share server (sometimes an AD domain member) as seen from Windows. It carries the heaviest weight (importance 4) in this subtopic on exam 202.
5.1.1Configuration file and daemons
- The heart of configuration is /etc/samba/smb.conf. The
[global]section sets server-wide behavior (workgroup/domain, security mode, etc.); each[sharename]section defines a share's path and permissions. Logs live under /var/log/samba/ by default. - smbd is the core file/printer sharing daemon—it handles SMB/CIFS connections, authentication, and access control. nmbd handles NetBIOS name resolution and browsing (NetBIOS over TCP/IP, master browser duties). winbindd pulls Windows domain/AD user and group information into Linux, mapping them to Unix accounts and enabling AD-integrated authentication.
Continue reading — free sign-up
You're reading the free preview. Sign up free to read this section in full, plus every chapter (including 4+) and all questions.

