LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-12-2005, 02:46 PM   #1
va7hg
LQ Newbie
 
Registered: Aug 2005
Location: White Rock, BC, Canada
Posts: 4

Rep: Reputation: 0
Unhappy cannot access my Linux share from Windows


Hi, I would post this under Newbie, but the instructions say put it in the general forum since it involves Windows.

I have just added a Fedora C4 box to my home network and I was impressed how slick it installed and runs! Feeling ambitious I have tried to set up SAMBA and APACHE, they installed fine but I cannot access either. For this thread I will just concentrate on the SAMBA issue.

I followed the instructions in the SAMS book "Red Hat Fedora 4 Linux All in One" to install and configure Samba. As a result I can access the share directories on my Windows machines from the Linux box and the Linux share directory (called exchange)appears in the Network Places list on the Windows machines but when I try to display the contents of the Linux share directory from a windows machine I get the error message:

\\LINUX\exchange is not accessible. You may not have permission to use this resource.

I have redone the configuration several times with no effect. In desperation I tried making the system wide open. I disabled the firewall, set Samba to allow anyone to access the share directory, set the access permissions for the home, user and share directories to 777 and made sure that the share directory is configured within SAMBA. After all this it still does not work. HELP!!!
 
Old 12-12-2005, 02:51 PM   #2
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
What filesystem is the linux share directory? If it is a linux filesystem, then you won't be able to access it.
 
Old 12-12-2005, 04:04 PM   #3
va7hg
LQ Newbie
 
Registered: Aug 2005
Location: White Rock, BC, Canada
Posts: 4

Original Poster
Rep: Reputation: 0
access from windows

OK, I installed a new hard drive when I made my linux box and let the Redhat installer make the whole drive a single linux partition. Do I have to reduce the size of this partition and add a FAT32 partition to the drive or is there an easier way to add support for windows file structure? If I have to make a seperate partition for the windows files, should I devide the linux part while I am at it - for instance is there any security benefit to putting the home directory in a seperate partition?

Last edited by va7hg; 12-12-2005 at 04:12 PM.
 
Old 12-12-2005, 04:46 PM   #4
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
The benefit of putting your /home directory in it's own partition is that if something goes horribly wrong and you have to re-install linux, most of your settings will be kept.

If you want windows to be able to see your samba share, it has to be a share of a FAT32 or NTFS, as those are the only 2 filesystems that windows recognizes. FAT32 is preferred, as linux cannot reliably write to NTFS(it's pretty good, but there's a chance of corrupting the partition).

For example. I have an 80 GB drive I use for my Operating systems. I have one 20GB NTFS partition for my XP install, a 5.7gb ext3 partition for my / , a 1gb swap, a 5.8gb ext3 partiton for my /usr directory, and a 41.7gb ext3 partition for my /home directory. I also have an 80gb and a 200gb drive as FAT32 for storage. The main limitation of FAT32 is that you can't have any files that are larger than 4gb. This means that any DVD iso's you might have you can't store them in a FAT32 filesystem.

It all depends on how you want to set it up. I would always suggest that your home directory at least be on it's own partition.
 
Old 12-12-2005, 05:28 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,798

Rep: Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333Reputation: 6333
When sharing files over the network the filesystem type does not matter because it is the OS on the server that does the actual read/write process not the client. A FAT32 partition is used for sharing files on a dual boot PC.

Post your smb.conf file. Are you using security = user or security = share? For security = user you will need to add a smbpasswd user for your username. i.e.
smbpasswd -a username (need to be root).

I would enable netbios of tcp/ip in the tcp/ip properties of your ethernet adapter on the windows box. Also check for errors in the smbd and nmbd log files. /var/log/samba. You need to be root to access the logs.

Actually this is a legitimate networking question.

Last edited by michaelk; 12-12-2005 at 05:34 PM.
 
Old 12-12-2005, 06:25 PM   #6
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Hmm.. interesting, I didn't know that. I'll test it.
 
Old 12-13-2005, 08:00 AM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
Moved: This thread is more suitable in Linux-Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Access Windows Share through Apache boardoms Linux - Networking 2 12-02-2005 11:19 AM
write access to share on windows machine Delphinusnz Mandriva 0 11-16-2004 02:24 AM
Can't access a smb share from windows digitalspillage Linux - Newbie 2 10-05-2003 09:42 AM
NFS Share access problem from Windows Help!!! Sabeer Linux - Networking 1 07-08-2003 08:59 AM
How to access Windows share? correro Linux - General 3 03-10-2003 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration