LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-10-2007, 02:02 PM   #1
julian_gm
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6
Posts: 5

Rep: Reputation: 0
Problems to access samba from xp


Hi, I've been looking for information to make things work but I'm stucked.
I have a winxp machine connected via lan with fc6 , they share internet, i can ping from xp, ssh via putty from xp and I can see the Samba Server in my workgroup
but if I try to acces the server it gives me an error, "can't find network" or something like that.
this is my smb.conf file:
[global]
workgroup = WORKGROUP
netbios name = LINUXHOST
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[sharedspace]
comment = Archivos para compartir
path = /home/shared
valid users = mike, vero
read only = No
create mask = 0765

[doc]
comment = Documentation
path = /usr/share/doc
guest ok = Yes

I added the samba users with smbpasswd command.
what am I missing??


thanks in advanced

Last edited by julian_gm; 01-10-2007 at 03:54 PM.
 
Old 01-10-2007, 03:07 PM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
Hmm - I can do exactly what you want, but my smb.conf looks very different from yours. Here it is:

[global]

netbios name = stefan
workgroup = GOEDEHOOP10
security = share
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = 192.254.255.10 192.254.255.20 192.254.255.30 127.0.0.1 192.254.255.40 192.254.255.50 192.254.255.60 192.254.255.70 192.254.255.80
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes

[shared]
path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes

With the above smb.conf Windows users have passwordless read and write access to the /mnt/win/shared directory on my linux system - perhaps my minimal config above will work for you too?
 
Old 01-10-2007, 03:59 PM   #3
julian_gm
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your quick reply.
if I stop the firewall (service iptables stop) I can connect from xp. the linux machine is in my internal lan, I don't know if it's a good idea disable the firewall.

any advice is appreciated

thanks
 
Old 01-12-2007, 12:03 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,475

Rep: Reputation: 87
If you are behind some form of router / another firewall as regards connection to the internet, it should be safe to disable the firewall completely. Don't do this if you need the protection the firewall offers - rather try and figure out how to get the firewall to allow Samba packets to move around in that case.
 
Old 01-13-2007, 08:35 AM   #5
julian_gm
LQ Newbie
 
Registered: Jan 2007
Distribution: Fedora Core 6
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the light. works great
 
  


Reply

Tags
samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mounted NT Samba share write access problems dm215 Linux - Software 1 01-08-2007 11:40 AM
Samba Problems with file access. combilli Linux - Software 1 11-17-2006 11:52 AM
Samba access by Windows users locking out directory access with Konqueror harry_fine Suse/Novell 1 12-18-2004 05:33 AM
call for SAMBA GURUs for wireless samba access netguy2000 Linux - Wireless Networking 0 01-16-2004 06:45 AM
Samba & XP Access Problems chiefobeef Linux - Networking 1 10-21-2003 07:20 PM


All times are GMT -5. The time now is 05:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration