On VMware, sharing Samba 4 directories with Windows 10 and Linux

Issues related to applications and software problems
Post Reply
sambagreg
Posts: 2
Joined: 2019/08/07 22:43:56

On VMware, sharing Samba 4 directories with Windows 10 and Linux

Post by sambagreg » 2019/08/07 22:49:54

This is my smb.conf file
***********************************

#Global

guest ok = no

[global]
#netbios name = SMBsandbox
server string = Samba Server %v
workgroup = WORKGROUP
#socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=892

security = user
null passwords = no

#name resolve order = hosts wins bcast

#dns proxy = no
idmap config * : backend = tbd

#syslog = 1
#syslog only = yes


#Share Definitions

[Greg]
path = /samba/*/Greg
comment = Greg's folder
valid users = Greg root
force group (groupname)
read only = no
browseable = yes
writable = yes
#guest ok = no
create mask = 770
create mode = 770
directory mode = 0770

[Malware]
path = /samba/Malware
comment = Malware staging folder
valid users = Greg (and 6 other users)
force group (groupname)
read only = no
writable = yes
browsable = yes
#guest ok = no
write mode = 775
directory mode = 775

[Forensics]
path = /samba/Forensics
valid users = Greg (and 6 other users)
force group (groupname)
read only = no
writeable = yes
browseable = yes
#guest ok = no
write mode = 775
directory mode = 775
***********************************************

I have also run

chcon -t samba_share_t /samba/Malware
chcon -t samba_share_t /samba/Forensics


On windows 10, I can map the drive to these directories, but I still get "access denied"

Help!!!

Post Reply