Which parameters are available for samba-tool group add? (Choose two.)
The samba-tool group add command is used to add a new group to the Samba Active Directory. This command has several parameters to customize the group creation process. Two of the available parameters are --sid and --group-type.
--sid:
The --sid parameter allows you to specify a Security Identifier (SID) for the new group.
Example usage:
samba-tool group add mygroup --sid=S-1-5-21-1234567890-123456789-1234567890-1234
This command will create a new group named mygroup with the specified SID.
--group-type:
The --group-type parameter allows you to specify the type of the group being created. This can be a security group or a distribution group.
Example usage:
samba-tool group add mygroup --group-type=security
This command will create a new security group named mygroup.
Samba Official Documentation: samba-tool
Samba Active Directory Management: Managing Groups
FILL BLANK
What command checks the Samba configuration file for syntactical correctness? (Specify ONLY the command without any path or parameters.)
Purpose of the Command: testparm is used to check the Samba configuration file (smb.conf) for syntax errors.
Command
Running testparm will read the smb.conf file, parse it, and display any syntax errors or warnings. This helps ensure that the configuration is valid before restarting the Samba service.
Usage Example:
Simply execute testparm in the terminal, and it will automatically check the default configuration file.
Samba.org - testparm
Which of the following statements is true regarding Samba 4?
Samba 4 Features: Samba 4 introduces major enhancements over Samba 3, including the ability to function as an Active Directory (AD) Domain Controller.
Capability as AD Controller:
Samba 4 includes support for AD protocols, allowing it to manage domain users and computers similar to a Windows AD server.
Incorrect Statements Clarified:
Samba 4 is a significant update with new features.
Windows clients can connect to Samba 4 servers.
Samba 4 does not include a proprietary file system called sambafs.
Samba 4 can integrate with existing AD domains.
Samba Wiki - Samba4
How is Samba instructed to read its entire configuration from the registry?
Configuration Backend: Samba can be configured to read its settings from various backends, including the Windows registry.
Setting the Backend:
Adding config backend = registry in the [global] section of smb.conf instructs Samba to use the registry for its configuration.
Implementation Steps:
Open the smb.conf file.
Add the line config backend = registry under the [global] section.
Restart the Samba services to apply the changes.
Samba Wiki - Configuration
Which of the following commands terminates all running instances of the Samba daemon handling for SMB shares?
Samba is a suite of programs that allows SMB/CIFS clients to interact with file and print services on a Linux/UNIX server.
smbd is the Samba daemon responsible for handling SMB/CIFS requests.
The smbcontrol utility is used to send messages to running Samba daemons.
The correct way to terminate all running instances of the Samba daemon handling SMB shares is to send a shutdown message to smbd using the command smbcontrol smbd shutdown.
This command ensures that only the smbd processes, which are responsible for handling SMB shares, are terminated without affecting other Samba components like nmbd (NetBIOS name server daemon).
Samba documentation: https://www.samba.org/samba/docs/current/man-html/smbcontrol.1.html
Yong
13 hours agoWeldon
5 days agoMarylyn
6 days agoNickolas
21 days agoThurman
21 days agoFlo
30 days agoSharika
1 months agoVeronika
2 months agoDortha
3 months agoLeeann
3 months agoRoxane
3 months agoRobt
3 months agoViva
3 months agoPamella
4 months agoJenelle
4 months ago