Success with Samba and gufw

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
stanley82
Level 3
Level 3
Posts: 114
Joined: Sat Jan 28, 2012 11:01 pm

Success with Samba and gufw

Post by stanley82 »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”