LinuxQuestions.org
Register a domain and help support LQ
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, 09: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, 11:57 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,944

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
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, 02: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 06:45 AM.
 
Old 08-18-2011, 09:58 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,350
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
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


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


All times are GMT -5. The time now is 11:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration