From 48a1af4c2ef9af8ba4c01505af4441c18aa8ba9d Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 13 Aug 2018 00:09:20 +0200 Subject: [PATCH] daily autocommit --- .etckeeper | 1 + libuser.conf | 0 samba/smb.conf | 135 +++++++++++++++++++++++-------------------------- 3 files changed, 65 insertions(+), 71 deletions(-) create mode 100644 libuser.conf diff --git a/.etckeeper b/.etckeeper index 50e3539..563c449 100755 --- a/.etckeeper +++ b/.etckeeper @@ -2059,6 +2059,7 @@ maybe chmod 0755 'libreoffice' maybe chmod 0644 'libreoffice/psprint.conf' maybe chmod 0644 'libreoffice/soffice.sh' maybe chmod 0644 'libreoffice/sofficerc' +maybe chmod 0644 'libuser.conf' maybe chmod 0755 'libvirt' maybe chmod 0755 'libvirt/hooks' maybe chmod 0644 'libvirt/libvirt-admin.conf' diff --git a/libuser.conf b/libuser.conf new file mode 100644 index 0000000..e69de29 diff --git a/samba/smb.conf b/samba/smb.conf index 5d2b857..5780747 100644 --- a/samba/smb.conf +++ b/samba/smb.conf @@ -1,8 +1,8 @@ [global] - netbios name = Bruni +; netbios name = Bruni server string = Samba file and print server - workgroup = Workgroup + workgroup = workgroup security = user ; hosts allow = 127. 192.168.0. ; interfaces = 127.0.0.1/8 192.168.0.0/24 @@ -10,23 +10,23 @@ ; remote announce = 192.168.0.255 ; remote browse sync = 192.168.0.255 printcap name = cups - load printers = yes +; load printers = yes cups options = raw - printing = cups - guest account = smbguest +; printing = cups + guest account = gast log file = /var/log/samba/samba.log max log size = 5120 #null passwords = no username level = 6 #password level = 6 - encrypt passwords = yes +; encrypt passwords = yes unix password sync = yes #socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 - socket options = TCP_NODELAY +; socket options = TCP_NODELAY local master = no domain master = no preferred master = no - domain logons = no +; domain logons = no os level = 33 #logging = syslog@2 file log level = 5 @@ -34,32 +34,32 @@ logon home = \\%L\homes\%u logon path = \\%L\profiles\%u logon script = %G.bat - time server = no +; time server = no name resolve order = wins lmhosts bcast - wins support = no - wins proxy = no +; wins support = no +; wins proxy = no dns proxy = no - preserve case = yes - short preserve case = yes +; preserve case = yes +; short preserve case = yes client use spnego = no client signing = no client schannel = no server signing = no server schannel = no - nt pipe support = yes - nt status support = yes +; nt pipe support = yes +; nt status support = yes allow trusted domains = no obey pam restrictions = yes - enable spoolss = yes - client plaintext auth = no - disable netbios = no + #enable spoolss = yes +; client plaintext auth = no +; disable netbios = no follow symlinks = no #update encrypted = yes - pam password change = no +; pam password change = no passwd chat timeout = 120 - hostname lookups = no +; hostname lookups = no username map = /etc/samba/smbusers - passdb backend = tdbsam +; passdb backend = tdbsam passwd program = /usr/bin/passwd '%u' passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u' @@ -79,37 +79,34 @@ winbind trusted domains only = yes winbind nested groups = no winbind nss info = no - winbind refresh tickets = no - winbind offline logon = no +; winbind refresh tickets = no +; winbind offline logon = no force group = users + guest ok = yes [homes] comment = Home Directories path = /home valid users = %U read only = no - available = yes - browseable = yes - writable = yes - guest ok = no - public = no - printable = no +; available = yes +; browseable = yes +; guest ok = no +; printable = no locking = no strict locking = no create mask = 0664 directory mask = 0775 - follow symlinks = yes +; follow symlinks = yes [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon read only = no - available = yes - browseable = yes - writable = no - guest ok = no - public = no - printable = no +; available = yes +; browseable = yes +; guest ok = no +; printable = no locking = no strict locking = no @@ -117,12 +114,10 @@ comment = Nutzer Profile path = /var/lib/samba/profiles read only = no - available = yes - browseable = yes - writable = yes - guest ok = no - public = no - printable = no +; available = yes +; browseable = yes +; guest ok = no +; printable = no create mode = 0600 directory mask = 0700 locking = no @@ -131,10 +126,9 @@ [printers] comment = Alle Drucker path = /var/spool/samba - browseable = yes - writable = no - guest ok = no - public = no +; browseable = yes +; writable = no +; guest ok = no printable = yes locking = no strict locking = no @@ -143,8 +137,8 @@ path = /var/lib/samba/pdf-documents comment = Converted PDF Documents admin users = %U - available = yes - browseable = yes +; available = yes +; browseable = yes writeable = yes guest ok = yes locking = no @@ -158,33 +152,32 @@ use client driver = yes printing = bsd print command = /usr/bin/gadmin-samba-pdf %s %u - lpq command = - lprm command = + lpq command = + lprm command = [all] - path = /data/all - browseable = yes - comment = Oeffentliches Zeug + path = /data/all +; browseable = yes + comment = Oeffentliches Zeug #public = no - writable = no - write list = @users - printable = no - create mask = 0664 - directory mask = 0775 - guest ok = yes + writeable = yes + write list = @users +; printable = no + create mask = 0664 + directory mask = 0775 + guest ok = yes # vfs object = /usr/lib/samba/vfs/audit.so [inst] - path = /data/inst - browseable = yes - comment = Installations-Dateien - public = yes - only guest = yes - writable = no - write list = @users - printable = no - force user = frank - create mask = 0664 - directory mask = 0775 - guest ok = yes + path = /data/inst +; browseable = yes + comment = Installations-Dateien + public = yes + only guest = yes +; writable = no + write list = @users +; printable = no + force user = frank + create mask = 0664 + directory mask = 0775 -- 2.39.5