Samba

Open source

在 Linux 与 Unix 上实现 SMB/CIFS 协议的开源套件,让 Windows 直接访问共享目录,也可作为域控制器。

Basic info

From public sources
Name
Samba
Developer
Samba Team
Official site
www.samba.org
License type
Open source
License
GPL-3.0
Platform
Linux / Unix
UI languages
English
Version
4.25.0
Updated
2026-10-25
Download links
2 links

Overview

Samba 是 Linux/Unix 世界的 SMB/CIFS 实现,作用很直接:让 Windows 资源管理器里的「网络」能看到 Linux 机器上的共享目录,反过来也能让 Linux 访问 Windows 共享。它是 NAS、家庭服务器与企业文件服务器的基础组件。

主要能力

  • 提供 smbd(文件与打印共享)与 nmbd(名称解析)等核心服务
  • 与 Windows 一致的共享权限与用户认证,可接入 AD 域
  • 可作为独立域控制器或加入现有域
  • 支持打印机共享、回收站、审计日志与配额
  • 几乎所有 Linux 发行版都提供现成的软件包

需要注意

官方只提供源码,普通用户应优先用发行版的包管理器安装(如 apt install samba),自行编译会牵扯大量依赖。配置集中在 smb.conf,权限、用户映射与 SELinux 策略是常见坑;Windows 10/11 默认关闭了 SMB1,配置时应使用 SMB2/3 并确保账号密码认证方式匹配。

适合谁用

维护 NAS、家用服务器或企业文件服务器的运维人员,以及需要在 Linux 上共享目录给 Windows 使用的用户。

Download links

Source

Use the buttons below to get the installer.

Official Download Page Download page · vendor site · Source & release install entry
Download
Source Code Download Directory Download page · vendor site · samba-4.x.y.tar.gz & signature files
Download

Verify the file source and digital signature before installing. Back up important data. This site does not provide cracks, keygens or license bypasses.

By downloading you confirm you have read the disclaimer: we only facilitate distribution and do not warrant content, completeness or security. Disclaimer

Copyright & reports

The name, icons and trademarks of Samba belong to Samba Team. This site only provides introductions and download links. Rights holders can report issues via the complaint form.

Disclaimer

Read before download
  1. This site only facilitates distribution and makes no warranties about content, opinions, completeness or security.
  2. Any direct or indirect consequences of downloading, installing or using the software are solely the user’s responsibility.
  3. This site is not responsible for third-party opinions or statements contained in the software.
  4. Using this download service means you have read, understood and agreed to these terms.
If you disagree, stop downloading, installing or using the software immediately. Full disclaimer