OpenWrt Forum Archive

Topic: samba access file errors in the logs

The content of this topic has been archived on 7 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

On my NSLU2 (OpenWrt Kamikaze r12674 / Linux 2.6.26.3 armv5teb) :

When accessing files on a samba share, I get a lot of error in my log :

smbd[2679]: [2008/09/25 00:19:14, 0] smbd/nttrans.c:map_share_mode(443)
smbd[2679]:   map_share_mode: Incorrect value 100000 for desired_access to file \

But no problem to acces/read/write files in the share.

Can we safely ignore these ones ? Is it then possible to "mute" samba ? (to avoid [remote] syslog flooding)

Here is an extract of my smb.conf file :

[global]
 syslog = 1
 syslog only = yes
 workgroup = myworkgroup
 server string =
 security = user
 encrypt passwords = yes
 guest account = nobody
 invalid users = root
 local master = yes
 name resolve order = lmhosts hosts bcast

[usb1]
 comment = /mnt/sda1
 path = /mnt/sda1
 browseable = yes
 public = no
 writeable = yes
 invalid users=nobody
 valid users=mylogin
 inherit permissions = yes

(Last edited by GLR on 24 Sep 2008, 23:32)

To mute samba logging :

In smb.conf :

[global]
 syslog = 0

But no more log at all...

(Last edited by GLR on 25 Sep 2008, 00:08)

The discussion might have continued from here.