File: /home/sukhdev/hp-Data/downloads/smb - Conf Page 1 of 8
File: /home/sukhdev/hp-Data/downloads/smb - Conf Page 1 of 8
File: /home/sukhdev/hp-Data/downloads/smb - Conf Page 1 of 8
conf Page 1 of 8
# 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]
# 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
printing = lprng
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an 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.
# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = 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 - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
guest ok = yes
writable = no
share modes = no
[backups]
comment = Backups space
path = /backups
read only = no
public = no
browsable=yes
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[ws6]
File: /home/sukhdev/hp-data/Downloads/smb.conf Page 5 of 8
[foxpro]
comment = FoxPro space
path = /dos_prog/foxpro
read only = no
public = yes
browsable=yes
read only = no
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[office97]
comment = MSOffice space
path = /office97
public = yes
browsable=yes
read only = no
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[gjxdata]
comment = Grand Jurix 2000 Data CDs
path = /gjx
read only = no
writeable = yes
public = yes
browsable=yes
read only = no
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[gjxnew]
comment = Grand Jurix 2000 Data DVD
path = /media/cdrecorder
read only = yes
writeable = no
public = yes
browsable=yes
[lom]
comment = Law Office Manager Data
path = /lawoffman
read only = no
writeable = yes
public = yes
browsable=yes
File: /home/sukhdev/hp-data/Downloads/smb.conf Page 6 of 8
read only = no
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[lawoffice]
comment = Lawoffice file space
path = /dos_prog/lawoffice
public = yes
browsable=yes
read only = no
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[vppdata]
comment = VPP file space
path = /dos_prog/vppdata
public = yes
browsable=yes
read only = no
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[virus]
comment = virus
path = /tmp/viruses/
public = no
browsable=yes
read only = no
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[setups]
comment = program setups
path = /setups
read only = no
writable = yes
public = yes
browsable=yes
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
[old]
comment = Archival file space
path = /dos_prog_old/
read only = yes
public = yes
browsable=yes
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
File: /home/sukhdev/hp-data/Downloads/smb.conf Page 7 of 8
writable = yes
[pack]
comment = Notice file space
path = /dos_prog/pack
read only = no
public = yes
browsable=yes
create mask = 0777
force create mode = 0777
force group = +avp
directory mask = 0777
writable = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /home/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/local/pc/%m
; public = no
; writable = yes
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
File: /home/sukhdev/hp-data/Downloads/smb.conf Page 8 of 8
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765