Samba
The File, Print, and Authentication SMB/CIFS Server
Developer: Samba Team
License: GPL
Web: samba.org
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
Repository definitions for the stable Samba packages are available for openSUSE Leap 16.0 and openSUSE Tumbleweed from:
Repository files for each supported product are provided in the corresponding directory. For example:
Alternatively, download the appropriate .repo file and add it using Myrlyn or zypper.
Once the repository has been added, packages can be installed or updated using the normal openSUSE package management tools, such as Myrlyn or zypper.
For example:
The repository can also be selected explicitly when installing or updating packages:
The repository alias (network_samba_STABLE) may differ if a different alias was specified when adding the repository.
For other available Samba builds, including testing packages, see the Samba packages and projects on the openSUSE Build Service (OBS). Select the appropriate openSUSE version and repository, then follow the instructions provided there.
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
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-release and release candidate releases
Before a new stable version of Samba is released, pre-release and release candidate (rc) versions of the source are published. RPM packages of these versions are made available in the TESTING repository described 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.
Known issues
SELinux relabelling takes too long
On SELinux enabled installations (Tumbleweed, openSUSE Leap 16+, SLES16+), samba attempts to auto-relabel all files in the configured shares to use the samba SELinux label. This could be undesired or take too long on some installations (See bsc#1259050). This auto-relabel can be disabled via /etc/sysconfig/samba
# /etc/sysconfig/samba SAMBA_SELINUX_AUTOLABEL="false"
See also Portal:SELinux/Common_issues#samba_relabeling_taking_to_long
See also
- SDB:Printing_via_SMB_(Samba)_Share_or_Windows_Share
- Samba:PDC+LDAP Covers 12.2, 12.3
Other resources
Our customers, our products, our responsibility. The SUSE Samba Team.