From 96de3e73848171eb787e4dfec3ab7f246fafa5d3 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sun, 12 Aug 2018 19:31:41 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- samba/smb.conf | 15 +++++++++------ samba/smbusers | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/samba/smb.conf b/samba/smb.conf index 941646f..5d2b857 100644 --- a/samba/smb.conf +++ b/samba/smb.conf @@ -16,17 +16,20 @@ guest account = smbguest log file = /var/log/samba/samba.log max log size = 5120 - null passwords = no + #null passwords = no username level = 6 - password level = 6 + #password level = 6 encrypt passwords = yes unix password sync = yes - socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 + #socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 + socket options = TCP_NODELAY local master = no domain master = no preferred master = no domain logons = no os level = 33 + #logging = syslog@2 file + log level = 5 logon drive = m: logon home = \\%L\homes\%u logon path = \\%L\profiles\%u @@ -51,7 +54,7 @@ client plaintext auth = no disable netbios = no follow symlinks = no - update encrypted = yes + #update encrypted = yes pam password change = no passwd chat timeout = 120 hostname lookups = no @@ -67,8 +70,8 @@ delete group script = /usr/sbin/groupdel '%g' add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u' machine password timeout = 120 - idmap uid = 16777216-33554431 - idmap gid = 16777216-33554431 + #idmap uid = 16777216-33554431 + #idmap gid = 16777216-33554431 template shell = /dev/null winbind use default domain = yes winbind separator = @ diff --git a/samba/smbusers b/samba/smbusers index 5d8f377..77a5bd6 100644 --- a/samba/smbusers +++ b/samba/smbusers @@ -1,4 +1,4 @@ # Unix_name = SMB_Name1 SMB_Name2 ... root = Administrator admin nobody = guest smbguest pcguest -frank = frank +frank = frank [MicrosoftAccount]\[frank]@[XENA] [MicrosoftAccount]\[frank] -- 2.39.5