Deck 18: Using Samba for Interoperating Linux and Windows

Full screen (f)
exit full mode
Question
Samba is an open-source tool developed under the GNU General Public License.
Use Space or
up arrow
down arrow
to flip the card.
Question
SMB is typically used in Linux environments.
Question
OpenSUSE is configured to give Linux machines access to Windows shares.
Question
To access the Samba server from a Windows machine, you must have a Samba user account that matches a regular Linux user account.
Question
SWAT is enabled by default.
Question
Samba handles authentication and authorization of users in both Linux and Windows by using passwords and ____.

A) directories
B) shares
C) domains
D) trusts
Question
Samba uses the ____ configuration file to provide services.

A) /etc/smb/smb.conf
B) /etc/samba/smb.conf
C) /etc/xinetd.d/config
D) /etc/xinetd.d/smb.conf
Question
Linux clients access shares via the ____ file.

A) /etc/xinetd.d/shares
B) /etc/shares
C) /etc/samba/smb.conf
D) /usr/share/
Question
Windows clients access shares through the ____.

A) active directory
B) $C directory
C) WINS service
D) Network window
Question
A standard Samba configuration file is divided into three sections enclosed by ____.

A) brackets
B) braces
C) parentheses
D) percent signs
Question
Which section of the Samba configuration file is mandatory?

A) [global]
B) [homes]
C) [printers]
D) [shares]
Question
Which share definition parameter in the Samba configuration file prevents users of a service from modifying files in the service's directory?

A) browseable
B) read only
C) inherit acls
D) valid users
Question
____ provides a means of sharing files on a server.

A) TCP
B) DHCP
C) SMB
D) RPC
Question
If you want to share information from a Linux machine to a Windows machine, you use ____.

A) NIS
B) DHCP
C) RPC
D) Samba
Question
Which smbclient command option is used to make tar-compatible backups of files on a Windows share?

A) The -T option
B) The -B option
C) The -W option
D) The -S option
Question
How can you bypass the default option to prompt for a password when using the smbclient command?

A) You can use the smbclient command -N option.
B) You can use the smbclient command -B option.
C) You can use the smbclient command -P option.
D) You can use the smbclient command -D option.
Question
What does the smbclient -L windows01 command do?

A) It locks the server named windows01 to prevent further modifications.
B) It mounts the windows01 server as a local host.
C) It loads the windows01 host into memory.
D) It lists available shares on the windows01 host.
Question
What does the smbclient -h command do?

A) It switches control to the client with the highest privilege.
B) It displays a summary of valid options for the smbclient command.
C) It lists available shares on a specified host.
D) It defines the home directory.
Question
Which smbtree command option is used to query the network by sending a request as a broadcast?

A) -q
B) -b
C) -S
D) -N
Question
What does the smbtree -D command do?

A) It deletes all domains.
B) It displays a description of a share when a client queries the server.
C) It displays a list of only domains.
D) It defines the workgroup the server appears to be in when queried by clients.
Question
What is the default password backend for older versions of Samba?

A) sambapw
B) sampaswd
C) smbpasswd
D) smbpw
Question
Where is the Samba password file, smbpasswd, stored?

A) In the /etc/samba directory.
B) In the [PWD] section of the configuration file.
C) In the /etc/xinetd.d/samba file.
D) In the /usr/share/ file.
Question
To use the smbpasswd password file with newer Windows versions, you have to enable encrypted passwords by modifying the smb.conf file to include the global parameter ____.

A) passwords = yes
B) encryption = enable
C) encrypt passwords = yes
D) encrypt = yes
Question
The preferred passdb backend introduced in Samba 3.4.0 is ____.

A) smbpasswd
B) tdbsam
C) passwd
D) passsmb
Question
SWAT is controlled by the ____ daemon.

A) BIND
B) sshd
C) tcpd
D) xinetd
Question
The SWAT configuration file is ____.

