Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Sample configuration file for the Samba suite for Debian GNU/Linux.
- #
- #
- # 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 most of which
- # are not shown in this example
- #
- # Some options that are often worth tuning have been included as
- # commented-out examples in this file.
- # - When such options are commented with ";", the proposed setting
- # differs from the default Samba behaviour
- # - When commented with "#", the proposed setting is the default
- # behaviour of Samba but the option is considered important
- # enough to be mentioned here
- #
- # 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]
- ### DEFAULT OPTIONS ###
- ;workgroup = WORKGROUP
- server string = %h server (Samba, FileShare)
- dns proxy = no
- log file = /var/log/samba/log.%m
- max log size = 1000
- syslog = 0
- panic action = /usr/share/samba/panic-action %d
- ;server role = standalone server
- passdb backend = tdbsam
- obey pam restrictions = yes
- unix password sync = yes
- passwd program = /usr/bin/passwd %u
- passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
- pam password change = yes
- map to guest = bad user
- usershare allow guests = yes
- ### ADDITIONAL [global] OPTIONS ###
- workgroup = PRETTYSAFE
- realm = PRETTYSAFEELECTRONICS.IO
- security = ads
- idmap config * : backend = rid
- kerberos method = dedicated keytab
- dedicated keytab file = /etc/samba/UBUNTU.keytab
- server role = member server
- log level = 3
- ### DEFAULT SHARE OPTIONS ###
- read only = no
- [share]
- path = /home/share
- public = yes
- writeable = yes
- force user = share
- ; valid users = "PRETTYSAFE\Domain Users"
- inherit acls = yes
Add Comment
Please, Sign In to add comment