CentOS 7 Samba Shares accessible from Windows VM (using lidarr,radarr,sonarr)
up vote
0
down vote
favorite
I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.
However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"
If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.
[root@glasstop samba]# cat smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
acl_xattr:ignore system acls = yes
acl_xattr:default acl style = windows
passdb backend = tdbsam
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = true
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[media]
force user = nobody
comment = zfs media
path = /datuh/media
available = Yes
browseable = Yes
writeable = Yes
public = Yes
create mask = 022
read only = no
guest ok = yes
valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
virtualization samba centos-7 smb
New contributor
add a comment |
up vote
0
down vote
favorite
I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.
However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"
If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.
[root@glasstop samba]# cat smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
acl_xattr:ignore system acls = yes
acl_xattr:default acl style = windows
passdb backend = tdbsam
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = true
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[media]
force user = nobody
comment = zfs media
path = /datuh/media
available = Yes
browseable = Yes
writeable = Yes
public = Yes
create mask = 022
read only = no
guest ok = yes
valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
virtualization samba centos-7 smb
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.
However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"
If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.
[root@glasstop samba]# cat smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
acl_xattr:ignore system acls = yes
acl_xattr:default acl style = windows
passdb backend = tdbsam
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = true
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[media]
force user = nobody
comment = zfs media
path = /datuh/media
available = Yes
browseable = Yes
writeable = Yes
public = Yes
create mask = 022
read only = no
guest ok = yes
valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
virtualization samba centos-7 smb
New contributor
I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.
However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"
If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.
[root@glasstop samba]# cat smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.
[global]
workgroup = SAMBA
security = user
acl_xattr:ignore system acls = yes
acl_xattr:default acl style = windows
passdb backend = tdbsam
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = true
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[media]
force user = nobody
comment = zfs media
path = /datuh/media
available = Yes
browseable = Yes
writeable = Yes
public = Yes
create mask = 022
read only = no
guest ok = yes
valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775
virtualization samba centos-7 smb
virtualization samba centos-7 smb
New contributor
New contributor
New contributor
asked 2 days ago
Mark Shaw
11
11
New contributor
New contributor
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.
Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.
Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.
Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376031%2fcentos-7-samba-shares-accessible-from-windows-vm-using-lidarr-radarr-sonarr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown