nerdexam
Linux_Foundation

LFCS · Question #449

Within smb. conf, which security setting will NOT require that a client connect using a valid usernarne and password before connecting to a shared resource?

The correct answer is B. security=share. The security = share setting in smb.conf allows clients to connect to a shared resource without explicit username and password authentication, relying on share-level access permissions.

Submitted by krish.m· Apr 18, 2026Service Configuration

Question

Within smb. conf, which security setting will NOT require that a client connect using a valid usernarne and password before connecting to a shared resource?

Options

  • Asecurity = user
  • Bsecurity=share
  • Csecurity = server
  • Dsecurity=guest

How the community answered

(37 responses)
  • A
    3% (1)
  • B
    86% (32)
  • C
    8% (3)
  • D
    3% (1)

Why each option

The `security = share` setting in `smb.conf` allows clients to connect to a shared resource without explicit username and password authentication, relying on share-level access permissions.

Asecurity = user

`security = user` requires clients to authenticate with a valid username and password recognized by Samba.

Bsecurity=shareCorrect

When `security = share` is configured in `smb.conf`, Samba authenticates access at the share level, meaning clients do not need to provide a valid username and password to connect; access is determined by the permissions configured for the specific share.

Csecurity = server

`security = server` mandates that clients authenticate against another SMB server, which still requires valid credentials.

Dsecurity=guest

`security = guest` maps client connections to a guest account, but it is often used in conjunction with other security modes or share configurations; `security = share` is the explicit mode that directly permits connection without an authenticated user.

Concept tested: Samba security modes (smb.conf)

Source: https://www.samba.org/samba/docs/current/manpages/smb.conf.5.html

Topics

#Samba#smb.conf#Security Settings#File Sharing

Community Discussion

No community discussion yet for this question.

Full LFCS Practice