LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 08-15-2004, 11:00 AM   #1
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Samba allow access to all on 192.168.*.*


Okay, so I'm setting up a simple Samba server so I can share several files at LANs I have with my friends, and ones I host at my school. This way, everyone can get their patches/nocds etc. from one spot. I've already set up an AFP share (my friend is Mac-Only at the moment as is the rest of my house) but I'm having some trouble making the Samba work how I want it to. I have it set to allow guests access to a certain share, however, when Windows tries to connect, it must try using the name of the current user, and it gets denied. (I can access it on OS X, but I HAVE to remove whatever name was in the User field, otherwise I get the same message, something to the effect of Access Denied). How can I make the share accessable to ANYONE? I've looked through the man pages and whatnot, and it only seems to tell me how to allow it for certain users, which, if I'm at a LAN, I don't want to have to go through and add everyone. Thanks for the help!
 
Old 08-17-2004, 11:13 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
Have a look at http://fluffygerbil.com/unofficial-samba.txt
eg
[global]
encrypt passwords = yes
guest account = smbguest
netbios name = MYSERVER
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY
workgroup = WORKGROUP

[pub]
path = /dir/subdir
read only = no
guest ok = yes
guest only = yes

and give the directory and files in it ownership by the chosen guest user
 
Old 08-17-2004, 11:50 AM   #3
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Original Poster
Rep: Reputation: 30
w00t! Thanks, I got it up and running, that's an excellent guide btw, defintely bookmarked!
 
  


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
Is someone on my network?! ::ffff:192.168.0.10:ssh ::ffff:192.168.0.:38201 ESTABLISHE ming0 Linux - Security 4 04-12-2005 01:04 AM
192.168.2.1 network with 192.168.0.1? Micro420 Linux - Networking 2 02-27-2005 06:59 AM
Iptables is converting -s 192.168.1.0/8 into 192.0.0.0/8 why !? qwijibow Linux - Security 2 01-26-2005 09:57 AM
how can i access windows system just sa i do //192.168.1.1 in the run program in wind sibu_rajappan Linux - General 4 05-28-2004 07:56 AM
192.168.0.0/25 ? Firew Linux - Networking 1 04-12-2001 01:02 PM


All times are GMT -5. The time now is 03:01 PM.

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