Client connection problems with Samba And Win XP Pro
Hello.
I'm trying to get samba to work correctly. I have gotten samba to work correctly in the past and am a little frustraited with my current results. smbd & nmbd are running. my smb.conf is pretty straight forward and is infact the same as when i had samba running correctly (2 installs ago). the problem occurs when i try to connect via my winxp box. here I am attempting to connect from dos... ***BEGIN DOS*** C:\>NET USE P: \\192.168.0.3\musicsrv /YES Enter the user name for '192.168.0.3': hewson Enter the password for 192.168.0.3: System error 53 has occurred. The network path was not found. ***END DOS*** (192.168.0.3 is my linux box & musicsrv is the name of the share) (this is the dos version of adding a network drive as most of howtos) any suggestions? |
I assume that you have tries to ping it.
Make sure iptables is not blocking it. As a test flush all the rules. iptables -F; iptables -P INPUT ACCEPT; iptables -P OUTPUT ACCEPT; If not post you smb.conf file. What distro you are using. If you are user security=USER make sure that you setup the samba user using smbpasswd. If it still does not work then Post you smb.conf file. What distro you are using? ps -ef | grep smb ps -ef | grep nmb netstat -pan |
sweet!
I'm using Fedora. What config file needs to edited to make this a permanent change? the iptables cmd worked, but i had the same problem as soon as i rebooted... thanks Hewson |
Every time you reboot, your iptables get configured the same way (the way it doesn't work for you). I am not a Fedora user but that is in essence your problem. Browse around /etc/init.d/ (and rc3.d or similar) and find where the iptables get initialized. This should lead you to the configuration files...
G. |
Configure iptables the way you want it and then save the changes using the save argument to the startup script /etc/init.d/iptables.
iptables -F iptables -INPUT -P ACCEPT; iptables -OUTPUT -P ACCEPT; /etc/init.d/iptalbes save; Now you have no firewall rules. |
All times are GMT -5. The time now is 01:46 PM. |