Added smb CT
This commit is contained in:
47
CT-Files/smb/Configs/smb.conf
Normal file
47
CT-Files/smb/Configs/smb.conf
Normal file
@@ -0,0 +1,47 @@
|
||||
#======================= Global Settings =======================
|
||||
|
||||
[global]
|
||||
workgroup = WORKGROUP
|
||||
log file = /var/log/samba/log.%m
|
||||
max log size = 1000
|
||||
logging = file
|
||||
panic action = /usr/share/samba/panic-action %d
|
||||
|
||||
####### Authentication #######
|
||||
|
||||
server role = standalone server
|
||||
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 = never
|
||||
usershare allow guests = yes
|
||||
|
||||
#======================= Share Definitions =======================
|
||||
|
||||
[homes]
|
||||
valid users = %S
|
||||
browseable = no
|
||||
comment = Home Directories
|
||||
create mask = 0700
|
||||
directory mask = 0700
|
||||
writeable = yes
|
||||
|
||||
#======================= Default (disabled) printer share Definitions =======================
|
||||
|
||||
#[printers]
|
||||
# comment = All Printers
|
||||
# browseable = no
|
||||
# path = /var/spool/samba
|
||||
# printable = yes
|
||||
# guest ok = no
|
||||
# read only = yes
|
||||
# create mask = 0700
|
||||
|
||||
#[print$]
|
||||
# comment = Printer Drivers
|
||||
# path = /var/lib/samba/printers
|
||||
# browseable = yes
|
||||
# read only = yes
|
||||
# guest ok = no
|
||||
14
CT-Files/smb/Configs/smb.service.avahi
Normal file
14
CT-Files/smb/Configs/smb.service.avahi
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" standalone='no'?>
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
<name replace-wildcards="yes">%h</name>
|
||||
<service>
|
||||
<type>_smb._tcp</type>
|
||||
<port>445</port>
|
||||
</service>
|
||||
<service>
|
||||
<type>_device-info._tcp</type>
|
||||
<port>0</port>
|
||||
<txt-record>model=RackMac</txt-record>
|
||||
</service>
|
||||
</service-group>
|
||||
2
CT-Files/smb/Configs/wsdd.conf
Normal file
2
CT-Files/smb/Configs/wsdd.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
# command line parameters for wsdd (consult man page)
|
||||
WSDD_PARAMS="-p"
|
||||
Reference in New Issue
Block a user