LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-17-2002, 04:34 PM   #1
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Rep: Reputation: 15
Exclamation Samba Help Please!!!! Please !!!! Please!!!


ok i know seting up samba is suppose to be straight forward but i cant get it too work, i can logon on to my shared folders through linux on to itself, but in windows all i can see is the computer but i cantmap the computer also i cant even view my shares on the computer ??

i have tried to install ksamba but after doing ./configure, make, doenst work it gives errors, ireally need help this to work please help me !!

my msn name is

snake007uk@hotmail.com
icq number is 84612471

please feel free to contactme and explain how to sort this out please, i have been through man pages, went to smaba site but istill cant get the bloody shred folders to showup so i can map them!

i dont need to have a password setup i just want a straight access from my local ip addresses only i have a range of ip addresses assigned to me so iwsh to restrict to my host only, and also i dont want to have passwor dor any restricted acces just want straight logon can SOMEONE PLEASE HELP!!!
 
Old 05-17-2002, 04:57 PM   #2
moetjojo
Member
 
Registered: May 2002
Location: Edinburgh, UK
Distribution: SuSE Pro 8.0
Posts: 30

Rep: Reputation: 15
Re: samba

What exactly happens when you are in network neighborhood in windows? Can you see the linux box? If so when you double click on the linux box do you get an access denied message?

Mail me your smb.conf file and I'll see if I can help.

You can find it in /etc/samba/smb.conf or /etc/smb.conf depending on which version of samba you are running.

moetjojo@blueyonder.co.uk
 
Old 05-17-2002, 05:05 PM   #3
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
this is the error i get !!!

\\Apocolypse is not accessible

the network path was not found

ill will mail u a screen dump of what happens when i click on apocolypse linux computer when i try to map a drive and also a copy of my smb.conf file

Snake
 
Old 05-17-2002, 05:09 PM   #4
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
all iwant to do is restrict ip acces to my 5 host ip addresses i have a range of static ip's

i dotn wnat a username and password i dont need that !

Snake
 
Old 05-17-2002, 07:11 PM   #5
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
no reply ??? im still trying to get it to work !! PLEASE HELP!!
 
Old 05-17-2002, 09:12 PM   #6
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
[global]

workgroup = WORKGROUP

server string = Flie Server

log file = /var/log/samba.%m

max log size = 50

security = share

socket options = TCP_NODELAY SO_RCVBUF=8760 SO_SNDBUF=8760

dns proxy = no

[shared]
path = /shared
public = yes
only guest = yes
writable = yes
printable = no

This /etc/samba/smb.conf is a basic config file, It allows anyone to connect whether they have a password or not.
 
Old 05-17-2002, 09:16 PM   #7
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
ok im at the point of despair i CANT DO THIS ANYMORE its 3am uk time now and i still havent got this thing working ive been at it since 8pm yesterday !!!! ARRRGGHHHHHHH i cant believe how much of a pian it is becoming i can see the computer but know shareed folders ?? ive tried everything ! man iGIVE UP , is there a packgae that can sort all of it out for me ??

if not im just gona have to use a windows server (yes i knwo b4 everyone starts) but i really want to learn how to use linux properly but when u try and try and tryu and try u get so frustrated ! arrrrrggghh

i even downloaded the Ksamba RPm ok when installed i was missing a library so i went i got that but guess what it kept crashing the RPM program so i couldnt install it (i tried to get tehh file from another location but the same bloody thing)

all i wanted to do was share 3 folder on my linux box to my win box, no password not bothered and restricted to the ip range of 192.168.9.XXXX so no other host can acccess it (the ip is not the static range i own for obvious reasons)

but i can get win2k to recognise the computer but thats it! no shared folders nothing just keeps say no path to host or something!"

im sooooooooo PISSED OFF (sorry for the LANGUAGE! but if you were me u would be aswell)

Snake

Snake
 
Old 05-18-2002, 04:51 AM   #8
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
ok i tried the basic file with that hanzerik gave me and made adjustments such has server name and shared folder location etc. (actually that was it) right i saved the file restart the smb service ok, and then restarted windows but it hasnt even found the linux box on the network now ??

i have heard that windows updates it's routing table 9or you know host connected thingy) every so often so when that updates it will have the host there is this correct?


oh guess what its there now???????? i can see the computer (im just gona see if i can see the shared folders)

surprise surprise no shared folders ?

i still dont understand why this happening a copy of my smb file is below

[global]

