LPI
202-450 · Question #216
The Samba configuration file contains the following lines: hosts allow = 192.168.1.100 192.168.2.0/255.255.255.0 localhost hosts deny = 192.168.2.31 interfaces = 192.168.1.0/255.255.255.0…
The correct answer is E. hosts allow = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 localhost. You've hit your weekly limit · resets 5am (America/New_York)
210 File Sharing
Question
The Samba configuration file contains the following lines: hosts allow = 192.168.1.100 192.168.2.0/255.255.255.0 localhost hosts deny = 192.168.2.31 interfaces = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 A workstation is on the wired network with an IP address of 192.168.1.117 but is unable to access the Samba server. A wireless laptop with an IP address of 192.168.2.93 can access the Samba server. Additional troubleshooting shows that almost every machine on the wired network is unable to access the Samba server. Which single choice below will permit wired workstations to connect to the Samba server without denying access to any one else?
Options
- Ahosts allow = 192.168.1.1-255
- Bhosts allow = 192.168.1.100 192.168.2.200 localhost
- Chosts deny = 192.168.1.100/255.255.255.0 192.168.2.31 localhost
- Dhosts deny = 192.168.2.200/255.255.255.0 192.168.2.31 localhost
- Ehosts allow = 192.168.1.0/255.255.255.0 192.168.2.0/255.255.255.0 localhost
How the community answered
(64 responses)- A6% (4)
- B2% (1)
- C14% (9)
- D3% (2)
- E75% (48)
Explanation
You've hit your weekly limit · resets 5am (America/New_York)
Topics
#Samba#hosts allow#hosts deny#access control
Community Discussion
No community discussion yet for this question.