Initial backup import
This commit is contained in:
55
etc/samba/smb.conf
Normal file
55
etc/samba/smb.conf
Normal file
@@ -0,0 +1,55 @@
|
||||
# Global parameters
|
||||
[global]
|
||||
kerberos method = secrets and keytab
|
||||
log file = /var/log/samba/log.%m
|
||||
logging = file
|
||||
map to guest = Bad User
|
||||
max log size = 1000
|
||||
obey pam restrictions = No
|
||||
pam password change = Yes
|
||||
panic action = /usr/share/samba/panic-action %d
|
||||
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
|
||||
passwd program = /usr/bin/passwd %u
|
||||
realm = FOCUS-ON-IT.DE
|
||||
security = ADS
|
||||
template shell = /bin/bash
|
||||
unix password sync = Yes
|
||||
usershare allow guests = Yes
|
||||
winbind use default domain = Yes
|
||||
workgroup = FOCUS-ON-IT
|
||||
idmap config focus-on-it : range = 20001-999999
|
||||
idmap config focus-on-it : backend = rid
|
||||
idmap config * : range = 10000-20000
|
||||
idmap config * : backend = tdb
|
||||
|
||||
|
||||
[homes]
|
||||
browseable = No
|
||||
comment = Home Directories
|
||||
create mask = 0700
|
||||
directory mask = 0700
|
||||
valid users = %S
|
||||
|
||||
|
||||
[printers]
|
||||
browseable = No
|
||||
comment = All Printers
|
||||
create mask = 0700
|
||||
path = /var/tmp
|
||||
printable = Yes
|
||||
|
||||
|
||||
[print$]
|
||||
comment = Printer Drivers
|
||||
path = /var/lib/samba/printers
|
||||
|
||||
|
||||
[Nextcloud-Homes]
|
||||
path = /srv/nextcloud-data/%U
|
||||
read only = no
|
||||
browseable = no
|
||||
|
||||
create mask = 0700
|
||||
directory mask = 0700
|
||||
|
||||
valid users = %U
|
||||
Reference in New Issue
Block a user