Samba

Jump to: navigation, search
Samba

samba_2010_logo_transparent_151x27.png

The File, Print, and Authentication SMB/CIFS Server

Download for openSUSE


Developer: Samba Team
License: GPL
Web: samba.org

Samba is an Open Source/Free Software suite that has, since 1992, provided file, print, and authentication services to all manner of SMB/CIFS clients, including the numerous versions of Microsoft Windows operating systems. Samba is freely available under the GNU General Public License.

Samba RPM Packages for SUSE Linux Enterprise and openSUSE

Current release

RPM packages of the current Samba release for all SUSE Linux based products are provided with the help of the Open Build Service (OBS).

openSUSE Build Service (OBS)

The packages are available from the openSUSE Build Service at download.openSUSE.org.

The STABLE project provides packages for recent SUSE Linux Enterprise and openSUSE distributions.

Repository definitions

Repo files are available for openSUSE Leap 42.3 and later, as well as openSUSE Tumbleweed, ready to download or to directly use at

Example: http://download.opensuse.org/repositories/network:/samba:/STABLE/openSUSE_Leap_15.1/network:samba:STABLE.repo

NOTE: http://download.openSUSE.org/repositories/network:/samba:/misc currently hosts a repository which provides some useful tools for Samba.

You can download the repo file and add it among your installation sources, or just add it (e. g. from command line, through zypper ar -f <http://path>/<filename>.repo, or zypper ar -f <filename>.repo for a local repofile). Example:

Next open YaST -> Software -> Online Update or call

# zypper -r network_samba_STABLE dup

on the command line. In the shown example only packages from the repo named network_samba_STABLE get installed.

Otherwise, you can even go to software.opensuse.org Samba page, select your (open)SUSE version (if present) among available products available (clic on "Show unstable packages" to see more packages, if needed) and follow the 1-Click Install link specific for STABLE or TESTING (and MAINTAINED: for SLE).

How to use them

Starting with systemd

sudo systemctl start smb nmb

This starts the client and server commands.

(NB # systemctl start smbd nmbd will not be recognized.)

To autoload Samba at boot

sudo systemctl enable smb nmb

How to use the client

Check that the system can query the SMB server

$ smbclient -L <ip-address> -U <username> -m SMB2

This will list the available shares from the remote server.

To mount the remote folder manually, type

sudo mount -t cifs -o username=<yourlogin>,password=<yourpassword>,vers=2.0 //ip-address/share /path/to/mount-point

To mount the remote folder automatically, edit the /etc/fstab and add this line:

//ip-address/share        /path/to/mount-point    cifs    auto,username=<yourlogin>,password=<yourpassword>,uid=<localuser>,gid=<users>,file_mode=0664,dir_mode=0775,iocharset=iso8859-15,vers=2.0    0    0

Supported products

Supported SUSE Linux based products are at the moment openSUSE Leap 15.x, openSUSE:Tumbleweed, and SUSE Linux Enterprise Server (SLE) 12.

Pre or rc releases

Before a new stable version of Samba is released pre and release candidate (rc) snapshots of the sources are published. RPM packages of these are available from the TESTING repositories as stated above.

Samba bug reporting and advanced debugging information

If you encounter any problems with Samba in SUSE Linux based products please check openSUSE:Bugreport_Samba.

Samba versions in SUSE Linux Enterprise and openSUSE products

  • Recent versions are available from the Open Build Service.
  • Table 1 shows which Samba versions are available for different SUSE products.
  • Versions from products which are no longer updated can be found in Table 2.

See also

Other resources


Our customers, our products, our responsibility. The SUSE Samba Team.