Overview
I configured an Ubuntu server as a Samba file server with a shared folder that needs a login, then opened the share from a Windows computer.
What I set out to do
- Share files from a Linux server to Windows computers.
What I did
- I created the shared folder and the share named Shared.
- I checked the configuration with testparm.
Screenshots
They are in the same order as in my repository. Click one to see it full size.
1. Samba Service StatusShows the Samba SMB service running successfully on the Ubuntu server. 2. Shared DirectoryShows the directory created for the Samba shared folder. 3. Samba Share ConfigurationShows the configured Samba `Shared` network share and its access settings. 4. Configuration TestShows the Samba configuration validated successfully using `testparm`. 5. Share List and ConnectionShows the `Shared` SMB share discovered and accessed using `smbclient`. 6. File TransferShows successful file transfer through the Samba share. 7. Windows Share VerificationShows the Samba shared folder successfully accessed from the Windows client.
How I tested it
- smbclient listed the share, connected and copied a file.
- I opened the share from Windows.
Repository
My full notes and the original screenshots are on GitHub: linux-projects/06-samba-file-server