Introduction

1.5 Linux integration

Etere compatibility now extends also alongside with Linux systems , giving the possibility to use active directory alternatives and sql server on linux. the topics of this chapter will be:

- Samba AD integration
- Reporting Service

We will cover these guides based from our internal tests for Ubuntu distributions, we suggest an LTS version for more stability. you can download the .ISO on their main site

https://ubuntu.com/download/server

Do not download third party apps or drivers during the installation when requested to avoid possible conflicts and don't integrate with Active Directory during the installation.


SSH

if you want a headless connection (without graphic user interface) you need openssh on the server side

sudo apt install openssh-server

then, on any client with ssh you can connect to remote terminal with

ssh username@IP


XRDP

in the majority of cases a remote connection is needed , our suggestion is to install XRDP alongside a lightweight GUI such as XFCE. From bash console:

1
sudo apt update
sudo apt install xfce4 xfce4-goodies xrdp -y

2
echo "xfce4-session" > ~/.xsession

3
sudo adduser xrdp ssl-cert

4
sudo systemctl restart xrdp


if you want to adjust connection performances you can edit the file xrdp.ini

from bash console:


sudo nano /etc/xrdp/xrdp.ini


edit these fields to match your needs, for example:


tcp_send_buffer_bytes=4194304
tcp_recv_buffer_bytes=4194304
max_bpp=16


and always restart the service

sudo systemctl restart xrdp


now you can use the same user and password for the login under xRDP



SHARED FOLDER

windows shared folders are accessible through smb:// protocol. In linux this is given by samba package

$ sudo apt install samba -y


edit /etc/samba/smb.conf 

$ sudo nano /etc/samba/smb.conf

and set at the bottom the shared folder(s) you want


this is a private folder example

[data]

   comment = Etere shared folder

   path = /home/data

   browseable = yes

   read only = no

   create mask = 0777

   directory mask = 0777

   valid users = sis


this is a public folder example (no need to log with user and password

[PublicShare]

   comment = Public network folder

   path = /home/PublicShare

   browsable = yes

   guest ok = yes

   read only = no

   create mask = 0666

   directory mask = 0777



to set a samba password for private folders login 

sudo smbpasswd -a your_username


to test the smb.conf synthax without executing it

testparm /etc/samba/smb.conf


after every new settings, restart samba service

sudo systemctl restart smbd