A) /etc/swat/smb.conf
B) /etc/samba/xinetd.d
C) /etc/xinetd.d/swat
D) /samba/xinetd.d/swat
Question
____________________ serves as an interface between two OSs, such as Linux and Windows, by using the protocols Server Message Block and Common Internet File System, which allow sharing information and resources between different OSs.
Question
____________________, originally developed by IBM and later modified by Microsoft, is a protocol that gives client computers read and write access to a network server.
Question
____________________ is the successor to the SMB protocol that allows users running different OSs to share resources across the network.
Question
A domain ____________________ is a server role or function that handles authentication on a Windows domain.
Question
Samba can be configured with the Web-based ____________________ (SWAT), which is bundled with the standard Linux package.
Question
Match each statement with an item

-Samba configuration global setting whereby setting this value to zero disables rescanning for new or removed printers.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting that defines the directory where roaming profiles are stored.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting that is used only by NT workstations and defines the local path the home directory is connected to.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting that is used to include one configuration file inside another.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting used to override the printcap name.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting that defines how printer status information is interpreted.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting that defines the home directory location for Windows 95/98 or NT Workstation users logging in to a Samba primary domain controller.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting that specifies whether user-defined shares can be accessed by unauthenticated users.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
Match each statement with an item

-Samba configuration global setting that specifies what the Samba server daemon does with user login requests that don't match a valid UNIX user in some way.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Question
What are Samba global settings and where are they stored?
Question
Describe the purpose of the Samba configuration file passdb backend global setting.
Question
What is the smbclient command used for?
Question
What is the smbtree command used for?
Question
How do you install the YaST Samba Server module?
Question
How does authentication take place if the PDC goes down?
Question
Within the Samba configuration module window, describe how the Start-up tab is used.
Question
Within the Samba configuration module window, describe how the Shares tab is used.
Question
Within the Samba configuration module window, describe how the Identity tab is used.
Question
Provide a general seven-step procedure for editing the SWAT configuration file and to start SWAT.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 18: Using Samba for Interoperating Linux and Windows
1
Samba is an open-source tool developed under the GNU General Public License.
True
2
SMB is typically used in Linux environments.
False
3
OpenSUSE is configured to give Linux machines access to Windows shares.
True
4
To access the Samba server from a Windows machine, you must have a Samba user account that matches a regular Linux user account.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
SWAT is enabled by default.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Samba handles authentication and authorization of users in both Linux and Windows by using passwords and ____.

A) directories
B) shares
C) domains
D) trusts
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
Samba uses the ____ configuration file to provide services.

A) /etc/smb/smb.conf
B) /etc/samba/smb.conf
C) /etc/xinetd.d/config
D) /etc/xinetd.d/smb.conf
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Linux clients access shares via the ____ file.

A) /etc/xinetd.d/shares
B) /etc/shares
C) /etc/samba/smb.conf
D) /usr/share/
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
Windows clients access shares through the ____.

A) active directory
B) $C directory
C) WINS service
D) Network window
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
A standard Samba configuration file is divided into three sections enclosed by ____.

A) brackets
B) braces
C) parentheses
D) percent signs
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
Which section of the Samba configuration file is mandatory?

A) [global]
B) [homes]
C) [printers]
D) [shares]
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
Which share definition parameter in the Samba configuration file prevents users of a service from modifying files in the service's directory?

A) browseable
B) read only
C) inherit acls
D) valid users
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
____ provides a means of sharing files on a server.

A) TCP
B) DHCP
C) SMB
D) RPC
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
If you want to share information from a Linux machine to a Windows machine, you use ____.

A) NIS
B) DHCP
C) RPC
D) Samba
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
Which smbclient command option is used to make tar-compatible backups of files on a Windows share?

A) The -T option
B) The -B option
C) The -W option
D) The -S option
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
How can you bypass the default option to prompt for a password when using the smbclient command?

A) You can use the smbclient command -N option.
B) You can use the smbclient command -B option.
C) You can use the smbclient command -P option.
D) You can use the smbclient command -D option.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
What does the smbclient -L windows01 command do?

