LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2006, 07:21 PM   #1
Stokecpa
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
Samba Share Config


I am trying to set up a simple share so that backup files cal be copied from my linux drive. Using the smb.conf file as listed below, I can see the share but when I try to access it (from a Windows XP box) I get the message:

\\PBX\FullBackup is not accessable. The network name cannot be found.

I realize that this is a login issue but i don't know how to resolve it. I would prefer to not have any login required (if possible).

smb.conf:

#======================= Global Settings =====================================
[global]
netbios name = pbx
server string = Samba %v on %L
workgroup = smallbusiness.local
security = share
log file = /var/log/samba/%m.log
log level = 1
max log size = 50
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
os level = 20
hosts allow = 100.0.1.
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes
dns proxy = no



#============================ Share Definitions ==============================
[FullBackup]
comment = Backup File Directories
path = /var/lib/asterisk/backups/FullBackup
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes

Thanks in advance for any help!

Last edited by Stokecpa; 11-01-2006 at 08:08 PM.
 
Old 11-01-2006, 10:32 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Try the ip address instead of the name of the computer.

\\192.168.1.2\FullBackup

Make sure to restart the SAMBA service
 
Old 11-02-2006, 01:00 PM   #3
New2Linux2
Member
 
Registered: Jan 2004
Location: Arizona
Distribution: Debian
Posts: 153

Rep: Reputation: 43
Also change your "hosts allow" to:
Code:
hosts allow = 100.0.1.0/24
That will allow all hosts with an IP address in the range of 100.0.1.x with subnet mask of 255.255.255.0 (the "/24" is representative of the subnet mask 255.255.255.0. Change it to 100.0.0.0/16 for a subnet mask of 255.255.0.0 or 100.0.0.0/8 for a subnet mask of 255.0.0.0).
And of course, restart samba when finished making changes to smb.conf
Code:
/etc/init.d/samba restart

Last edited by New2Linux2; 11-02-2006 at 01:01 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration