NCAE Mapping Hub
Overview Scoreboard Data Roles Exercised Checklists Lessons Skill Drills Practice Terminal Progress
SMB Read partial 1x weight estimate

SMB Read. the scoring engine's expected file is missing from the share

SMB operation failed: Failed to get attributes for addict_with_a_pen.data on files: Unable to connect to shared device
Events
41
Pts per check
1.4
Pts missed
56.9
Teams hit
1/13

Authority mappings

Which work roles, knowledge units, and EWU courses this error pattern touches. Hover for context, click to drill in.

EWU courses: CSCD240-S26 CSCD210 CSCD212 CSCD240 CSCD327 CSCD380 CSCD470 CSCD496

What the message means

SMB Read's check does: login, open `//<server>/files`, retrieve attributes for `addict_with_a_pen.data`. The file does not exist. This is a **free-points bug**. at the 2026-03-14 regional NO team scored any SMB Read uptime. Creating the file exceeds the field on this service.

Why the service is down

Commands in order

  1. 1. 1. Find the share's filesystem path
    testparm -s 2>/dev/null | awk '/^\[files\]/,/^\[/' | awk '/path = /{print $3; exit}'
    Expect
    e.g., /srv/samba/files
    Interpret and next
    Save this path as $SHARE for the next steps.
  2. 2. 2. Does the file already exist?
    ls -la $SHARE/addict_with_a_pen.data 2>/dev/null || echo MISSING
    Expect
    MISSING (likely) OR existing file with permissions
    Interpret and next
    If MISSING, create in step 3.
  3. 3. 3. Create the file (empty is fine)
    touch $SHARE/addict_with_a_pen.data chmod 644 $SHARE/addict_with_a_pen.data chown nobody:nogroup $SHARE/addict_with_a_pen.data
    Expect
    No error output
    Interpret and next
    Permissions: world-readable so the Samba user can get attributes.
  4. 4. 4. Verify via smbclient as the scoring user
    smbclient //localhost/files -U keons -c 'ls addict_with_a_pen.data'
    Expect
    Line showing the file with size + timestamp
    Interpret and next
    NT_STATUS_OBJECT_NAME_NOT_FOUND = wrong share path; NT_STATUS_ACCESS_DENIED = permissions.
  5. 5. 5. Watch the next scoreboard tick (60–90s)
    # Refresh scoreboard or use scraper.py
    Expect
    SMB Read status flips to success
    Interpret and next
    If still failing, check SMB Login is also passing (SMB Read depends on Login).

Decision tree

Answer each question to route to the right fix.

Q: Does the file exist at the share path?
Yes:
Q: Can smbclient list it as the scoring user?
Yes: Now check SMB Login. Read won't score if Login is red.
No: Permissions. loosen to 644 and chown appropriately.
No: touch + chmod 644 + chown (step 3).

External references

Other patterns on this service