ZitatAlles anzeigenpr 22 09:43:59 omv smbd[8084]: [2020/04/22 09:43:59.041164, 2] ../source3/smbd/service.c:822(make_connection_snum)
Apr 22 09:43:59 omv smbd[8084]: (ipv4:192.168.30.4:49677) connect to service scan initially as user nobody (uid=65534, gid=65534) (pid 8084)
Apr 22 09:43:59 omv smbd[8084]: [2020/04/22 09:43:59.050112, 0] ../source3/smbd/service.c:102(set_current_service)
Apr 22 09:43:59 omv smbd[8084]: chdir (/srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan) failed, reason: No such file or directory
Apr 22 09:43:59 omv smbd[8084]: [2020/04/22 09:43:59.060456, 0] ../source3/smbd/service.c:102(set_current_service)
Apr 22 09:43:59 omv smbd[8084]: chdir (/srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan) failed, reason: No such file or directory
Apr 22 09:43:59 omv smbd[8084]: [2020/04/22 09:43:59.068747, 2] ../source3/smbd/service.c:1098(close_cnum)
Apr 22 09:43:59 omv smbd[8084]: (ipv4:192.168.30.4:49677) closed connection to service scan
omv version 4.1.35
Trying to create a samba share that would be use my my all in one canon printer to scan to. I've tried shares with passwords and shares with guest access and pretty much every combination I could think. The error above is for the following settings:
ZitatAlles anzeigen#======================= Global Settings =======================
[global]
workgroup = WORKGROUP
server string = %h server
dns proxy = no
log level = 2
log file = /var/log/samba/log.%m
max log size = 1000
logging = syslog
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = no
unix password sync = no
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
socket options = TCP_NODELAY IPTOS_LOWDELAY
guest account = nobody
load printers = no
disable spoolss = yes
printing = bsd
printcap name = /dev/null
unix extensions = yes
wide links = no
create mask = 0777
directory mask = 0777
map to guest = Bad User
use sendfile = yes
aio read size = 16384
aio write size = 16384
local master = yes
time server = no
wins support = no
usershare owner only = false
log file = /var/log/samba/%m.log
syslog only = no
#======================= Share Definitions =======================
[scan]
path = /srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan
guest ok = yes
read only = no
browseable = yes
inherit acls = yes
inherit permissions = no
ea support = no
store dos attributes = no
vfs objects =
printable = no
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
hide special files = yes
follow symlinks = yes
hide dot files = yes
read list =
write list =
The printer (cannon multi function laser) has an error code and that code can be interpreted as follows:
Zitat#804
Cause 1 Unable to match the specified folder path when sending data to a file server. Remedy Check the destination. Cause 2 You have no permission to access the folder/file, or the folder/file may be deleted in other operations. Remedy Change the settings on the file server to enable access to the folder, or contact the server administrator.
I also can't connect to the share from windows 10.
ZitatAlles anzeigenApr 22 10:03:08 omv smbd[7884]: desktop-n29t9eh (ipv4:192.168.30.49:51173) connect to service scan initially as user nobody (uid=65534, gid=65534) (pid 7884)
Apr 22 10:03:09 omv smbd[7884]: [2020/04/22 10:03:09.121002, 0] ../source3/smbd/service.c:102(set_current_service)
Apr 22 10:03:09 omv smbd[7884]: chdir (/srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan) failed, reason: No such file or directory
Apr 22 10:03:09 omv smbd[7884]: [2020/04/22 10:03:09.121663, 0] ../source3/smbd/service.c:102(set_current_service)
Apr 22 10:03:09 omv smbd[7884]: chdir (/srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan) failed, reason: No such file or directory
Apr 22 10:03:09 omv smbd[7884]: [2020/04/22 10:03:09.127948, 0] ../source3/smbd/service.c:102(set_current_service)
Apr 22 10:03:09 omv smbd[7884]: chdir (/srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan) failed, reason: No such file or directory
Apr 22 10:03:09 omv smbd[7884]: [2020/04/22 10:03:09.128274, 0] ../source3/smbd/service.c:102(set_current_service)
Apr 22 10:03:09 omv smbd[7884]: chdir (/srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan) failed, reason: No such file or directory
Apr 22 10:03:09 omv smbd[7884]: [2020/04/22 10:03:09.133904, 0] ../source3/smbd/service.c:102(set_current_service)
Here is the info on the directory:
ZitatAlles anzeigen# file: srv/63a261ea-8b4a-4590-b1be-9e34e8b873b3/share/scan/
# owner: root
# group: users
# flags: -s-
user::rwx
user:sdshare:rwx
user:nobody:rwx
group::rwx
mask::rwx
other::rwx
default:user::rwx
default:user:sdshare:rwx
default:user:nobody:rwx
default:group::rwx
default:mask::rwx
default:other::rwx
Documentation on the printer says its running samba 2.2. Not sure what windows 10 is running, but I am able to get windows to connect to a different share that has a user/password and no guest access. I do know that I need to use a different host when connecting from windows 10 as I spent many hours on that problem. So using multiple dns entries I have connected to multiple shares from windows. This reminds me to mention that I use pihole for dns.
Any suggestions?
P.S. I also wanted to mention that I am using snapraid + union fs.