NCAE Mapping Hub
Overview Scoreboard Data Roles Exercised Checklists Lessons Skill Drills Practice Terminal Progress
published priority 1 30 min. 50 XP.

Samba Share Basics. Keep SMB Login Green

The #1 scoring check by weight is SMB Login (3× points). This lesson teaches you to verify Samba is running, add the scoring users, define the `files` share, and prove external access. all in under 10 minutes.

Objectives

Quick reference

CommandPurpose
systemctl status smbd Is Samba running?
ss -tlnp | grep :445 Is port 445 listening?
testparm -s Validate smb.conf syntax + show parsed config
pdbedit -L List Samba users
smbpasswd -a <user> Add Samba user (prompts for password)
smbclient -L //localhost -U <user> List shares as that user
smbclient //host/share -U <user> -c 'get <file>' Retrieve a file

Common pitfalls

Skill drills

  1. 1. Samba's config parser tool is called ____?
    testparm
  2. 2. What port is SMB on?
    445
  3. 3. What file does the scoring engine look for in the `files` share?
    addict_with_a_pen.data
  4. 4. Name of the daemon that serves SMB on Linux?
    smbd

NCAE scoreboard patterns this lesson prevents