Samba是在Linux和UNIX系统上实现SMB协议的一个免费软件,由服务器及客户端程序构成。
Samba是一个工具套件,在Unix上实现SMB(Server Message Block)协议,或者称之为NETBIOS/LanManager协议。SMB协议通常是被windows系列用来实现磁盘和打印机共享。
Samba的主要部分有:
两个守护程序: smbd 和 nmbd(对客户端提供NetBIOS名服务)
配置文件: /etc/samba/smb.conf
使用工具: smbclient,smbstatus,smbmount,smbumount,smbprint,smbprint.sysv,smbrun
samba的启动脚本在/etc/rc.d/init.d/smb
Samba server:启动、停止、重启命令:
# /etc/init.d/smb start
# /etc/init.d/smb stop
# /etc/init.d/smb restart
例:[root@linuxserver samba]# /etc/init.d/smb stop
关闭 SMB 服务: [ 确定 ]
关闭 NMB 服务: [ 确定 ]
使用图形化Samba配置工具非常容易实现文件、目录的共享操作,在此不再赘述。
参考:http://www.samba.org/samba官方网站
Samba is the standard Windows interoperability suite of programs for Linux and Unix.
Samba is Free Software licensed under the GNU General Public License, the Samba project is a member of the Software Freedom Conservancy.
Since 1992, Samba has provided secure, stable and fast file and print services for all clients using the SMB/CIFS protocol, such as all versions of DOS and Windows, OS/2, Linux and many others.
Samba is an important component to seamlessly integrate Linux/Unix Servers and Desktops into Active Directory environments using the winbind daemon.