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?? :scratch: thanks in advanced |
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? |
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 |
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.
|
Thanks for the light. works great
|
All times are GMT -5. The time now is 07:56 PM. |