Forums Search Login Register
Login
Username
Password
New Posts Todays Posts Find Users Posts Unanswered Threads Help Mark Forums as Read

Thread Options  Subscribe to this thread Subscribed Users1  Add Reply 
Posts: 1,388
Trophies:
1
Dear all

I?m running an Ubuntu 14.0.4 server with csf and lfd v12.06 and I?m trying to setup a samba share. I do not really care if it needs a user account to access or that it is anonymous accessible from my own network.
I?m using 2 windows 10 machines and a printer to access the samba share?s.\
I?m however running into problems. I cannot do the following:

Detect the server in the windows network sharing centerAccess the samba shares. When adding them to windows I do get a screen to enter my logon details which I do but those are refused and I get again the logon screen.
I can do the following:

Ping my server IP address from all devices on the network.
I tried the following:

Add samba permissions to ufw firewall.Reinstalling sambaRebooting serverSharing a folder from NautilusInstalling a samba GUI and reconfigure from thereReconfigure samba from Webmin which I have installed
My internal network is configured as follow:

Netgear router connected to external internet with wifiSecond Linksys router as accesspoint for both Ethernet and wifi connected trough Ethernet to netgear routerServer connected trough Ethernet to Linksys routerOther computes both connected trough Ethernet and wifi.

Please find below by settings file for samba. I tried to remove all lines starting with a # to make it more readable.

Does anyone has any advice on what I?m doing wrong or how to debug my system?


Code:
#======================= Global Settings =======================
 
[global]
 
workgroup = workgroup
 
server string = GIUN_server
 
 
;  wins server = w.x.y.z
 
 
dns proxy = no
 
#### Networking ####
 
;  interfaces = 127.0.0.0/8 eth0
 
;  bind interfaces only = yes
 
 
 
#### Debugging/Accounting ####
 
log file = /var/log/samba/log.%m
 
max log size = 1000
 
 
syslog = 0
 
panic action = /usr/share/samba/panic-action %d
 
 
####### Authentication #######
 
server role = standalone server
 
; passdb backend = tdbsam
 
obey pam restrictions = yes
 
unix password sync = yes
 
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
 
pam password change = yes
 
map to guest = bad user
 
########## Domains ###########
 
;  logon path = \\%N\profiles\%U
 
;  logon drive = H:
;  logon script = logon.cmd
 
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
 
; add machine script  = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u
 
; add group script = /usr/sbin/addgroup --force-badname %g
 
############ Misc ############
 
;  include = /home/samba/etc/smb.conf.%m
 
;  idmap uid = 10000-20000
;  idmap gid = 10000-20000
;  template shell = /bin/bash
 
 
; usershare max shares = 100
 
usershare allow guests = yes
username map = /etc/samba/smbusers
security = user
; encrypt passwords = yes
; guest ok = no
; guest account = nobody
 
#======================= Share Definitions =======================
 
;[homes]
;  comment = Home Directories
;  browseable = no
 
;  read only = yes
 
;  create mask = 0700
 
;  directory mask = 0700
 
;  valid users = %S
 
;[netlogon]
;  comment = Network Logon Service
;  path = /home/samba/netlogon
;  guest ok = yes
;  read only = yes
 
;[profiles]
;  comment = Users profiles
;  path = /home/samba/profiles
;  guest ok = no
;  browseable = no
;  create mask = 0600
;  directory mask = 0700
 
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
; guest ok = no
; read only = yes
create mask = 0700
 
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = no
;  write list = root, @lpadmin
 
[share]
public = yes
comment = Samba on Ubuntu
writeable = yes
valid users = samba1
path = /srv/samba/share
browsable = yes
 
