Linux - NewbieThis 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
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.