Why do the SAMBA+ packages come without a configuration file?
There are different functions Samba can serve and the configuration depends very much on the server role. That's why we currently do not provide an initial configuration file. Please note that the Samba daemons won't start without a configuration file. So you need to create /etc/samba/smb.conf before starting the services.
Samba is not running after installing the SAMBA+ packages. Why?
Samba can be run in different server modes. That's why you need to specify the role of your server before being able to start the daemon(s). This mode needs to be set with the "SAMBA_START_MODE" variable in the /etc/default/sernet-samba file. The following values are available:
- classic: Run Samba as a fileserver (samba daemon) and start the classic smbd/nmbd/winbindd daemons.
- ad: Run Samba as an Active Directory server (which starts the smbd and integrated services on its own).
Additionally, you need to create the config file /etc/samba/smb.conf. After that you can start the daemon(s).
Can SAMBA+ and SSSD be installed on the same system?
Yes. You can use sssd and sernet-samba together, but you cannot install the sssd-ad package (which does not make sense together with winbindd anyway). The sssd package is a meta package that requires all sssd packages, so please go ahead with the sssd-common and the desired sssd-($backend) packages only instead of the sssd package.
SAMBA+ does not support dmapi. Can I re-build with dmapi support?
Dmapi stands for Data Management API (DMAPI) interface for Hierarchical Storage Management (HSM).
SAMBA+ >= 4.4.3 packages do not support dmapi any longer. To re-build with dmapi support, the following commands can be run:
apt-get build-dep sernet-samba apt-get source sernet-samba cd samba-$VERSION/ DEB_BUILD_OPTIONS=dmapi debuild -us -uc
zypper source-install sernet-samba rpmbuild -ba --with dmapi /usr/src/packages/SPECS/sernet-samba-4.4.spec
yumdownloader --source sernet-samba #yum-builddep sernet-samba-$VERSION.src.rpm #Please install the dependencies manually, because yum-builddep #does not work properly here. rpmbuild --rebuild --with dmapi sernet-samba-$VERSION.src.rpm
This will also build the tsmsm VFS module.
How to enable Spotlight Support?
SAMBA+ ships Spotlight as a RPC module. Please set "TRACKER_BUS_TYPE="system" in /etc/default/sernet-samba. For more information on setting up Spotlight, please see https://wiki.samba.org/index.php/Spotlight.