nerdexam
CompTIA

LX0-104 · Question #621

In the [global] section of the smb.conf file, the following parameter is set: map to guest = Bad Password Which of the following statements are true? (Select TWO correct answers.)

The correct answer is A. Users using an invalid password are treated as a guest account. D. This parameter is required to setup public shares on the samba server when the security parameter. When map to guest = Bad Password is set, users entering an invalid password are treated as a guest account, which is a common way to set up public shares when security = user is also configured.

Security

Question

In the [global] section of the smb.conf file, the following parameter is set: map to guest = Bad Password Which of the following statements are true? (Select TWO correct answers.)

Options

  • AUsers using an invalid password are treated as a guest account.
  • BUsers using an invalid password are rejected from accessing shares.
  • CUsers will receive warning messages that they are using an incorrect password
  • DThis parameter is required to setup public shares on the samba server when the security parameter

How the community answered

(30 responses)
  • A
    90% (27)
  • B
    3% (1)
  • C
    7% (2)

Why each option

When `map to guest = Bad Password` is set, users entering an invalid password are treated as a guest account, which is a common way to set up public shares when `security = user` is also configured.

AUsers using an invalid password are treated as a guest account.Correct

With `map to guest = Bad Password`, if a user provides a correct username but an incorrect password, Samba will automatically map that connection to the guest account, granting guest-level access.

BUsers using an invalid password are rejected from accessing shares.

This statement is false because `map to guest = Bad Password` specifically causes users with invalid passwords to be mapped to a guest account, rather than being rejected from accessing shares.

CUsers will receive warning messages that they are using an incorrect password

Samba typically does not provide explicit warning messages about incorrect passwords; it either grants access as a guest based on the `map to guest` setting or rejects the connection.

DThis parameter is required to setup public shares on the samba server when the security parameterCorrect

This parameter is frequently used in conjunction with `security = user` to enable public or anonymous shares, allowing users who fail authentication to be treated as a guest and access shares configured for guest access.

Concept tested: Samba guest access configuration

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

Topics

#Samba authentication#guest access#smb.conf parameters#security policy

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice