0% found this document useful (0 votes)
10 views

samba

This document is a configuration file for Samba, detailing settings for the server, home directories, printers, and printer drivers. It specifies parameters such as logging, password management, user permissions, and access controls. Additionally, it includes network restrictions for allowed hosts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

samba

This document is a configuration file for Samba, detailing settings for the server, home directories, printers, and printer drivers. It specifies parameters such as logging, password management, user permissions, and access controls. Additionally, it includes network restrictions for allowed hosts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

[global]

workgroup = search
server string = %h server
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:*
%n\n *password\supdated\ssuccessfully* .
socket options = TCP_NODELAY

[homes]
comment = Home Directories
browseable = yes
writable = yes
force create mode = 0664
force directory mode = 0775
create mask = 0664
directory mask = 0775
valid users = %S
read only = no

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
public = no
writable = no
create mode = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no

##################################
# server string = %h server (Samba %v)
# passdb backend = tdbsam guest
# passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:*
%n\n .

# path = /tmp

hosts allow = 192.168.3.0/24 213.17.128.180/32 89.174.30.53

You might also like