202-450 Exam QuestionsBrowse all questions from this exam

202-450 Exam - Question 67


The Samba configuration file contains the following lines:

A workstation is on the wired network with an IP address of 192.168.1.177 but is unable to access the Samba server. A wireless laptop with an IP address

192.168.2.93 can access the Samba server. Additional trouble shooting shows that almost every machine on the wired network is unable to access the Samba server.

Which alternate host allow declaration will permit wired workstations to connect to the Samba server without denying access to anyone else?

Show Answer
Correct Answer: DE

To allow the wired workstations to connect to the Samba server without denying access to anyone else, the appropriate host allow declaration is 'host allow = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 localhost'. This solution permits all IP addresses within the 192.168.1.0 and 192.168.2.0 subnets, and localhost, to access the Samba server. This configuration aligns with the requirement to allow the wired workstations (in the 192.168.1.0 network) to connect without denying access to the wireless devices (in the 192.168.2.0 network) or localhost.

Discussion

6 comments
Sign in to comment
FabelhaftZuverlaessigerGorillaOption: E
Jul 22, 2020

Should be E only.

chavezdfOption: E
Aug 3, 2020

I agree, should be ony E

tcaseit
Dec 1, 2020

I don't think any of these are right. E would allow all of the 192.168.2.0/24 and 192.168.2.0/24 network which would include the host that is in the deny statement (192.168.2.31). According to the manpage any conflicts in allow/deny and the allow wins. https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html#HOSTSDENY

exco
Aug 24, 2021

The question is "... without denying access to anyone else?" So the only E is correct. P.S. In the question also not mentioned that there are two or more answers to chose.

ArminaOption: E
Feb 13, 2022

E is correct

serlanOption: E
Dec 1, 2022

E - ok

shawarovOptions: AE
Mar 23, 2023

A is correct answer according to ChatGPT

Mariobruhn
Mar 27, 2023

if you explain to chatgpt that with option A it would deny access to the wireless network, then chatgpt also said could only be answer E