Success with Samba and gufw

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
stanley82
Level 2
Level 2
Posts: 83
Joined: Sat Jan 28, 2012 11:01 pm

Success with Samba and gufw

Post by stanley82 » Tue Mar 06, 2018 6:39 pm

Following these instructions (the reply by altair4) "viewtopic.php?f=157&t=185410#p960482" so far really promising.
I have two LM18.3 machines, one with AMD 2100 low cost job the second with AMD Athlon 5350 and Radeon HD6450 video card and they show a few differences.
With both gufw firewalls enabled and no rules.
The first one shows Windows Network and both Linux machines twice, once as MyName and again as MyName SMB. I’m not able to open them.
The second one shows Windows Network but only the MyName SMB versions. I can open them but not mount the folders.
With both gufw firewalls enabled and the Preconfigured SAMBA rules.
As above but I can mount the folders and read files so it is working great. Only the MyName SMB machines can be opened.
My /etc/samba/smb.conf file is standard (almost) with this on the end but not really necessary as the Nemo file manager (right click folder) can make a folder shared.
There is a lot of stuff on the net on this subject and I hope my few words are of help not hindrance. At least until Lunus fixes something else. Regards Ian.

[smbdemo]
comment = Linux Samba Share
path = /home/ian/Public
available = yes
valid users = ian tom diick harry
public = yes
browsable = yes
guest ok = yes
read only = no
writeable = yes
create mask = 0755

This may also help as it shows what I have in samba.
stan@IanMSI ~ $ sudo testparm
[sudo] password for stan:
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
Processing section "[printers]"
Processing section "[print$]"
Processing section "[smbdemo]"
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions
# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[smbdemo]
comment = Linux Samba Share
path = /home/stan/Public
valid users = stan ginette francis
read only = No
create mask = 0755
guest ok = Yes
Last edited by karlchen on Tue Mar 06, 2018 7:24 pm, edited 1 time in total.
Reason: Title: Sambe => Samba

Post Reply

Return to “Other networking topics”