[sambashare]
path = /home/giun/sambashare
writeable = yes
browseable = yes
users = giun, samba1
guest ok = yes
09-06-2018, 03:49 AM
Reply
Posts: 221
Trophies:
2
timberland pro work boots
adidas store
north face outlet
pandora bracelet charms
nike outlet online
oakley sunglasses for men
adidas yeezy boost
nike clearance
air max 97 silver bullet
pandora
longchamp
nike sneakers
ferragamo belt
ecco shoes for men
michael kors handbags
christian louboutin shoes
yeezy boost
moncler outlet
moncler jackets
birkenstock sandals
fitflop
pandora jewelry 70 off clearance
pandora jewelry
red bottom
retro 13
timberlands
mcm backpack
timberland outlet
adidas nmd
fitflops
oakley sunglasses
birkenstock outlet
fitflops
adidas running shoes
coach outlet
air max 270
nike factory
nike outlet store
nike air max 97
puma
tory burch sale
pandora charms
pandora
harden shoes
pandora jewelry
adidas sneakers
uggs clearance
moncler jackets
adidas store
nike outlet store online shopping
michael kors outlet
red bottoms
retro 12
adidas
adidas ultra boost
canada goose clothing
nike shoes outlet
mbt shoes
canadian goose jacket
ugg slippers
retro 12
michael kors handbags
superstar shoes
cheap oakley sunglasses
adidas boost
adidas nmd
timberland boots
pandora charms
soccer cleats
louboutin shoes
jordan sneakers
nike vapor max flyknit
nike outlet online
pandora rings official site
jordan retro 11
michael kors handbags
coach handbags
air max 97 south beach
adidas shoes
adidas store
nike uk
ralph lauren polo
nike outlet store online shopping
pandora bracelet
pandora charms
yeezy adidas
ray ban glasses
retro 12
nike outlet store online
ray ban sunglasses
pandora jewelry official site
air max 95 neon
pandora jewelry
adidas sneakers
nike uk
birkenstock outlet stores
pandora jewelry official site
nike vapor max plus
nike outlet store online shopping
birkenstock sandals
birkenstock shoes
pandora charms
yeezy shoes
polo ralph lauren outlet
north outlet online
michael kors outlet online
fitflops sale clearance
tory burch sandals
nike shoes for women
christian louboutin outlet
tory burch outlet
ysl handbags
adidas superstar shoes
soccer cleats
jordan 14
pandora
christian louboutin
adidas yeezy
ray ban eyeglasses
adidas yeezy boost
2018.0908W
09-07-2018, 11:26 PM
Reply
Subscribe to this thread Subscribed Users1  Add Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Fail to connect to Windows shares: "failed to retrieve share list from server" DonJuan 0 19 01-19-2020 03:24 AM
Last Post: DonJuan
  boot problem qkathlinewillish 0 10 01-16-2020 02:51 PM
Last Post: qkathlinewillish
  Ubuntu18.04 downgrade to 430.50 problem (Docker gpu) ebrainpecks 0 17 01-04-2020 01:56 PM
Last Post: ebrainpecks
  Problem with installation Linux Mint/Ubuntu/Elementary OS JerrieKasica 0 14 11-20-2019 09:36 PM
Last Post: JerrieKasica
  [kubuntu] Problem with Repository? lodiliagloverj 0 20 11-15-2019 12:48 PM
Last Post: lodiliagloverj
  [ubuntu] CUPS print to AD using Samba and Kerberos KevynB1947 3 389 09-20-2018 09:10 PM
Last Post: Monday12
  [ubuntu] Snort & BASE problem tamenera91 4 648 09-20-2018 09:05 PM
Last Post: Monday12
  Problem with Ati radeon on Ubuntu MarvinR1935 0 156 09-10-2018 06:37 AM
Last Post: MarvinR1935
  [xubuntu] Using journalctl to narrow down a Wi-Fi problem? nandymorenoi 0 222 09-06-2018 03:49 AM
Last Post: nandymorenoi
  [ubuntu] Access FreeNAS share as CIFS vs SMBFS PaulMallow 2 370 08-31-2018 10:29 PM
Last Post: Monday12

Forum Jump:



User(s) browsing this thread: 1 Guest(s)



Contact Us Privacy Policy Top RSS
Forum Software By: MyBB, © 2002-2020