| < Day Day Up > |
|
The following questions will help you measure your understanding of the material presented in this chapter. Read all the choices carefully, as there may be more than one correct answer. Choose all correct answers for each question. Don't focus exclusively on these questions. There are no longer any multiple choice questions on the Red Hat exams. These questions test your understanding of the chapter. Getting results, not memorizing trivia, is what counts on the Red Hat exams.
1. | A group that prefers Microsoft servers has set up a Windows 2000 server to handle their file and print sharing services. This server correctly refers to a WINS server on 192.168.55.3 for name resolution and configures all user logins through the PDC on 192.168.55.8. If you're configuring the PDC, what options do you have to configure in the local Samba configuration file?
|
|
2. | Which of the following files or commands is not a component of the Samba file-sharing service?
|
|
3. | You made a couple of quick changes to your Samba configuration file and you need to test it quickly for syntax errors. Which command should you run?
|
|
4. | You are asked to share the HR downloadable documents to Microsoft Windows users who are not that familiar with FTP and want a shared drive connection. Which of the following commands forces the Samba service to reread the configuration file-without having to disconnect your Microsoft users or restarting the service?
|
|
5. | Microsoft Windows users are complaining that they cannot see the shared Human Resources directory of documents, [hrdocs], in their Network Neighborhood diagram. Which of the following options should you delete from the [hrdocs] stanza in smb.conf?
|
|
6. | Which of the following files can you configure with mount or smbmnt style commands on a user-by-user basis?
|
|
7. | Based on the following code, which of the following things do you need to do to limit access to the following [tmp] share in /etc/samba/smb.conf to the local network, with a network IP address of 192.168.99.0? # This one is useful for people to share files [tmp] comment = Temporary file space path = /tmp read only = no public = yes
local only = yes Add the following command to the stanza: hosts allow = 192.168.99.Make sure the password server command points to the PDC on your network. |
|
Answers
1. | þ D. If you're configuring a PDC, you'll want the security = user command in the local /etc/samba/smb.conf file. |
2. | þ C. This is a tricky question. smbclient is a client command; it is not part of the service that provides Samba file shares. |
3. | þ D. testparm is the smb.conf configuration file syntax and semantics checker. |
4. | þ C. This is one way to tell Samba to reload the configuration file without restarting. This is a little tricky, as I've been using the service command instead of the /etc/rc.d/init.d directory path. |
5. | þ B. A share must be marked as browseable before it will show up in a Microsoft tool such as Network Neighborhood or My Network Places. |
6. | þ B. The .bash_logout file in users' home directories (~) is a good place to include umount and smbumount commands. |
7. | þ A and C. A firewall can effectively block communication to a Samba server from an outside network. And the given hosts allow command limits access to the given network; no additional hosts deny command is required. |
8. | You want to look at your current printer configuration in a GUI desktop interface. What command might you use to start a GUI printer configuration tool?
|
|
9. | You have a group of printers that you want to configure as a printer class. Which of the following tools can you use?
|
|
10. | Which of the following commands can you use to remove a print job with a known job number from the print queue?
|
|
Answers
8. | þ B and C. The redhat-config-printer and printconf-gui commands, when run in the GUI desktop, start the Red Hat Printer Configuration tool. |
9. | þ A and D; or C. If you know the language associated with CUPS configuration files, you can set up a printer class by directly editing the /etc/cups/classes.conf file. You'll need to add the name of the printer class to the /etc/printcap list. Alternatively, you can configure a printer class through the CUPS Web-based tool. |
10. | þ D. The lprm command can be used to remove a print job with a known job number from the print queue. |
| < Day Day Up > |
|