I've tried to include min protocol = SMB2
to improve the security of my local Linux machines. But when I do this, I get time out
from within KDE and Operation Not Supported
from CLI.
Removing the min protocol stipulation resolves this issue. Any idea why?
testparm:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[msc_media_public]"
Processing section "[msc_media_personal]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
definitions:
[global]
workgroup = SG1
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
server min protocol = SMB3
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0700
directory mask = 0700
inherit acls = Yes
[msc_media_public]
comment = REDACTED
path = /xx/xx/xx/xx/xx
force group = mediagroup
read only = No
create mask = 0664
directory mask = 0775
[msc_media_personal]
comment = REDACTED
path = /xx/xx/xx/xx/xx
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0600
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
My /etc/fstab entry for mounting this drive remotely is:
//xx.xx.xx.xx/sharename /local/name/ cifs uid=1001,gid=1002,username=user,password=pass 0 0
smb.conf
for errors withtestparm
command.