Free 300-300 Exam Braindumps (page: 3)

Page 2 of 15

Which parameter within a share definition in the Samba configuration makes Samba only show files and directories on a file share which a user can access?

  1. hide unreadable = yes
  2. valid files = read,write
  3. browse mask = 000
  4. browseable = readable
  5. display mode = 100

Answer(s): A

Explanation:

hide unreadable: This smb.conf option ensures that only files and directories that the user has permissions to access are visible in the file share. Functionality: When set to yes, files and directories that the user cannot read (due to permissions) will be hidden from their view.
Security and Usability: This helps in enhancing both security and usability by preventing users from seeing files they cannot access, reducing clutter and potential confusion.
Example Configuration:
[example_share] hide unreadable = yes


Reference:

Samba smb.conf Documentation



Which of the following lines is missing in the given [printers] share definition?

  1. printcap name = cups
  2. printable = yes
  3. print script = /usr/bin/lp -d %P %s
  4. print admin = Administrator, root, @lpadmin
  5. load printers = yes

Answer(s): B

Explanation:

In the context of a Samba configuration for printer shares, the [printers] section usually requires the printable = yes directive to indicate that the share is meant for printing. Without this directive, Samba would not treat the share as a printer share, even if other settings like path are configured properly.
The given snippet is:
The line printable = yes is missing and is essential for defining a printer share.


Reference:

Samba Official Documentation - Printer Sharing



The [homes] section of smb.conf contains the parameter browseable = no.
What are the resulting consequences? (Choose two.)

  1. When browsing the Samba server, there is no visible share named after the current user.
  2. If the Samba server is part of an Active Director/ Domain, only users in the qroup Se3rowsingUsers can browse the homes share.
  3. When browsing the Samba server, users can open the homes share but they cannot see the content of their home directories.
  4. The homes share can be directly accessed by specifically opening this share by its UNC path.
  5. When browsing the Samba server, there is no visible share called homes.

Answer(s): A,D

Explanation:

When browseable = no is set in the [homes] section of smb.conf, it prevents the share from appearing in the list of available shares when users browse the server. However, users can still access their home directories if they specify the correct UNC path directly. A .
When browsing the Samba server, there is no visible share named after the current user. The share will not appear in the list of shares visible to the user during browsing. D . The homes share can be directly accessed by specifically opening this share by its UNC path. Users can still access the share by directly typing the path in the form \\servername\username.


Reference:

Samba Official Documentation - Home Directories



Which Samba utility, when launched with the appropriate parameters, generates the following output?

  1. smbcacls
  2. smbclient
  3. getfacl
  4. smbxattr
  5. smbfacl

Answer(s): A

Explanation:

The smbcacls utility is used to manage Windows ACLs on Samba shares. The output format shown in the image suggests it relates to detailed ACL information, which is typically generated by smbcacls.


Reference:

Samba smbcacls man page






Post your Comments and Discuss LPI 300-300 exam with other Community members:

300-300 Discussions & Posts