From 98f50582e20811db5bf33fb742b4388d33a5b1bf Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 15 Oct 2018 23:30:10 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- samba/smb.conf | 17 +++++++++++++---- samba/smbusers | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/samba/smb.conf b/samba/smb.conf index 5780747..81f31ef 100644 --- a/samba/smb.conf +++ b/samba/smb.conf @@ -2,8 +2,17 @@ [global] ; netbios name = Bruni server string = Samba file and print server - workgroup = workgroup + workgroup = HENNIG + client min protocol = SMB2 + client max protocol = SMB3 security = user + idmap config * : backend = tdb + idmap config * : range = 1000000-1999999 + idmap config HENNIG : backend = rid + idmap config HENNIG : range = 10000 - 49999 + idmap config MicrosoftAccount : backend = rid + idmap config MicrosoftAccount : range = 10000 - 49999 + ; hosts allow = 127. 192.168.0. ; interfaces = 127.0.0.1/8 192.168.0.0/24 ; bind interfaces only = yes @@ -29,14 +38,14 @@ ; domain logons = no os level = 33 #logging = syslog@2 file - log level = 5 + log level = 3 passdb:10 auth:10 logon drive = m: logon home = \\%L\homes\%u logon path = \\%L\profiles\%u logon script = %G.bat ; time server = no name resolve order = wins lmhosts bcast -; wins support = no + wins support = yes ; wins proxy = no dns proxy = no ; preserve case = yes @@ -59,7 +68,7 @@ passwd chat timeout = 120 ; 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' diff --git a/samba/smbusers b/samba/smbusers index 77a5bd6..220f1e1 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 [MicrosoftAccount]\[frank]@[XENA] [MicrosoftAccount]\[frank] +#frank = frank [MicrosoftAccount]\[frank]@[XENA] [MicrosoftAccount]\[frank] -- 2.39.5