Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am unable to access my Win XP shares from a linux box, however i can easily do the vice versa. I have tried almost anything in the book...i have added my win xp user name to my linux user names, added the passwd to smbpasswd and some other things. i cant access the share using either linneighbourhood.
something very strange that happens is that i am able to log into the win xp shares and mount them but then they turn out to be the sahres that i have defined from my linux box so basically i can see my shares(the ones i have defined for my windows box) through my windows box back on my linux box but i cant see the XP shares. This happens using both using LinNeighbourhood and Lisa in KDE.
also when i am able to see the Shared Documents of my XP box, i mount it but then when i go to the console and do "ls" in the folder....it says permission denied....i have done this both as root and user.
i do not know what is going on.
plz help me.
I couldn't get linux (rh9) and windows xp pro to share untill I stopped the linux firewall, a service named iptables and also stopped the windows xp internet connection firewall, after that it worked great.
PLEASE BE CAREFUL: don't stop your firewalls on internet connected systems for obvious reasons, play with these settings off-line.
This is a very simplistic approach, I'm sure you can tweak the iptables config to browse the samba shares and safely access the internet as well, but you'll need more involved iptables advice from someone else.
Hope this helps.
Last edited by london_geezer; 10-23-2003 at 09:39 AM.
i dont think it is a firewall issue sincei have switched off all firewalls on my home network.
also the last time i tried accessing the computer it showed me the SharedDocs directory from my windows box but after mounting it...it said that i do not have permissions to browse it.
also i think i must tell you that i cant access the SharedDocs of my windows box from the windows installation on my compuetr either but there are other shares that i can access(the ones i am really looking to access). However these do not show up in the folder list once i have scanned the other windows machine.
i know this mught be confusing but this is what is going on.
please let me know if u need me to post my smb.conf file here.
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=172.16.14.1 bcast=172.16.14.255 nmask=255.255.255.0
added interface ip=172.16.100.1 bcast=172.16.100.255 nmask=255.255.255.0
session request to 192.168.0.2 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
this is what i get when i do:
smbclient //192.168.0.2/<shared folder> <passwd> -U <user>
however when i put the shared folder as SharedDocs and do the same i do get a command line saying:
when i do ls here i get:
NT_STATUS_ACCESS_DENIED listing \*
60792 blocks of size 524288. 30769 blocks available
this is exactly what happend when i use gnomes lan manager too....it shows me the shared docs bit then says i dont have accesss to the directory...however i still cannot see the other shared folders.
I am having a similar problem, and I don't think it is samba related. Here is my setup:
rh9 box, w2k box, xp laptop networked via access point-router. Win boxes use wireless nics rh9 box is cabled to AP-R. Win boxes have typical admin and user accounts and browse shared folders and printers fine. Rh9 box has one user account, dad, other than root. Access to dad is granted via samba to the network. Win boxes browse dad fine. In rh9 network server window the network workgroup is detected via samba. That icon expands to show the names of all 3 boxes, each autodetected by samba. They are: linux, server and 6har (the laptop). I can browse linux which is a browse of itself through samba and I can browse 6har but when I click on the server icon (the w2k box) after a time out i receive: "Couldn't display smb://server/ because no host "server" could be found. Check that the spelling is correct and that your proxy settings are correct."
What's confusing is that I can browse the laptop from rh9 box but not the other, so its nothing in the smb.conf. Not only that, I once could browse the offending box but later lost it with the same smb.conf. I had been messing with the wireless nic software on the offending box for an unrelated issue just prior to lossing it. There is no firewall involved but the nics and AP-R are encrypted, but, again, i browse one and no the other. The wireless components are all different manufacturers.
Frankly I am going to try another nic or yank that one completely out and remove all memory of it from my computer and then reinstall it from scratch ( I already tried everything short of that).
I hate to steal rmanocha's forum but hopefully reading about someone elses problems helps to remove that aloneness one sometimes feels and may trigger an idea.
I found last night that my problem was hardware. I had a second nic on the offending box from which, for some reason, samba couldn't get a response. The devil's in the details, but in my description above I left out that I was running a second phoneline network ICS'ing to two other w2k boxes. the rh9 box couldn't see that one. Disabling that phoneline nic solved the problem.
I hope my experience helps rmanocha and thanks to all and this forum.