[Samba] system error 58 when guest connects from Win10

Klaus Hartnegg hartnegg at uni-freiburg.de
Thu May 4 17:00:46 UTC 2017

Am 04.05.2017 um 18:24 schrieb Jakub Kulesza via samba:

>  Why did you need NT1 protocol in the first place?

Because some old DOS software did otherwise not run, but this was 
recently somehow solved by a newer Samba version.

> can you post full smb.conf?

That is difficult, because it uses several include statements.
I concatenated all lines from all files, which are not commented-out, 
and left away some shares which are not used from guest. The beginning 
is from Ubuntu. The middle is to work around some other problems, some 
of these are probably not required any more. The last line is from a try 
to avoid this "error 58" issue, but it did not help.

workgroup = FBZ
server string = EXPRESS2 Samba %v
dns proxy = no

log file = /var/log/samba/log.%m.%R
log file = /var/log/samba/log.%m.%R
syslog = 0
panic action = /usr/share/samba/panic-action %d

server role = classic primary domain controller

passdb backend = tdbsam
obey pam restrictions = yes

unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes

map to guest = bad user

follow symlinks = yes
log level = 0
domain master = yes
local master = yes
os level = 65

domain logons = yes
logon script = logon.cmd
logon drive = H:
logon home = \\%L\S\usr\%U
logon path =

vfs objects = acl_xattr
map acl inherit = true
store dos attributes = yes
nt acl support = yes
inherit acls = yes
inherit permissions = yes

unix charset = UTF-8

mangle prefix = 5
mangling method = hash2

lanman auth = no
ntlm auth = no
client plaintext auth = no
client lanman auth = no
client ntlmv2 auth = yes

ntlm auth = Yes

locking = yes
strict locking = yes
oplocks = yes
fake oplocks = no
blocking locks = yes

default case = lower
case sensitive = no
preserve case = yes
short preserve case = yes

fake directory create times = no

map hidden   = no
map system   = no
map archive  = no
map readonly = no

load printers = no
printing = bsd
printcap name = /dev/null
show add printer wizard = no
disable spoolss = yes

recycle:keeptree = Yes
recycle:touch = Yes
recycle:touch_mtime = No
recycle:versions = Yes
recycle:inherit_nt_acl = yes
recycle:exclude_dir = .recycle
recycle:exclude = *.vdi

usershare max shares = 0
usershare allow guests = no

guest account = gast
map to guest  = bad user

    comment = Network Logon Service
    path = /srv/samba/netlogon
    guest ok = yes
    read only = yes

     path = /srv/samba/files/archiv
     guest ok = yes
     read only = yes
     admin users = +smbadmin
     locking = no
     smb encrypt = off

More information about the samba mailing list