LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2011, 08:26 AM   #1
hamisngos
LQ Newbie
 
Registered: May 2011
Posts: 7

Rep: Reputation: Disabled
samba configuration


Hi all,
I am not that good at linux, I need help on this

Am trying to share my SAMBASHARED folder from my linux machine so that all windows users can access it.

I configured the /etc/exports file as follows
/SAMBASHARED *(rw)

I then started the samba service by as follows
/etc/init.d/smb start
/etc/init.d/nfs start
/etc/init.d/netfs start

checked permissions for folder SAMBASHARED and it files
chmod 777 /SAMBASHARED

but i cannot access the shared folder

can any one tell what am i supporsed to do?
 
Old 08-18-2011, 10:57 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by hamisngos View Post
Hi all,
I am not that good at linux, I need help on this Am trying to share my SAMBASHARED folder from my linux machine so that all windows users can access it.

I configured the /etc/exports file as follows
/SAMBASHARED *(rw)

I then started the samba service by as follows
/etc/init.d/smb start
/etc/init.d/nfs start
/etc/init.d/netfs start

checked permissions for folder SAMBASHARED and it files
chmod 777 /SAMBASHARED

but i cannot access the shared folder can any one tell what am i supporsed to do?
The /etc/exports file is for NFS only. Unless the Windows clients have NFS software installed (not likely), you will have to set up SAMBA (not NFS), to share the folder(s). You don't say what version/distro of Linux or Samba you're using, but there are many how-to guides you can easily find, if you look, like this one from the Samba website:
http://www.samba.org/samba/docs/man/...TO-Collection/

You don't need nfs or netfs to run Samba.
 
Old 08-18-2011, 01:48 PM   #3
allwimb
Member
 
Registered: Aug 2011
Posts: 47

Rep: Reputation: Disabled
the samba config file is in /etc/samba/smb.conf

spring logout

Last edited by allwimb; 12-12-2011 at 05:45 AM.
 
Old 08-18-2011, 08:58 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Is the SAMBASHARED directory configured for sharing in the directory permissions?

This is the best Samba reference I have found. It proceeds from very simple to very complex:

http://www.samba.org/samba/docs/Samba3-ByExample.pdf

Other formats are available on this page:

http://www.tldp.org/guides.html
 
1 members found this post helpful.
  


Reply



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
Samba configuration help BubbaXJ Linux - Networking 1 12-06-2006 08:06 AM
samba configuration paul62 Linspire/Freespire 6 11-28-2006 11:16 AM
Samba configuration ? help me wampire Linux - Networking 10 02-12-2006 08:38 AM
SAMBA configuration nawin_g Linux - Networking 9 11-08-2005 03:23 PM
Samba configuration milon Linux - Newbie 2 09-26-2004 09:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:57 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