Try to answer these 60+ Samba MCQs and check your understanding of the Samba subject.
Scroll down and let's begin!
A. Principle Domain Catalyst
B. Primary Disk Controller
C. Primary Domain Controller
D. Principle Domain Catalyst
A. One for each client connected to Samba
B. At least one, and an additional one for each printer being used by Samba
C. At least one, and an additional process for each client connected to Samba
A. It provides LDAP services to clients
B. It provides Active Directory services to clients
C. It provides NetBIOS name resolution services to clients
D. It provides file sharing and print services to clients
A. list
B. add
C. Post
D. delete
A. ADS Domain Controller
B. All of the above
C. Primary Domain Controller
D. Backup Domain Controller
A. False
B. True
A. SWAT
B. SWOT
C. L-Soft
D. Archy
A. syslog only = yes
B. socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
C. encrypt passwords = false
D. obey pam restrictions = no
A. /etc/passwd
B. adduser
C. addgrp
D. /etc/shadow
E. smbpasswd
A. FALSE
B. True
A. It provides LDAP services to clients
B. It provides file sharing and print services to clients
C. It provides Active Directory services to clients
D. It provides NetBIOS name resolution services to clients
A. Preliminary Dos Contributor
B. Primary Domain Controller
C. Post Data Controller
D. Primary Data Class
A. smbrowser
B. smbstatus
C. route
D. traceroute
E. ping
A. A simple command-line sharing monitor
B. An easy-to-use, Web-based tool
C. A powerful security system
D. An alternative to Samba
A. True
B. False
A. Integer
B. Boolean
C. Character String or List
D. All of the above
A. Map IP addresses to domain names
B. Map IP addresses to logical addresses
C. Map IP addresses to IPX names
D. Map IP addresses to NetBIOS names
E. Map IP addresses to subnet addresses
A. Pluggable Authentication Mode
B. Plug And Mend
C. Pluggable Administrative Mode
D. Pluggable Authentication Modules
A. smbd performs NetBIOS lookups. & nmbd performs file and print sharing.
B. smbd performs file and print sharing. & nmbd performs NetBIOS lookups.
A. Yes, an entry can be placed in /etc/fstab to mount smb file systems
B. Yes, by mounting the remote file system using NTFS instead ofsmb
C. No,smb file systems cannot be mounted on Linux systems
D. No, only localsmb file systems may be mounted on Linux systems
A. path = /home/samba/%n
B. path = /home/samba/%h
C. path = /home/samba/%q
D. path = /home/samba/%s
E. path = /home/samba/%u
A. named
B. nmbd
C. smbd
D. swat
A. encryptpasswd = yes & encrypt = /etc/shadow
B. smb passwd file = /usr/local/etc/smbpasswd & encrypt passwords = yes
C. encryptpass = /usr/local/etc/smbpasswd
A. smbpasswd -f /etc/passwd <username>
B. smbpasswd <username>
C. smbpasswd -U -F <username>
D. smbpasswd -U <username>
A. root users =sam, bob, erica
B. admin users =sam, bob, erica
C. users =sam, bob, erica
D. superusers = sam, bob, erica
A. The "change notify timeout" parameter of the smb.conf file is set to 1200
B. The "browse list" parameter of thesmb.conf file is set to 1200
C. The "browseable" parameter of the smb.conf file is set to 1200
D. The "deadtime" parameter of the smb.conf file is set to 1200
A. Line 3 should be "workgroup =mydomain"
B. Line 2 should be "netbios name = true"
C. Line 1 should be "domain = security"
D. Line 4 should be "machine password timeout = true"
A. Workgroup members
B. Controller participants
C. Full participants
D. Domain members
A. hosts allow =nisnet EXCEPT badhost1, badhost2 hosts deny = ALL
B. hosts allow = @nisnet hosts deny = ALL EXCEPT badhost1, badhost2
C. hosts allow = @nisnet hosts deny = badhost1, badhost2
D. hosts allow = *.nisnet hosts deny = !badhost1, !badhost2
A. Samba will use the IP address 192.168.1.0 when making DNS requests.
B. Samba will only serve requests to the IP address 192.168.1.0.
C. Hosts outside the local area network will not be allowed to connect to the Samba shares.
D. Samba will not accept connection requests from the 192.168.1 subnet.
A. root# smbpasswd -d smitty
B. root# smbpasswd -e smitty
C. root# smbpasswd -E smitty
D. root# smbpasswd -d smitty!
A. Enter a new DWORD Value named "EnablePlainTextPassword" with a value of one.
B. Enter a new Binary Value named "EnablePlainTextPassword" with a value of one.
C. Enter a new String Value named "EnablePlainTextPassword" with a value of zero.
D. Enter a new Host Value named "EnablePlainTextPassword" with a value of zero.
A. Edit thesmb.conf file to include the parameter "include=/usr/local/samba/bin"
B. Edit the /etc/samba/smb.conf file to change Fred's environment to look in /usr/local/samba/bin for commands
C. Edit the /etc/profile file to change Fred's environment to look in /usr/local/samba/bin for commands
D. Add Fred's paths to the /path directory
A. a comprised list of all usernames available on your server
B. a mechanism for translating a login name sent by a client in the session setup request to a local Unix username.
C. a program to adjust user permission levels eg make admins, superusers etc
D. a mechanism used to "blacklist" all users that cannot access, or edit any disk shares
A. comment = this is not / a comment
B. comment = this is not \ a comment
C. comment = this is not & a comment
D. comment = this is not /n a comment
A. The IP address associated with each machine
B. The name of the print share
C. The name of the printer
D. The type of printing supported by the OS for this queue
A. WINS-based
B. zero-based
C. SMB-based
D. One off
A. Someone using a network sniffer cannot just record passwords going to the SMB server.
B. Use of other services (such as Telnet and FTP) that send plaintext passwords over the network makes sending them for SMB easy.
C. Plaintext passwords are not kept on disk and are not cached in memory.
D. Plaintext passwords use the same password file as other UNIX services, such as Login and FTP.
A. It defines the maximum number of TCP ACKs the server can transmit to the clients
B. It defines the maximum NetBIOS queries a server can accept
C. It defines the maximum number of packets that are stored in RAM before they are written to disk
D. It defines the maximum packet size that Samba exchanges with a client
A. It provides access to a Samba-enabled computer from a Windows machine
B. It allows a Windows share to be mounted from a computer running Linux
C. It provides access to shared resources on a Windows computer
D. It provides access to Linux shares from a Windows computer
A. TRUE
B. False
A. mksmbpasswd.sh /usr/local/samba/private/smbpasswd
B. cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd
C. mksmbpasswd.sh | /etc/passwd > /usr/local/samba/private/smbpasswd
D. cat /etc/passwd > /usr/local/samba/private/smbpasswd
A. She has "signed" the client (client1) certificate and authorized it to use the server
B. She has removed the client (client1) certificate from the system
C. She has created a temporary file (client1.pem) that generates a public certificate for the client (client1)
A. wins support = yes obey pam restrictions = no encrypt passwords = false
B. security = share encrypt passwords = false
C. wins support = yes dns proxy = yes name resolve order = wins lmhosts host bcast
D. lanman auth = yes client lanman auth = yes client plaintext auth = yes
E. winbind enum users = no usershare allow guests = yes
A. This prevents users other than "bob" from accessing the "docs" share
B. This allows the "docs" share to beautomounted by "bob" on login
C. This prevents users listed ("bob") from accessing the "docs" share
D. This line is required for Samba to export the "docs" share
E. This allows automatic logins and logouts to the "docs" share
A. user, isam, winbind, ads, domain
B. user, sam, ad, domain, localdomain
C. guest, sam, winbind, ntdomain, trustdomain
D. user, guest, winbind, ads, domain
E. guest, isam, ad, ntdomain, trustdomain
A. %p
B. %I
C. $p
D. %i
A. It allows Samba to mapUnix permissions to MS-DOS modes.
B. It allows Samba to map MS-DOS modes toUnix permissions.
C. It allows authentication forUnix with MS-DOS.
D. It allows Samba to overrideUnix and MS-DOS permissions.
E. It allows authentication for MS-DOS withUnix.
A. smbd will hold elections for preferred master but not for domain master.
B. nmbd will hold elections with a guarantee of winning.
C. smbd will bypass the election process and become preferred master.
D. nmbd will not hold elections for domain master.
A. He is connecting to a Windows NT machine called "NTmachine" as administrator.
B. He is adding a Windows NT machine called "NTmachine" to Samba's list of secure systems.
C. He is defining the method by which RPCs connect to and communicate with the Samba server; in this case using a login and password combination.
D. He is resetting the password and login on "NTmachine" to "NTDOM" and "administrator," respectively.