Can map shared linux drive in XP but CANNOT SEE FILES
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
Can map shared linux drive in XP but CANNOT SEE FILES
Just another linux n00b running a fresh install of Fedora core 64. I'm trying to setup Samba to share files with my Windows XP home box and appear to have most of it sorted -
- I can see the linux box in my network neighbourhood
- I can ping bothways
- In XP command line, net /view \\<linuxbox> displays the shared folder on the linux box
- In linux terminal, smbstatus reveals the XP box as logged in
- accounts have been setup for read/write access (verified OK by logging in from Windows)
- same workgroup settings
- I can map the shared folder as a network drive in XP
- Firewalls have been disabled to rule them out
However.... I can't see anything in the shared folder even though there are files in it! If I try to write to it (I've given it write access for the account) it gives me an error saying its either full or write protected. Ditto if I go into the mapped drive in XP command line.
I've been banging my head on the wall for hours now so any advice would be much appreciated. I'm pretty sure that the basic network config is sound - I can ping and log on FFS so it must be something at a higher level. I just don't understand why it just doesn't appear to 'see' any content....
- user "adm" created as linux user
- user "adm" (both unix and windows names) created as samba user
- <shared directory> set to allow read / write to all users and groups
To make things worse, I tried duplicating the problem - created another samba share. This time, I couldn't even map to it on the windows side - gave me "share not found on this path" or something similar. However, this new share is
- browseable (you can even browse to it when mapping, but it returns the error above)
- comes up fine with "net view \\<linuxhost>"
?????? Starting to suspect its bloody windows side at fault here....
Yes I've created the user logons in both linux and samba. I did it via GNOME (in fedora core 4) but its definitely there - if you put in
smbpasswd -a username
I get a "duplicate password, password not changed" msg i.e. I've already set it.
Its very confusing as I can read and map, but I can't write or modify. All folders / files have global permissions set.... firewalls off on both machines...
Can't run swat as its not installed with this distro. I tried to manually install the swat rpm (its missing from the installation DVD iso) but its not the same version / architecture (I'm running fed core 4 for AMD64) and it says I'm missing some files. Pretty sure there's nothing too wrong with smb.conf anyway, I've tested it via replacing it with some simple scripts (from textbooks etc.) and I run into the exact same problem
I have checked all of those config files and the name was not in there, just localhost. I am guessing that it is still pulling the name from DNS. Is there a command to flush DNS or is this something that will work itself out when the DHCP renews? Thanks again!!
OK, johannlo. Seems I have the same problem: Cannot see or create files using samba or ftp. Seems they just diappeared from the windows explorer view. How did you go about turning off the SELinux security policy?
OK, I found something. Just ran the command setenforce 0 to disable SELinux enforcing temporarily and then turned it back with setenforce 1 after I finished my smb session.
Seems you also can do it permanently by editing /etc/selinux/config and change SELINUX=enforcing to SELINUX=permissive. Then reboot or something. Seems there may potentially be some mess to clean up if you disable it completely.
Yes I have made no attempt to reconcile SELinux with samba - I'm just running a home network and I'm behind a router so with linux, iptables, + firewall on router (I know its pretty barebones) + NAT, I figure if someone can hack through that then they deserve to be in my little sh*tbox
To be honest my windoze box is much more vulnerable! (though its not running any listening services e.g. ftp or ssh).