workgroup = WORKGROUP

server string = Apocolypse

log file = /var/log/samba.%m

max log size = 50

security = share

socket options = TCP_NODELAY SO_RCVBUF=8760 SO_SNDBUF=8760

dns proxy = no

[shared]
path = /home/ftp
public = yes
only guest = yes
writable = yes
printable = no


can some one please explain to me if this is a linux problem or win2k problem ? also how can i check if this shred folder is working ?

SNake (thansk guys for all your help!)
 
Old 05-18-2002, 04:53 AM   #9
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
when i click on My computer "Apocolypse" it says

\\Apocolypse is not acessable

The network path was not found

what does this mean ?
 
Old 05-18-2002, 05:06 AM   #10
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
i have a static ip reange which i use fdor my network could this be a problem or do u lot think its win2k ??

Snake
 
Old 05-18-2002, 05:21 AM   #11
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
ok so the problem was the firewall it was stopping win2k from accessing the folders ok, now the problem what rule do i put in so i can have smmaba running rine ??

i still get one error though, its says no path found to network ??

Snake
 
Old 05-18-2002, 05:22 AM   #12
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
i can see the folders now though so some progresss made!

Snake
 
Old 05-18-2002, 05:51 AM   #13
Snake007uk
Member
 
Registered: May 2002
Location: London
Distribution: Redhat 7.3
Posts: 84

Original Poster
Rep: Reputation: 15
ok got it working perfectly now, but stillneed a firewall rule that i can use to have firewall up but also have access to samba shares !!! can anyone help here ??

one last thing i have a shared folder /home/downloads

ok now i have folders with int hat folder /home/downloads/mp3

if i want to make a file or dir in /home/downloads i can but if i even try to make or delete a file in anyof the previous sub dir made in downlaods e.g /home/downloads/mp3 it say access denied ?? why is this ? i mean if i create my own one in the downloads dir i can access and do what i want why not with the ones that are already there ??

PS I WILL MAKE A STEP BY STE GUIDE ON HOW TO SORT OUT SAMBA ON WIN2k for ll newbies so no one has to suffer like i did

but thansk for your help guys (i read some old post and a bit of mixing and matching and viola!) so i think it would be good to add everything you want in one help file sort of ! also i willbe around so any help on samba i can give i will (i mean thats the whole of idea of linux, u learn something now go and show somone else!)

Snake (THANK U)
 
Old 05-18-2002, 08:05 AM   #14
moetjojo
Member
 
Registered: May 2002
Location: Edinburgh, UK
Distribution: SuSE Pro 8.0
Posts: 30

Rep: Reputation: 15
Thumbs up Samba probs

Good to see you're getting there - once you have it sorted it'll all work fine.

I had a similar problem with samba - windows not being able to access recursive shares. I found it was a problem with permissions.

Try this command from your linux box:

chmod -R a=rwx /path of top shared folder here

This sets permissions for all to have read write and execute access. The -R applies it recursively to all directories.

Can't help you with the firewall rule - I'm not too hot on that - we use a RH router with all our networked puters behind that - the firewall dosen't come into play on our VPN.


ps mail me a copy of your samba howto when you have it sorted. I'm also trying to put together a guide to home networking (our network composes of 1xRH 7.2 router and web server (apache), 1xSuSE 7.1 MP3 erver, 1x SuSE 6.3 WINS, DNS server, 1x SuSE 7.3 CS Server, 2xWINXP Pro clients and 2x Win'98 clients. Three of the client machines also run SuSE 8.)

We had to reconfigure samba when we got windows XP (which runs in a similar way to 2000) and there was very little i9nfo available. We also had to upgrade our samba version.

A lot of the stuff we found for help on the net didn't include the new config for 2000, NT and XP machines.

Good Luck

Last edited by moetjojo; 05-18-2002 at 08:21 AM.
 
Old 05-18-2002, 10:48 AM   #15
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
He's right you will have to change permissions on the shared directory so that you can write to it. The file I posted is not very secure, it allows anyone to connect, but if the permissons on the share arnt set correctly then you wont be able to write or delete.

I wouldnt personnaly would'nt use /home/downloads as a samba share, I would put it at /downloads.


chmod -R a=rwx /path of top shared folder here
Thats why I wouldnt put a share in /home/downloads. Because that will change the permmisions on every directory under /home which would be very unsecure.

Last edited by hanzerik; 05-18-2002 at 10:52 AM.
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration