Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-23-2008, 05:18 AM
|
#1
|
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Rep:
|
ERROR :: The file or folder smb://<I,P.>/<Filename> does not exist
Ive created samba shares on my fedora-8 server.(ip = 192.168.4.25)
I can see it on my windows network.
But the problem is that ,,when i click open the folders on windows,it doesnt open saying ::::::
//Fedora-samb is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you access permissions.
Another problem is that i cant access it even via linux machine.
When i do smb://192.168.4.25. I can see the samba shared folders ,,,but again when i try to click open them it says :::::
The file or folder smb://exports does not exist.
I even tried msdfs proxy = no. Commenting this out in /etc/samba/smb.conf.
But no help.
Please help me on this,,, as i need to fix it soon
Thanx in advance
|
|
|
|
01-23-2008, 05:46 AM
|
#2
|
|
Member
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Rep:
|
did you chmod the samba directories you want to share?..
chmod 600 <samba share directory>
that should work for you, oh and make sure you are logged in as root(su)..
|
|
|
|
01-23-2008, 05:58 AM
|
#3
|
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
Yeah i did so, but still cant access fedora-samba -shares ,,,,form another linux / or windows machine
|
|
|
|
01-23-2008, 06:32 AM
|
#4
|
|
Member
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Rep:
|
I usually use this as my guide when playing with samba, then i go from there...
I know its ubuntu based but all you use is the basic samba info...
Its simple and straight forward, with all the steps required...
http://www.howtoforge.com/samba_setup_ubuntu_5.10
once you have checked the steps here, then start looking thru the samba man pages and at the samba documentation..
I'll try to get back online in the next few days...
|
|
|
|
01-25-2008, 08:13 AM
|
#5
|
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
Can anybody tell me : Is there any free utility to access linux-nfs-shares on windows xp.
Thanx in advance
|
|
|
|
01-26-2008, 02:45 AM
|
#6
|
|
Member
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Rep:
|
have you included your clients in the /etc/hosts file
that link i gave you will show you the correct basic setup for samba, from there you can modify or destroy it to what you want...
What you say you want is a very simple setup, and samba is samba...
if you went to page 3 of that link you would find how to set users, groups, directories, clients etc...
|
|
|
|
01-28-2008, 06:57 AM
|
#7
|
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
samba still aint workin followed that ubuntu howtoforge.
Even tried copying my mandriva-2008's smb.conf to my rhel-5,still same error.
Even selinux and firewall are disabled.
Is it some problem with rhel-5.
Coz its running smoothly on mandriva-2008
Here is my /etc/samba/smb.conf for mandriva ,,working super fine. But dont know anything about my rhel-5 server.
[global]
workgroup = MDKGROUP
server string = Samba Server %v
printcap name = cups
printcap cache time = 60
log file = /var/log/samba/%m.log
max log size = 50
map to guest = bad user
dns proxy = no
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
read only = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
printable = yes
create mask = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = yes
[print$]
path = /var/lib/samba/printers
write list = @adm root
guest ok = yes
inherit permissions = yes
[pdf-gen]
path = /var/tmp
printable = Yes
comment = PDF Generator (only valid users)
printing = bsd
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
[PDF]
path = /home/rusha/pdf/
guest ok = yes
read only = no
[BUGZILLA]
path = /home/rusha/bugzilla-3.0.3/Bugzilla
guest ok = yes
read only = no
case sensitive = no
strict locking = no
msdfs proxy = no
|
|
|
|
01-29-2008, 06:44 AM
|
#8
|
|
Member
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Rep:
|
rhel 5 should be no different to use compared md2008, considering that your using samba, but it may be the reason..
Have you thought about giving centos4 a go, or can you just stick with mandriva as it works...
|
|
|
|
01-30-2008, 04:29 AM
|
#9
|
|
LQ Newbie
Registered: Dec 2007
Location: hyderabad
Distribution: Redhat
Posts: 2
Rep:
|
view the root permissions of those shared directories.check u had given the shared directory name is same for windows and linux.check the windows user name and password.give the dns server address with related to ur ip addr.there is no problem.
|
|
|
|
01-31-2008, 02:16 AM
|
#10
|
|
Member
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69
Original Poster
Rep:
|
my question is that ,,when the same smb.conf can work well on mandriva 2008,,even behind shorewall,,,,then why isnt it working on rhel 5 (the same smb.conf file, that is) ,,,even with firewall and selinux disabled ??????
|
|
|
|
02-01-2008, 10:10 PM
|
#11
|
|
LQ Newbie
Registered: Dec 2007
Location: hyderabad
Distribution: Redhat
Posts: 2
Rep:
|
samba server
so u choosen the class c address. if u can see the samba shared folders of linux in windows giving the ip address in run \\:192.168.4.25. but u can't access them. the problem is the permissions of the shared folders.first change the permissions using chmod 777 of the shared folder. then also verify that in linux start->system settings-> server settings -> samba server. goto preferences add the shared folder and give read/write. this must & should.
also see that if u gave the permissions in the windows explorer shared permissions for user and groups.then u can access that folders.also see that that gave the primary DNS address. I had also this exp.
|
|
|
|
02-02-2008, 12:08 AM
|
#12
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
I haven't read this whole thread, but if you're having trouble with samba in Fedora, it's probably and SELinux issue.
As root from a terminal, type
setenforce 0
that's a zero not capital "o"
if that fixes it, you will want to disable disable samba for samba with
setsebool -P smbd_disable_trans 1
as root
Re-enforce with
setenforce 1
|
|
|
|
02-02-2008, 12:18 AM
|
#13
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Just read back and see you've tried disabling selinux. When did you move from fedora to centos - the thread is terribly unclear
Stupid question, but did you add users to the new setup or just copy the config over and fire it up?
Also, what do the logs tell you?e
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:20 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|