1. Gather Your Samba Server Information
To integrate Zylon with your on-premises Samba file server, you need the server’s connection details (host, port, share name) and valid credentials. This guide explains how to configure Zylon to use Samba for file system integration within your local networ. You’ll need:- Host or IP address of the Sacmba server (e.g.
files.example.com
or192.168.1.50
). - Port on which SMB is listening (default is
445
; if you run on a non-standard port, note it). - Share (root) name (e.g.
zylon-samba
). - Credentials (username & password) that have read access to that share.
- SMB protocol version support:
- We currently support SMB2 and above.
- If you require SMB1, please contact the Zylon team for assistance.
- Linux (using
smbclient
):
zylon-samba
.
- macOS (Finder):
- In Finder, press ⌘K → connect to
smb://files.example.com/zylon-samba
. - Enter your credentials when prompted, and verify you can browse files.
- Windows
- File Explorer (Graphical):
- Open File Explorer (Win + E).
- In the left sidebar, right-click This PC and choose Map network drive….
- In the Drive dropdown, select an available drive letter (e.g.,
Z:
). - In the Folder field, enter:
(or if using a non-standard port,
\\\\files.example.com@445\\zylon-samba
).
- Check Connect using different credentials, then click Finish.
- When prompted, enter your Samba Username and Password, then click OK.
- If the connection succeeds, the new mapped drive (e.g.,
Z:
) will appear under This PC, and you can browse its contents.
2. Configure Zylon to Use Samba
With the values we have acquired in previous steps we will edit Zylon config file located in/etc/zylon/zylon-conf.yaml
Add the following snippet to the bottom of the file
- host → The hostname or IP address where your Samba server is reachable.
- protocol → Must be set to
"samba"
. - root → Name of the shared folder (e.g.
"Data"
).
zylon-conf.yaml
.
3. Update Zylon to Apply Changes
Finally, execute the following command to reset Zylon and update the config4. Network Access Considerations (On-Premise)
Since this deployment is on-premise, ensure that the Ubuntu Server where Zylon is hosted can reach the Samba server. You do not need to expose SMB to the public internet—everything remains within your private network.- DNS / Hosts Configuration
- Verify that client machines can resolve the Samba host name (e.g.,
files.internal.company
). - If DNS is unavailable or inconsistent, update
/etc/hosts
(Linux/macOS) orC:\Windows\System32\drivers\etc\hosts
(Windows) to map the hostname to its IP.
- Firewall & Port Access
- Ensure that TCP port 445 (or your custom SMB port) is open between client workstations and the Samba server.
- On the Samba server, confirm the OS firewall (iptables, firewalld, Windows Firewall, etc.) allows inbound connections on that port.
- If remote users connect via VPN, make sure the VPN subnet can route to the Samba host’s IP:445.
5. Credentials
When a user enables Samba integration for the first time via the Zylon front end, they will be prompted to enter:- Username
- Password
Note: Credentials are scoped per user account. If multiple users need to connect to the same share, each must enter valid credentials with appropriate access.---
6. Troubleshooting
6.1 “Cannot resolve host” or “Name or service not known”
-
DNS/Hosts: Verify that the Samba hostname can be resolved:
-
If DNS fails, update each client’s hosts file with:
6.2 “Cannot connect to host”
-
Port Reachability:
445
with your custom port).
- If test fails, confirm firewall rules on both the client network segment and the Samba server.
6.3 Authentication Failed / Wrong Credentials
- If a user enters incorrect Samba credentials in the Zylon front end, they will see an immediate error like “Authentication failed: invalid username or password.”
- To correct, the user should re-enter their valid Samba username and password via the integration UI.
-
On the Samba server side, verify that the account exists and has permissions in
/etc/samba/smb.conf
:
6.4 “Invalid protocol version”
- Ensure your server and Zylon both support SMB2 or higher.
-
To force SMB2+ on the server, add under
[global]
in/etc/samba/smb.conf
:
- If you must use SMB1, contact the Zylon team for a custom client build.
8. Additional Notes
- Only Samba (SMB) Is Supported for File System Integrations
- SMB1 Support
- Performance Tips
- For large repositories, ensure your Samba server has sufficient I/O and network bandwidth.
- On Linux, mounting with
cache=none
can reduce stale‐file issues if users frequently modify files outside Zylon.