Question 1
Topic: Samba Basics
Skill tested: Diagnoses Samba service activation and validates effective configuration before deployment.
A Linux file server was migrated to a new host. The package installation completed, but clients cannot connect and the administrator is unsure which Samba services are enabled. The host is intended to provide SMB file sharing only; it will not serve as an AD domain controller or provide NetBIOS name service. The configuration file has been copied from the old host, and the maintenance window allows a controlled validation before clients are redirected. What is the best next operational procedure?
For an ordinary Samba file server, smbd provides SMB file and printer services. Since the stated design does not require NetBIOS name service, nmbd is not required; winbindd is likewise not universally required for standalone sharing. Running testparm first checks the parsed configuration and can reveal errors before cutover. Checking the active service state and logs then confirms whether smbd started successfully. Starting nmbd alone cannot serve SMB shares, and restarting everything without validation risks repeating a configuration failure.