How to SAMBA+

Activate a new SAMBA+ subscription

At first, please register at or sign in if you already have an account. Please note that this account is independent from the shop account. This is intended to separate the purchasing process and the technical part, as both are normally carried out by other persons/departments.

On, please click "Add new subscription", paste the subscription key(s) bought in the SAMBA+ shop into the window, read and (hopefully ;-) accept the terms and conditions and click "Register keys".

After that you can either set a global password for all subscriptions by clicking on "Set global password" or one password for each subscription by clicking on the key button of each entry.


Extend an existing SAMBA+ subscription

To extend an existing subscription, please buy a new subscription in the SAMBA+ shop. Copy the new serial number (available here into your clipboard and login at Click on the "Subscription" tab, mark the subscription that you are going to extend and then on the "Extend selected subscriptions" button. A new window opens and the old key is selected on the left side. Please enter your new key (serial number) on the right side, read and (hopefully ;-) accept the terms and conditions and then
click the "Extend subscriptions" button.

This procedure prevents you from updating all the repository files on your servers, because the old key will be extended. If you add a new subscription instead, the repo files must be updated with the new key.


Add the SAMBA+ package repository to your system

On you find all available repository files. Chose the sernet-samba-$VERSION.list template for your system and copy it to the corresponding directory:

  • for Debian/Ubuntu:    /etc/apt/sources.list.d/
  • for RHEL/CentOS:      /etc/yum.repos.d/
  • for SUSE/Leap:           /etc/zypp/repos.d/

Then please substitute the "KEY" and "PASSWORD" variables in your sernet-samba-$VERSION.list file with your personal key and password set in the OPOSSO backend (

Newer 'apt' versions recommend to use the /etc/apt/auth.conf file to store the login information instead of the sources.list. For the SAMBA+ repository, the following line would be needed:
'machine login KEY password PASSWORD'
where "KEY" and "PASSWORD" again need to be replaced with your personal data.

After that you should be able to refresh the repositories e.g. via

  • 'apt update' (Debian/Ubuntu)
  • 'zypper ref' (SUSE/Leap)

Installing SAMBA+

SAMBA+ consists of numerous packages. Which packages you need depends on the server role you are going to run your Samba server in. A list of all packages and the corresponding description is available in the repository meta data (e.g. for RHEL 8).

Additionally, you can show the package information with the packet manager commands, e.g. 'apt show sernet-samba' on Debian/Ubuntu.


Setting up a SAMBA+ AD domain controller (AD DC)

A domain controller provides the central Active Directory. Make sure to have at least two DCs for failover! Do not use your domain controllers as file servers.

Please install the "sernet-samba-ad" package and its dependencies.

  • Debian/Ubuntu:    apt-get install sernet-samba-ad
  • RHEL/CentOS:       yum install sernet-samba-ad
  • SUSE/Leap:           zypper in sernet-samba-ad

After that, please edit the SAMBA+ configuration file /etc/default/sernet-samba and set the "SAMBA_START_MODE" variable to "ad". Otherwise the 'samba' deamon won't start at all.

Now the domain has to be configured by running 'samba-tool domain provision'. Please enter your realm etc. This step creates the /etc/samba/smb.conf configuration file. Afterwards, the service can be started via the 'systemctl start sernet-samba-ad' command.


Setting up a SAMBA+ domain member server

A domain member is part of a domain (domain users and groups are available), authenticates against DCs. A member server is usually used for file or print servers.

TBA – we are continuously expanding the information on this page, please check back later.


Setting up a SAMBA+ CTDB cluster node

TBA – we are continuously expanding the information on this page, please check back later.


SAMBA+ Updates for 4.13.2, 4.12.10 and 4.11.16 packages have just been released by SerNet.…

SAMBA+ 4.13.2, 4.12.10 and 4.11.16 packages have just been released by SerNet. Packages for…


Buy and manage software subscriptions. SAMBA+ subscriptions are available for one, two and three years at the SAMBA+ shop.

+ visit the shop

Deutsche SpracheEnglish languageLangue française