Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [global]
- ## Browsing/Identification ###
- #unix extensions = yes
- mangled names = no
- # Change this to the workgroup/NT-domain name your Samba server will part of
- workgroup = WG
- # server string is the equivalent of the NT Description field
- server string = Dirks Receiver
- netbios name = %h
- socket options = TCP_NODELAY
- #### Debugging/Accounting ####
- # This tells Samba to use a separate log file for each machine
- # that connects
- log file = /var/log/samba/log.%m
- # Cap the size of the individual log files (in KiB).
- max log size = 1000
- log level = 2
- # We want Samba to log a minimum amount of information to syslog. Everything
- # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
- # through syslog you should set the following parameter to something higher.
- syslog = 0
- ####### 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
- # You may wish to use password encryption. See the section on
- # 'encrypt passwords' in the smb.conf(5) manpage before enabling.
- encrypt passwords = true
- # If you are using encrypted passwords, Samba will need to know what
- # password database type you are using.
- passdb backend = smbpasswd
- #obey pam restrictions = yes
- # This boolean parameter controls whether Samba attempts to sync the Unix
- # password with the SMB password when the encrypted SMB password in the
- # passdb is changed.
- #unix password sync = yes
- #pam password change = yes
- # For Unix password sync to work on a Debian GNU/Linux system, the following
- # parameters must be set (thanks to Ian Kahan <<kahan@informatik.tu-muenchen.de> for
- # sending the correct chat script for the passwd program in Debian Sarge).
- #passwd program = /usr/bin/passwd %u
- #passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
- #log level = 100
- #passwd chat debug = Yes
- # Is this machine able to authenticate users. Both PDC and BDC
- # must have this setting enabled. If you are the BDC you must
- # change the 'domain master' setting to no
- #
- #domain logons = yes
- ############ Misc ############
- # Most people will find that this option gives better performance.
- # See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
- # for details
- # You may want to add the following on a Linux system:
- # SO_RCVBUF=8192 SO_SNDBUF=8192
- socket options = TCP_NODELAY
- # The following parameter is useful only if you have the linpopup package
- # installed. The samba maintainer and the linpopup maintainer are
- # working to ease installation and configuration of linpopup and samba.
- message command = /bin/sh -c '/usr/bin/svdrpsend mesg %f on %m: `cat %s`; rm %s' &
- unix charset = UTF-8
- #unix extensions = yes
- deadtime = 5
- username map = /etc/samba/user.map
- show add printer wizard = no
- guest account = nobody
- map to guest = Bad User
- [dirk]
- comment = Nutzerverzeichnis
- browseable = yes
- # By default, the home directories are exported read-only. Change the
- # next parameter to 'no' if you want to be able to write to them.
- read only = no
- # File creation mask is set to 0700 for security reasons. If you want to
- # create files with group=rw permissions, set next parameter to 0775.
- #create mask = 0700
- # Directory creation mask is set to 0700 for security reasons. If you want to
- # create dirs. with group=rw permissions, set next parameter to 0775.
- #directory mask = 0700
- # By default, \\server\username shares can be connected to by anyone
- # with access to the samba server.
- # The following parameter makes sure that only "username" can connect
- # to \\server\username
- # This might need tweaking when using external authentication schemes
- valid users = dirk
- path = home/dirk
- security mask = 0777
- force security mode = 0
- directory security mask = 0777
- force directory security mode = 0
- store dos attributes = Yes
- [vollzugriff]
- comment = Root Zugriff
- browseable = yes
- read only = no
- path = /
- force group = root
- force user = root
- directory mode = 770
- create mode = 660
- valid users = dirk
- dos filetime resolution = no
- [tausch]
- comment = Tauschverzeichnis
- browseable = yes
- read only = no
- guest ok = yes
- path = /srv/TAUSCH
- directory mode = 777
- force directory mode = 1000
- create mode = 666
- [videos]
- comment = TV Aufnahmen und Videos
- browseable = yes
- read only = yes
- guest ok = yes
- path = /srv/VIDEO
- force group = media
- force user = nobody
- [audio]
- comment = Audiodateien
- browseable = yes
- read only = yes
- guest ok = yes
- path = /srv/AUDIO
- force group = media
- force user = nobody
- [pictures]
- comment = Bilder
- browseable = yes
- read only = yes
- guest ok = yes
- path = /srv/PICTURE
- force group = media
- force user = nobody
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement