Courseiva
File Sharing and SambahardMultiple ChoiceObjective-mapped

LPIC-2 File Sharing and Samba Practice Question

Exhibit

[2024/10/25 11:00:00.123456,  0] ../../source3/smbd/service.c:1413(make_connection_snum)
  canonicalize_connect_path failed for service share2, path /srv/samba/share2
[2024/10/25 11:00:00.123457,  0] ../../source3/smbd/service.c:1458(make_connection_snum)
  make_connection_snum: canonicalize_connect_path failed.

Refer to the exhibit. A user cannot connect to the 'share2' Samba share. What is the most likely cause?

⚠ Common exam trap

Test-takers frequently assume a Samba share failure is due to service status or permissions, but the LPIC-2 exam emphasizes verifying the underlying filesystem path and its mount state as a prerequisite for share connectivity.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

The share path does not exist or is not accessible.

The most common cause of a user being unable to connect to a Samba share is that the share path specified in the smb.conf file does not exist or is not accessible by the Samba service. Samba does not create the underlying directory; it only maps the share name to a path. If the path is missing, permissions are wrong, or the filesystem is not mounted, the connection will fail with an error like 'NT_STATUS_OBJECT_PATH_NOT_FOUND'.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The Samba service is not running.

    Why it's wrong here

    Incorrect; if service were not running, there would be no connection attempt and no log.

  • The user does not have permission to read the share.

    Why it's wrong here

    Incorrect; permission errors produce different messages (e.g., access denied).

  • The share name is too long.

    Why it's wrong here

    Incorrect; share name length is not the cause of this error.

  • The share path does not exist or is not accessible.

    Why this is correct

    Correct; the path cannot be accessed, causing the failure.

About these practice questions

Courseiva writes every LPIC-2 question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.