to a specific folder. i am about to help a friend up together a TB file server. we will be using debian sarge with the speakup kernal as that is what comes on my CD. i will be setting up samba and smbfs so i can go both ways.
we are setting this up for LAN parties, etc. basically he has a handful of friends that are at his place as he has the most storage space, and most space to setup LAN parites, etc...
i know i could set up my standard samba server with my default smb.conf i use that shares out the home directory, but i want to not have to worry about all the different user/pw combos and differnt workgroups of his friends as they bring their systems over for the LAN parties, or to upload/download programs to his TB server.
(the local bestbuy in his area had WD 7200rpm IDE drives on sale for $20 after rebate... ea =139GB of raw storage. for that price he can afford a few controllers and poof nice little TB server)
also will *nix and samba allow that much storage space? do i need to break each drive up, can i software raid them together for striping?
Code:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = ssma.local
# server string is the equivalent of the NT Description field
server string = Samba Server
# This option is important for security. It allows you to restrict
# connections to machiens which are on your loacl network.
hosts allow = 192.168.2.
# If you want to autmatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes
# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
printing = cups
# This tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 50
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
# The following is neede to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB paswords. They allow the Unix password
# to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
# You can use PAM's password change control flags for Samba. If
# enabled, then PAM will be used for password changes when requested
# by a SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.
pam password change = yes
obey pam restrictions = yes
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
#============================== Share Definitions ===============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0644
directory mode = 0755
# printers
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
# uncomment if useing /tmp/*
;[tmp]
; comment = Temporary file space
; path = /tmp/samba
# in the path place what ever subdirectory you want
; read only = no
; public = yes
how do i set it up to share out differnt locations, and how do i set it up to not care who access that/those directories?
thanks.