A) It locks the server named windows01 to prevent further modifications.
B) It mounts the windows01 server as a local host.
C) It loads the windows01 host into memory.
D) It lists available shares on the windows01 host.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
What does the smbclient -h command do?

A) It switches control to the client with the highest privilege.
B) It displays a summary of valid options for the smbclient command.
C) It lists available shares on a specified host.
D) It defines the home directory.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
Which smbtree command option is used to query the network by sending a request as a broadcast?

A) -q
B) -b
C) -S
D) -N
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
What does the smbtree -D command do?

A) It deletes all domains.
B) It displays a description of a share when a client queries the server.
C) It displays a list of only domains.
D) It defines the workgroup the server appears to be in when queried by clients.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
What is the default password backend for older versions of Samba?

A) sambapw
B) sampaswd
C) smbpasswd
D) smbpw
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Where is the Samba password file, smbpasswd, stored?

A) In the /etc/samba directory.
B) In the [PWD] section of the configuration file.
C) In the /etc/xinetd.d/samba file.
D) In the /usr/share/ file.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
To use the smbpasswd password file with newer Windows versions, you have to enable encrypted passwords by modifying the smb.conf file to include the global parameter ____.

A) passwords = yes
B) encryption = enable
C) encrypt passwords = yes
D) encrypt = yes
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
The preferred passdb backend introduced in Samba 3.4.0 is ____.

A) smbpasswd
B) tdbsam
C) passwd
D) passsmb
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
SWAT is controlled by the ____ daemon.

A) BIND
B) sshd
C) tcpd
D) xinetd
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
The SWAT configuration file is ____.

A) /etc/swat/smb.conf
B) /etc/samba/xinetd.d
C) /etc/xinetd.d/swat
D) /samba/xinetd.d/swat
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
____________________ serves as an interface between two OSs, such as Linux and Windows, by using the protocols Server Message Block and Common Internet File System, which allow sharing information and resources between different OSs.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
____________________, originally developed by IBM and later modified by Microsoft, is a protocol that gives client computers read and write access to a network server.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
____________________ is the successor to the SMB protocol that allows users running different OSs to share resources across the network.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
A domain ____________________ is a server role or function that handles authentication on a Windows domain.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
Samba can be configured with the Web-based ____________________ (SWAT), which is bundled with the standard Linux package.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
Match each statement with an item

-Samba configuration global setting whereby setting this value to zero disables rescanning for new or removed printers.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Match each statement with an item

-Samba configuration global setting that defines the directory where roaming profiles are stored.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Match each statement with an item

-Samba configuration global setting that is used only by NT workstations and defines the local path the home directory is connected to.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Match each statement with an item

-Samba configuration global setting that is used to include one configuration file inside another.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Match each statement with an item

-Samba configuration global setting used to override the printcap name.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
Match each statement with an item

-Samba configuration global setting that defines how printer status information is interpreted.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Match each statement with an item

-Samba configuration global setting that defines the home directory location for Windows 95/98 or NT Workstation users logging in to a Samba primary domain controller.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Match each statement with an item

-Samba configuration global setting that specifies whether user-defined shares can be accessed by unauthenticated users.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Match each statement with an item

-Samba configuration global setting that specifies what the Samba server daemon does with user login requests that don't match a valid UNIX user in some way.

A) map to guest
B) include
C) logon path
D) logon home
E) logon drive
F) usershare allow guests
G) printing
H) printcap name
I) printcap cache time
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
What are Samba global settings and where are they stored?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Describe the purpose of the Samba configuration file passdb backend global setting.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
What is the smbclient command used for?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What is the smbtree command used for?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
How do you install the YaST Samba Server module?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
How does authentication take place if the PDC goes down?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
Within the Samba configuration module window, describe how the Start-up tab is used.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Within the Samba configuration module window, describe how the Shares tab is used.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
Within the Samba configuration module window, describe how the Identity tab is used.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Provide a general seven-step procedure for editing the SWAT configuration file and to start SWAT.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.