Samba (Windows access) and Firewall on Fedora 31
by Tom Douglas from LinuxQuestions.org on (#51C1W)
Hi, folks!
It's been a while since I've been on this forum.
I have a fresh install of Fedora 31. I'm trying to set up Samba for Windows machines' access. I used to the GUI versions of Samba, Firewall, or Users. I find that there are neither of these are available for Fedora 31.
Does this mean I need to use the CLI method for setting up Samba and Firewall? Or are there some alternatives?
I'm wanting to share several folders on the Fedora to be accessed by Windows machines. I'm able to ping in both directions (Fedora and Windows 10). I can read and write to/from an older Fedora 22 machine, so I know the Windows 10 isn't the cause of grief.
I'm getting a lot of exit-code errors and have no clue how to decipher those, even in my logs.
Any help would be appreciated. Thanks much!
Tom D.
smb.conf code follows:
# 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 = TOMSOFFICE
security = tomd
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[Share]
path = /home/tomd
writable = yes
guest ok = no
path = /data/backup
writable = yes
guest ok = no
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[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
;My addition for file sharing
[backup]
path = /data/backup
read only = no
;browseable = yes
valid users = tom


It's been a while since I've been on this forum.
I have a fresh install of Fedora 31. I'm trying to set up Samba for Windows machines' access. I used to the GUI versions of Samba, Firewall, or Users. I find that there are neither of these are available for Fedora 31.
Does this mean I need to use the CLI method for setting up Samba and Firewall? Or are there some alternatives?
I'm wanting to share several folders on the Fedora to be accessed by Windows machines. I'm able to ping in both directions (Fedora and Windows 10). I can read and write to/from an older Fedora 22 machine, so I know the Windows 10 isn't the cause of grief.
I'm getting a lot of exit-code errors and have no clue how to decipher those, even in my logs.
Any help would be appreciated. Thanks much!
Tom D.
smb.conf code follows:
# 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 = TOMSOFFICE
security = tomd
passdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw
[Share]
path = /home/tomd
writable = yes
guest ok = no
path = /data/backup
writable = yes
guest ok = no
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[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
;My addition for file sharing
[backup]
path = /data/backup
read only = no
;browseable = yes
valid users = tom