LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-21-2008, 07:42 PM   #16
dave247
Member
 
Registered: May 2004
Posts: 206

Original Poster
Rep: Reputation: 30

Quote:
Originally Posted by billymayday View Post
First thing is you need security. What are you planning? Perhaps start with security = share.
What do you mean security? do you mean having a [security] section with options in it?

All I want to do is become familiar with how samba works. I dont care about security right now. i just want to get it working right now.
 
Old 04-21-2008, 07:45 PM   #17
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
No, you need to specify a security option in the general section. options (from memory) are share, user and domain.

See http://us3.samba.org/samba/docs/man/....html#id348521
 
Old 04-21-2008, 08:31 PM   #18
SP_Kenny
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
Dave did you try the security setting at share?
Did you try the domain master and win support like I have it setup in my config? Those settings really seemed to help clients show up on the network

I know you should "not have too" beings it is a Linux box and all,, if all else fails reboot the thing..

I do have to admit I do have 1 windows box here that has its issues working with the server... and I cannot get a consistent connection when browsing from the server across the network too it as well. That is the only windows XP pro client that I have come across that gives me grief. Any of the other systems here on the network (and at the LAN party's) have no problems.... so you might be having an issue with that windows box as well...

Last edited by SP_Kenny; 04-21-2008 at 08:37 PM.
 
Old 04-21-2008, 08:36 PM   #19
SP_Kenny
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by dave247 View Post
What do you mean security? do you mean having a [security] section with options in it?

All I want to do is become familiar with how samba works. I dont care about security right now. i just want to get it working right now.

Dave go back and look at the first half of that cfg stuff I posted on the first page of this thread.. under the upper (global) half there is a setting for security = share. Regardless of what you think you need for security at the moment that setting affects the way client interact with samba.
 
Old 04-21-2008, 09:28 PM   #20
dave247
Member
 
Registered: May 2004
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by SP_Kenny View Post
Dave go back and look at the first half of that cfg stuff I posted on the first page of this thread.. under the upper (global) half there is a setting for security = share. Regardless of what you think you need for security at the moment that setting affects the way client interact with samba.
ok I put that share option in there just like you said. In XP I can see my computer name Fedora8box and I can click on it to view the shared folders but when I do, there is nothing listed. So I am assuming that it is an issue with how I wrote the share info.

as you can see, I just created a new section like this:
Code:
[share1]
	path = /home/heetsmb
	writeable = yes
	browseable = yes
	guest ok = yes
So, when I go to map a drive and select the networked computer Fedora8box, shouldnt I then see the folder "heetsmb"?

I've restarted nmb and smb each time i make a change... the only thing I havent tried is the XP firewall, but usually that isnt a problem. I will try that soon if I still cant get it.

lmk if my coding needs anything extra.
 
Old 04-21-2008, 09:31 PM   #21
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Getting closer

What are the permissions on /home/heetsmb?
 
Old 04-21-2008, 09:36 PM   #22
dave247
Member
 
Registered: May 2004
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by billymayday View Post
Getting closer

What are the permissions on /home/heetsmb?
I previously did a chomod 777 on it, so it has been rwxrwxrwx for a while now. Apparently that didnt help.
 
Old 04-21-2008, 09:38 PM   #23
SP_Kenny
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
generally, if you are on your home network and have a dhcp/router/firewall between your computer and your dsl/cable modem then there is no reason to have the windows firewall on. In fact I even have windows firewall/ICS turned off in services.

Just for the hell of it reboot the linux box....lol
 
Old 04-21-2008, 09:44 PM   #24
SP_Kenny
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
do you have any folders in/home/heetsmb?

when doing the chmod 777 you might want to try it as chmod -R 777 to make sure it is a recursive setting...
 
Old 04-21-2008, 09:47 PM   #25
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Check /etc/passwd to see if there is an account nobody in there.

Explicitly declare nobody as the samba guest account (guest account = nobody in [general] - this should be the default anyway).

chown nobody /home/heetsmb

touch /home/heetssmb/test.txt

chown nobody /home/heetssmb/test.txt

try to access test.txt

look in you samba logs if it doesn't work and tell us what they say (use "tail -20 /pathtolog/logfile" to just get last 20 lines)
 
Old 04-21-2008, 10:04 PM   #26
dave247
Member
 
Registered: May 2004
Posts: 206

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by billymayday View Post
Check /etc/passwd to see if there is an account nobody in there.

Explicitly declare nobody as the samba guest account (guest account = nobody in [general] - this should be the default anyway).

chown nobody /home/heetsmb

touch /home/heetssmb/test.txt

chown nobody /home/heetssmb/test.txt

try to access test.txt

look in you samba logs if it doesn't work and tell us what they say (use "tail -20 /pathtolog/logfile" to just get last 20 lines)
I did: touch /home/heetssmb/test.txt but it said that it didnt exsist so i assumed that you made a typing error so i changed it to touch /home/heetsmb/test.txt which worked but then there was nothing in the text file at all.

so i dont know what else to do now...
 
Old 04-21-2008, 10:09 PM   #27
SP_Kenny
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
lol,, Dave, you created the text file.. but did you actually type anything in it?
 
Old 04-21-2008, 10:18 PM   #28
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I didn't tell him to. Can you see it from your windows box though?

Add some text to it

echo "hi" >> /home/heetsmb/test.txt

Adds "hi" tp the end of the file

Can you open it in Windows?
 
Old 04-21-2008, 10:26 PM   #29
dave247
Member
 
Registered: May 2004
Posts: 206

Original Poster
Rep: Reputation: 30
oh I see what you guys are saying. i already have a few files in the shared folder which i also can not see. I cant see the folder and i cant see the files in that folder. i dont know what the hell is wrong
 
Old 04-21-2008, 10:29 PM   #30
SP_Kenny
LQ Newbie
 
Registered: Mar 2008
Posts: 22

Rep: Reputation: 15
it looks like a time for people too jump on IRC and kick that thing into shape..
 
  


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
Cannot figure out how to set DPI correctly!!! rngetter Ubuntu 3 03-09-2008 01:22 AM
Can't figure out how to set up NAT/iptables is confusing rcx11 Linux - Networking 5 05-05-2007 05:37 PM
Using a Windows XP client to set permissions on a Samba share Wendellz Linux - Software 2 02-09-2007 08:01 AM
can't figure out how to mount windows xp on fedora sabenfox Linux - Newbie 2 12-07-2005 10:59 PM
New windows installation doesn't set up profiles with samba server drjekyll Linux - Newbie 2 05-25-2004 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:27 PM.

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