Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- grep -vE ';|\#|^$' /etc/samba/smb.conf
- [global]
- workgroup = workgroup
- realm = workgroup
- server string = samba
- printcap name = /dev/null
- load printers = no
- show add printer wizard = no
- log file = /var/log/samba/%m.log
- max log size = 50
- hosts allow = 192.168.2. 127.0.0.
- map to guest = bad user
- encrypt passwords = true
- idmap uid = 10000-20000
- idmap gid = 10000-20000
- local master = yes
- os level = 33
- domain master = yes
- preferred master = yes
- wins support = yes
- dns proxy = no
- security = user
- dos charset = UTF-8
- display charset = UTF-8
- [homes]
- comment = Home Directories
- browseable = no
- writable = yes
- [printers]
- comment = All Printers
- path = /var/spool/samba
- browseable = no
- guest ok = yes
- printable = yes
- create mode = 0700
- use client driver = yes
- [250GB_public]
- path = /mnt/250GB/public
- comment = shara
- guest ok = yes
- writeable = yes
- [250GB_soft]
- path = /mnt/250GB/soft
- comment = shara
- guest ok = yes
- writeable = no
- [250GB_shared]
- path = /mnt/250GB/shared
- comment = shara
- guest ok = yes
- writeable = yes
- [250GB_torrent]
- path = /mnt/250GB/torrent
- comment = shara
- guest ok = yes
- writeable = yes
- [160GB_shared]
- path = /mnt/160GB/shared
- comment = shara
- guest ok = yes
- writeable = yes
- [160GB_torrent]
- path = /mnt/160GB/torrent
- comment = shara
- guest ok = yes
- writeable = no
- [40GB_shared]
- path = /mnt/40GB/shared
- comment = shara
- guest ok = yes
- writeable = yes
- ^C
- root@maknas:~# testparm --verbose
- Load smb config files from /etc/samba/smb.conf
- rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
- WARNING: The "idmap uid" option is deprecated
- WARNING: The "idmap gid" option is deprecated
- ERROR: invalid DOS charset: 'dos charset' must not be UTF8, using (default value ) CP850 instead.
- Unknown parameter encountered: "display charset"
- Ignoring unknown parameter "display charset"
- Processing section "[homes]"
- Processing section "[printers]"
- Processing section "[250GB_public]"
- Processing section "[250GB_soft]"
- Processing section "[250GB_shared]"
- Processing section "[250GB_torrent]"
- Processing section "[160GB_shared]"
- Processing section "[160GB_torrent]"
- Processing section "[40GB_shared]"
- Loaded services file OK.
- WARNING: You have some share names that are longer than 12 characters.
- These may not be accessible to some older clients.
- (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
- Warning: Service printers defines a print command, but parameter is ignored when using CUPS libraries.
- Server role: ROLE_STANDALONE
- Press enter to see a dump of your service definitions
- # Global parameters
- [global]
- bind interfaces only = No
- config backend = file
- dos charset = CP850
- enable core files = Yes
- interfaces =
- multicast dns register = Yes
- netbios aliases =
- netbios name = MAKNAS
- netbios scope =
- realm = WORKGROUP
- server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate, dns
- server string = samba
- share backend = classic
- unix charset = UTF-8
- workgroup = WORKGROUP
- browse list = Yes
- domain master = Yes
- enhanced browsing = Yes
- lm announce = Auto
- lm interval = 60
- local master = Yes
- os level = 33
- preferred master = Yes
- allow dns updates = secure only
- dns forwarder =
- dns update command = /usr/sbin/samba_dnsupdate
- machine password timeout = 604800
- nsupdate command = /usr/bin/nsupdate -g
- rndc command = /usr/sbin/rndc
- spn update command = /usr/sbin/samba_spnupdate
- mangle prefix = 1
- mangling method = hash2
- max stat cache size = 256
- stat cache = Yes
- client ldap sasl wrapping = sign
- ldap admin dn =
- ldap connection timeout = 2
- ldap delete dn = No
- ldap deref = auto
- ldap follow referral = Auto
- ldap group suffix =
- ldap idmap suffix =
- ldap machine suffix =
- ldap page size = 1000
- ldap passwd sync = no
- ldap replication sleep = 1000
- ldap server require strong auth = Yes
- ldap ssl = start tls
- ldap ssl ads = No
- ldap suffix =
- ldap timeout = 15
- ldap user suffix =
- lock spin time = 200
- oplock break wait time = 0
- smb2 leases = Yes
- debug class = No
- debug hires timestamp = Yes
- debug pid = No
- debug prefix timestamp = No
- debug uid = No
- ldap debug level = 0
- ldap debug threshold = 10
- log file = /var/log/samba/%m.log
- logging =
- log level = 2
- max log size = 50
- syslog = 1
- syslog only = No
- timestamp logs = Yes
- abort shutdown script =
- add group script =
- add machine script =
- add user script =
- add user to group script =
- allow nt4 crypto = No
- delete group script =
- delete user from group script =
- delete user script =
- domain logons = No
- enable privileges = Yes
- init logon delay = 100
- init logon delayed hosts =
- logon drive =
- logon home = \\%N\%U
- logon path = \\%N\%U\profile
- logon script =
- reject md5 clients = No
- set primary group script =
- shutdown script =
- add share command =
- afs token lifetime = 604800
- afs username map =
- allow insecure wide links = No
- async smb echo handler = No
- auto services =
- cache directory = /var/cache/samba
- change notify = Yes
- change share command =
- cluster addresses =
- clustering = No
- config file =
- ctdbd socket =
- ctdb locktime warn threshold = 0
- ctdb timeout = 0
- default service =
- delete share command =
- homedir map = auto.home
- kernel change notify = Yes
- lock directory = /var/run/samba
- log writeable files on exit = No
- message command =
- nbt client socket address = 0.0.0.0
- ncalrpc dir = /var/run/samba/ncalrpc
- NIS homedir = No
- nmbd bind explicit broadcast = Yes
- panic action =
- perfcount module =
- pid directory = /var/run/samba
- registry shares = No
- remote announce =
- remote browse sync =
- reset on zero vc = No
- smbd profiling level = off
- state directory = /var/lib/samba
- usershare allow guests = No
- usershare max shares = 100
- usershare owner only = Yes
- usershare path = /var/lib/samba/usershares
- usershare prefix allow list =
- usershare prefix deny list =
- usershare template share =
- utmp = No
- utmp directory =
- wtmp directory =
- addport command =
- addprinter command =
- cups connection timeout = 30
- cups encrypt = No
- cups server =
- deleteprinter command =
- disable spoolss = No
- enumports command =
- iprint server =
- load printers = No
- lpq cache time = 30
- os2 driver map =
- printcap cache time = 750
- printcap name = /dev/null
- show add printer wizard = No
- cldap port = 389
- client ipc max protocol = default
- client ipc min protocol = default
- client max protocol = default
- client min protocol = CORE
- client use spnego = Yes
- dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver
- defer sharing violations = Yes
- dgram port = 138
- disable netbios = No
- enable asu support = No
- eventlog list =
- large readwrite = Yes
- max mux = 50
- max ttl = 259200
- max wins ttl = 518400
- max xmit = 16644
- min receivefile size = 0
- min wins ttl = 21600
- name resolve order = lmhosts wins host bcast
- nbt port = 137
- nt pipe support = Yes
- nt status support = Yes
- read raw = Yes
- rpc big endian = No
- server max protocol = SMB3
- server min protocol = LANMAN1
- server multi channel support = No
- smb2 max credits = 8192
- smb2 max read = 8388608
- smb2 max trans = 8388608
- smb2 max write = 8388608
- smb ports = 445 139
- svcctl list =
- time server = No
- unicode = Yes
- unix extensions = Yes
- use spnego = Yes
- web port = 901
- write raw = Yes
- algorithmic rid base = 1000
- allow dcerpc auth level connect = No
- allow trusted domains = Yes
- auth methods =
- check password script =
- client ipc signing = default
- client lanman auth = No
- client NTLMv2 auth = Yes
- client plaintext auth = No
- client schannel = Auto
- client signing = default
- client use spnego principal = No
- dedicated keytab file =
- encrypt passwords = Yes
- guest account = nobody
- kerberos method = default
- kpasswd port = 464
- krb5 port = 88
- lanman auth = No
- log nt token command =
- map to guest = Bad User
- map untrusted to domain = No
- ntlm auth = No
- ntp signd socket directory = /var/lib/samba/ntp_signd
- null passwords = No
- obey pam restrictions = No
- old password allowed period = 60
- pam password change = No
- passdb backend = tdbsam
- passdb expand explicit = No
- passwd chat = *new*password* %n\n *new*password* %n\n *changed*
- passwd chat debug = No
- passwd chat timeout = 2
- passwd program =
- password hash gpg key ids =
- password server = *
- preload modules =
- private dir = /var/lib/samba/private
- raw NTLMv2 auth = No
- rename user script =
- restrict anonymous = 0
- root directory =
- samba kcc command = /usr/sbin/samba_kcc
- security = USER
- server role = auto
- server schannel = Auto
- server signing = default
- smb passwd file = /etc/samba/smbpasswd
- tls cafile = tls/ca.pem
- tls certfile = tls/cert.pem
- tls crlfile =
- tls dh params file =
- tls enabled = Yes
- tls keyfile = tls/key.pem
- tls priority = NORMAL:-VERS-SSL3.0
- tls verify peer = as_strict_as_possible
- unix password sync = No
- username level = 0
- username map =
- username map cache time = 0
- username map script =
- aio max threads = 100
- deadtime = 0
- getwd cache = Yes
- hostname lookups = No
- keepalive = 300
- max disk size = 0
- max open files = 16384
- max smbd processes = 0
- name cache timeout = 660
- socket options = TCP_NODELAY
- use mmap = Yes
- get quota command =
- host msdfs = Yes
- set quota command =
- create krb5 conf = Yes
- idmap backend = tdb
- idmap cache time = 604800
- idmap gid = 10000-20000
- idmap negative cache time = 120
- idmap uid = 10000-20000
- include system krb5 conf = Yes
- neutralize nt4 emulation = No
- reject md5 servers = No
- require strong key = Yes
- template homedir = /home/%D/%U
- template shell = /bin/false
- winbind cache time = 300
- winbindd privileged socket directory = /var/lib/samba/winbindd_privileged
- winbindd socket directory = /var/run/samba/winbindd
- winbind enum groups = No
- winbind enum users = No
- winbind expand groups = 0
- winbind max clients = 200
- winbind max domain connections = 1
- winbind nested groups = Yes
- winbind normalize names = No
- winbind nss info = template
- winbind offline logon = No
- winbind reconnect delay = 30
- winbind refresh tickets = No
- winbind request timeout = 60
- winbind rpc only = No
- winbind sealed pipes = Yes
- winbind separator = \
- winbind trusted domains only = No
- winbind use default domain = No
- dns proxy = No
- wins hook =
- wins proxy = No
- wins server =
- wins support = Yes
- idmap config * : range = 10000-20000
- idmap config * : backend = tdb
- comment =
- path =
- administrative share = No
- browseable = Yes
- case sensitive = Auto
- default case = lower
- delete veto files = No
- hide dot files = Yes
- hide files =
- hide special files = No
- hide unreadable = No
- hide unwriteable files = No
- mangled names = Yes
- mangling char = ~
- map archive = Yes
- map hidden = No
- map readonly = yes
- map system = No
- preserve case = Yes
- short preserve case = Yes
- store dos attributes = No
- veto files =
- veto oplock files =
- blocking locks = Yes
- csc policy = manual
- fake oplocks = No
- kernel oplocks = No
- kernel share modes = Yes
- level2 oplocks = Yes
- locking = Yes
- oplock contention limit = 2
- oplocks = Yes
- posix locking = Yes
- strict locking = Auto
- afs share = No
- available = Yes
- copy =
- delete readonly = No
- dfree cache time = 0
- dfree command =
- directory name cache size = 100
- dmapi support = No
- dont descend =
- dos filemode = No
- dos filetime resolution = No
- dos filetimes = Yes
- fake directory create times = No
- follow symlinks = Yes
- fstype = NTFS
- include =
- magic output =
- magic script =
- postexec =
- preexec =
- preexec close = No
- root postexec =
- root preexec =
- root preexec close = No
- spotlight = No
- volume =
- wide links = No
- cups options =
- default devmode = Yes
- force printername = No
- lppause command =
- lpq command = %p
- lpresume command =
- lprm command =
- max print jobs = 1000
- max reported print jobs = 0
- printable = No
- print command =
- printer name =
- printing = cups
- printjob username = %U
- print notify backchannel = No
- queuepause command =
- queueresume command =
- use client driver = No
- acl allow execute always = No
- acl check permissions = Yes
- acl map full control = Yes
- durable handles = Yes
- ea support = No
- map acl inherit = No
- nt acl support = Yes
- profile acls = No
- access based share enum = No
- acl group control = No
- admin users =
- create mask = 0744
- directory mask = 0755
- force create mode = 0000
- force directory mode = 0000
- force group =
- force unknown acl user = No
- force user =
- guest ok = No
- guest only = No
- hosts allow = 192.168.2. 127.0.0.
- hosts deny =
- inherit acls = No
- inherit owner = No
- inherit permissions = No
- invalid users =
- read list =
- read only = Yes
- smb encrypt = default
- valid users =
- write list =
- aio read size = 0
- aio write behind =
- aio write size = 0
- allocation roundup size = 1048576
- block size = 1024
- max connections = 0
- min print space = 0
- strict allocate = No
- strict rename = No
- strict sync = No
- sync always = No
- use sendfile = No
- write cache size = 0
- msdfs proxy =
- msdfs root = No
- msdfs shuffle referrals = No
- ntvfs handler = unixuid, default
- vfs objects =
- [homes]
- comment = Home Directories
- browseable = No
- read only = No
- [printers]
- comment = All Printers
- path = /var/spool/samba
- browseable = No
- printable = Yes
- print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
- use client driver = Yes
- create mask = 0700
- guest ok = Yes
- [250GB_public]
- comment = shara
- path = /mnt/250GB/public
- guest ok = Yes
- read only = No
- [250GB_soft]
- comment = shara
- path = /mnt/250GB/soft
- guest ok = Yes
- [250GB_shared]
- comment = shara
- path = /mnt/250GB/shared
- guest ok = Yes
- read only = No
- [250GB_torrent]
- comment = shara
- path = /mnt/250GB/torrent
- guest ok = Yes
- read only = No
- [160GB_shared]
- comment = shara
- path = /mnt/160GB/shared
- guest ok = Yes
- read only = No
- [160GB_torrent]
- comment = shara
- path = /mnt/160GB/torrent
- guest ok = Yes
- [40GB_shared]
- comment = shara
- path = /mnt/40GB/shared
- guest ok = Yes
- read only = No
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement