Samba in Debian Edu
Samba is now configured as standalone server with modern SMB2/SMB3 support and usershares enabled, see /etc/samba/smb-debian-edu.conf on the main server. This way non-admin users are enabled to provide shares.
As Samba has dropped the insecure SMB1 protocol, the option to setup Samba as NT4-style PDC is gone.
For site specific changes, copy /usr/share/debian-edu-config/smb.conf.edu-site to the /etc/samba directory. The settings in smb.conf.edu-site will override those contained in smb-debian-edu.conf.
Please note:
By default, home directories are read only. This can be changed in /etc/samba/smb.conf.edu-site.
Samba passwords are stored using smbpasswd and are updated in case a password is changed using GOsa².
To temporarily disable a user's Samba account, run smbpasswd -d <username>, smbpasswd -e <username> will re-enable it.
Running chown root:teachers /var/lib/samba/usershares on the main server will disable usershares for 'students'.
Accessing files via Samba
Connections to a user's home directory and to additional site specific shares (if configured) are possible for devices running Linux, Android, macOS, iOS, iPadOS, Chrome OS or Windows. Other devices like Android based ones require a file manager with SMB2/SMB3 support, also known as LAN access. X-plore or Total Commander with LAN plugin might be a good choice.
Use \\tjener\<username> or smb://tjener/<username> to access the home directory.