LinuxQuestions.org
Review your favorite Linux distribution.
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 02-13-2008, 11:01 PM   #1
fedoraman
Member
 
Registered: Jan 2008
Posts: 51

Rep: Reputation: 15
Samba Sharing Not Accesible


Hi,

I just configured the samba server on my fedora core box I made change in smb.conf and when I try to browse it from my windows machine than the share open but when i clicked on the shared folder it gives me an error message that this \\192.168.1.8\gallery is not accesible you do not have permission to access this network resources.

Any solution for this problem

Thanks
-Abhiz
 
Old 02-13-2008, 11:14 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Describe which windows client you are using. Does your network use a workgroup or a domain? Post the global and the part of smb.conf that contains the share definition. What are the permissions of the directory you are sharing?
What "security=" model are you using? The default is "security=user". If you aren't using a password server, or ADS or a samba password backend, then samba uses the smbpasswd file. This means that you want to use the smbpasswd command to enter the username and password, and to have the windows user also a Linux user.

This is unless this share is a guest share. You need to provide more information.

Also look in /usr/share/doc/samba-<version>/ for some pdf or postscript books. The "Samba 3 by Example" book is very good, and includes a number of sample configurations. It even takes you step by step in preparing the directory to be shared. If those books aren't in there, see if you have a samba-doc package you can install or download the book from the samba.org website.

Last edited by jschiwal; 02-13-2008 at 11:15 PM.
 
Old 02-13-2008, 11:38 PM   #3
fedoraman
Member
 
Registered: Jan 2008
Posts: 51

Original Poster
Rep: Reputation: 15
hi

Quote:
Originally Posted by jschiwal View Post
Describe which windows client you are using. Does your network use a workgroup or a domain? Post the global and the part of smb.conf that contains the share definition. What are the permissions of the directory you are sharing?
What "security=" model are you using? The default is "security=user". If you aren't using a password server, or ADS or a samba password backend, then samba uses the smbpasswd file. This means that you want to use the smbpasswd command to enter the username and password, and to have the windows user also a Linux user.

This is unless this share is a guest share. You need to provide more information.

Also look in /usr/share/doc/samba-<version>/ for some pdf or postscript books. The "Samba 3 by Example" book is very good, and includes a number of sample configurations. It even takes you step by step in preparing the directory to be shared. If those books aren't in there, see if you have a samba-doc package you can install or download the book from the samba.org website.
I am using windows server 2003 enterprise edition .No we dont have any workgroup yes we have the workgroup.I have given 0777 permissions and the directory which I am sharing is inside /var/www/html.I mentioned security = share.Yes I want to make the share as guest account so any one can access that share.

[global]
dns proxy = no
log file = /var/log/samba/%m.log
guest account = nobody
server string = Project Server
default service = global
workgroup = mygroup
os level = 20
security = share
max log size = 50
 
Old 02-13-2008, 11:55 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think you want "Guest OK = Yes" in the definition for the share. You didn't post that however. The "default service = global" looks wrong to me. The global section isn't the definition of a service. It defines the global values for the entire server. You should have a service defined for the /var/www/html/ directory (Your original post said it was the [Gallery] service).

The "Default Service" value will be the service accessed if no service is entered.
According to the smb.conf manpage, typically it would be a guest ok, read-only service. If you are only offering the service for the /var/www/html directory, I suppose read/write is OK if that is what you want.

Last edited by jschiwal; 02-14-2008 at 12:47 AM.
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
fat32 drive not accesible anirudh.iitm Ubuntu 1 08-07-2006 06:24 AM
Which folders on my HD are accesible to everybody Boudewijn Linux - Newbie 2 03-07-2004 12:23 PM
guest accesible shares on samba server Scrotonomous Linux - Newbie 4 01-02-2003 05:27 PM
\\Localhost not accesible...but the shares are bernstar77 Linux - Networking 1 04-09-2002 04:37 PM

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

All times are GMT -5. The time now is 04:53 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
Open Source Consulting | Domain Registration