LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-23-2008, 05:18 AM   #1
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Rep: Reputation: 15
Unhappy 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
 
Old 01-23-2008, 05:46 AM   #2
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
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)..
 
Old 01-23-2008, 05:58 AM   #3
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
Unhappy

Yeah i did so, but still cant access fedora-samba -shares ,,,,form another linux / or windows machine
 
Old 01-23-2008, 06:32 AM   #4
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
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...
 
Old 01-25-2008, 08:13 AM   #5
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
Can anybody tell me : Is there any free utility to access linux-nfs-shares on windows xp.
Thanx in advance
 
Old 01-26-2008, 02:45 AM   #6
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
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...
 
Old 01-28-2008, 06:57 AM   #7
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
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
 
Old 01-29-2008, 06:44 AM   #8
wraithe
Member
 
Registered: Feb 2006
Location: australia
Distribution: Linux... :-)
Posts: 216
Blog Entries: 1

Rep: Reputation: 30
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...
 
Old 01-30-2008, 04:29 AM   #9
guttikonda_kranthi
LQ Newbie
 
Registered: Dec 2007
Location: hyderabad
Distribution: Redhat
Posts: 2

Rep: Reputation: 0
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.
 
Old 01-31-2008, 02:16 AM   #10
rushadrenaline
Member
 
Registered: Nov 2006
Location: Bangalore,New delhi
Distribution: RHEL5, Kubuntu, Mandriva 2008
Posts: 69

Original Poster
Rep: Reputation: 15
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 ??????
 
Old 02-01-2008, 10:10 PM   #11
guttikonda_kranthi
LQ Newbie
 
Registered: Dec 2007
Location: hyderabad
Distribution: Redhat
Posts: 2

Rep: Reputation: 0
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.
 
Old 02-02-2008, 12:08 AM   #12
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 02-02-2008, 12:18 AM   #13
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

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


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 Can See Share But the File/Folder Doesn't Exist Sloppyunderfoot Linux - Server 2 07-28-2007 11:03 AM
How do I save a file from a program to a smb network folder? Rightnow Linux - Networking 6 10-16-2006 07:55 PM
Apache 2.2 error log stating file doesnt exist, when it clearly does. sarina1975 Linux - General 5 08-20-2006 05:56 PM
Can't change filename with SMB share InEeDhElPlInUx Linux - Security 0 04-01-2004 07:08 AM
Smtp/run file does not exist error when starting Qmail newlinuxgeek Linux - General 3 03-30-2004 04:53 AM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration