LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-03-2007, 08:04 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Samba Server Setup


Guys - I am setting up my workstation (Debian) to dish out a SMB share to the LAN I am in. I have basically only want to share out two shares. One being my CDROM, this way if someone needs a file or data that is not on the LAN, I can throw it in my CDROM and they can simply map my CDROM share shown below and obtain the files they need. This seems to be not too difficult but then I also have a mounted partition called /share. This /share partition is a spare drive (S-ATA) in my box and I want anyone and everyone to be able to rwx to my predefined /share "share".

I am now editing my smb.conf file and I am confused because I believe the default is that in order to access my SMB share, you must have a shell account which is what I do NOT want. I want it to be open authentication so now I am wondering what do I change this setting to. The document ion does not live in the path specified in the commented section - I searched my system high and dry for it.

Code:
####### Authentication #######

# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
;   security = user
Any thoughts on what to change "user" to? I also show my smb.conf shares below in case anyone needs to see what I did.

Code:
# Sharing My CDROM 
[cdrom]
   comment = My CDROM
   writable = no
   locking = no
   path = /media/cdrom0
   public = yes

# My share drive for misc. data.
[share]
   comment = My Share Drive
   writable = yes
   locking = no
   path = /share
   public = yes

Last edited by carlosinfl; 08-03-2007 at 08:05 AM.
 
Old 08-03-2007, 08:10 AM   #2
bneal
Member
 
Registered: Jun 2007
Location: Oklahoma City, OK
Distribution: RHEL 4; Suse 10.1, 10.2, FC6, Fedora 7
Posts: 57

Rep: Reputation: 15
Quote:
security = share
this will allow anyone on your network access to the share
 
Old 08-03-2007, 09:07 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by bneal
this will allow anyone on your network access to the share
Thanks - that worked perfectly!
 
  


Reply



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
Howto Setup Samba Server anteaus Linux - Networking 2 02-13-2005 08:59 AM
Samba and Web server setup mdm0173 Linux - Networking 3 08-23-2004 04:29 PM
how to setup a backup server for a samba PDC kenji1903 Linux - Networking 3 04-26-2004 11:54 PM
samba server setup domain problem blither Linux - Networking 27 10-23-2003 01:17 PM
setup a samba server with dhcp ebele Linux - Networking 1 12-12-2002 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:55 AM.

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