Hi,
I have a question for those of you who are already familiar with Samba 4.x. I understand this new major release comes with many changes under the hood. Now I wonder if I can still configure it as simply as 3.x. Here's a real-life example of what I consider a "simple" configuration, the one running on my office server (nestor), with two different shares, one public, one confidential (e. g. needing authentication):
Code:
# /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
domain master = yes
netbios name = NESTOR
server string = Serveur de fichiers et d'impression NESTOR
dns proxy = yes
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
bind interfaces only = yes
interfaces = 192.168.2.0/24 localhost
hosts allow = 192.168.2. 127.
security = user
passdb backend = tdbsam
unix password sync = no
invalid users = root
encrypt passwords = yes
guest account = smbguest
map to guest = bad user
force group = users
create mode = 0660
directory mode = 0770
[Public]
path = /srv/samba/public
comment = Partage Public
public = yes
only guest = yes
read only = no
[Confidentiel]
path = /srv/samba/confidentiel
comment = Partage Confidentiel
read only = no
invalid users = root nobody smbguest
[printers]
comment = Imprimantes
browseable = no
path = /var/spool/samba
public = yes
read only = yes
printable = yes
Will I be able to use this configuration "as is" on Samba 4.x? Or did the overall syntax change?
Cheers,
Niki