cant close smb port!!!

flacochala

I`m in!!
Hi...im having a bit of a problem with the windows sharing... here is the my trouble... when I start the windows sharing (in system preferences - sharing)... samba open my port 139.. so far so good, but when i stop the windows sharing.. my port 139 (netbios-ssn), is still open!!!!.. and the only way to close itm is logging me out.. or starting th firewall.. i dont really know if this should work like this or, or i mess up my smb.conf... but please.. if anyone knows how can i close the port 139 with "stop the sharing" button i would be gracefull... thanxxsss...
 
Hmmm, I am surprised you can set a firewall on ports <255. Thought such ports are some essential ports like for pop, smtp, http... which needn't to get protected since they can't be adressed without a local request. But I might be wrong. Just remember I read this somewhere..
Sorry for this useless post, but I am really curious about it. ;)
 
run 'lsof -i' (might have to run it as 'sudo lsof -i' to get privileged info that only root should see) to see what processes have all network sockets open. That info might be useful here.

The brutal way of fixing this might just be to kill the process in question. But, maybe you should make sure no one has a share open first...
 
Back
Top