Ignore:
Timestamp:
05/25/18 12:58:38 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
gcc484, master, perl-5.22
Children:
20eb816
Parents:
34365fb
Message:

samba upgrade 4.7.7. also support SMBv2 and higher (SMBv1 is disabled by default in windows 10). tested with windows 7, 8.1 and 10

Location:
npl/fileserver/samba_conf
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • npl/fileserver/samba_conf/root/etc/postinst.d/post.samba

    r34365fb r1568e4c  
    4747
    4848#add new setting (v3.5)
    49 if ! grep "max protocol" /home/system/samba/smb.conf; then
    50         sed -i /home/system/samba/smb.conf -e 's/^.global./[global]\nmax protocol = SMB2/'
    51 fi
     49#if ! grep "max protocol" /home/system/samba/smb.conf; then
     50#       sed -i /home/system/samba/smb.conf -e 's/^.global./[global]\nmax protocol = SMB2/'
     51#fi
    5252
    5353#change setting settings (v4.4.4)
    5454# https://wiki.samba.org/index.php/Required_settings_for_NT4-style_domains
    55 sed -i /home/system/samba/smb.conf -e 's/max protocol = SMB2/max protocol = NT1/'
     55#sed -i /home/system/samba/smb.conf -e 's/max protocol = SMB2/max protocol = NT1/'
    5656
    5757
     
    5959sed -i /home/system/samba/smb.conf -e 's/.*socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192.*//'
    6060
     61#samba 4.7+ chooses good defaults
     62sed -i  /home/system/samba/smb.conf -e 's/.*max protocol.*//g'
     63 
    6164chmod 1777 /home/shares/profiles
    6265chmod 1777 /home/shares/spool
  • npl/fileserver/samba_conf/root/home/system/samba/smb.conf.new

    r34365fb r1568e4c  
    11[global]
    2     workgroup = EXAMPLE.NET
    3     netbios name = DARKSTAR
     2    workgroup = WORKGROUP
     3    netbios name = SYN3FS
    44    server string = "Syn-3 Fileserver"
    55    security = user
  • npl/fileserver/samba_conf/samba_conf.build

    r34365fb r1568e4c  
    1 6452
     16456
  • npl/fileserver/samba_conf/samba_conf.md5

    r34365fb r1568e4c  
    1 fbc2460f5067c21a9e1271151d76406f  ./root/etc/postinst.d/post.samba
     1d697894127badc7d6f61e8db71b93bdc  ./root/etc/postinst.d/post.samba
    22c473d0d177dab192550848c30d7cbbcb  ./root/home/shares/netlogon/logon.bat.new
    3338d7df09b3968b369c7b43a5cde5856e  ./root/home/system/cups/cupsd.conf.default.new
     
    1111e3fd8ee0400db9d9faaa9e8f69db4bfc  ./root/home/system/samba/shares/profiles.samba.new
    12128e8e9a752334cf4856b4732e3ac3b585  ./root/home/system/samba/shares/root.samba.new
    13 b48b624cc2a52833c865f61024fa8abe  ./root/home/system/samba/smb.conf.new
     139d41774591c9b405373e5ff245141f1d  ./root/home/system/samba/smb.conf.new
    14147ff084677614b02915fa8e05e8817cfe  ./root/service/cupsd/run
    1515322afd3aa4bc46bd70dc7118dc5e188c  ./root/service/nmbd/run
    1616a94682b32e8f1f709ed4c22997d5c0a7  ./root/service/smbd/run
    17177f4de4630eb70bfe77bd7ccea504230f  ./root/service/winbindd/run
    18 6ce96a0ec5bd4c6af6c30bdb3ffbcebe  ./samba_conf.pkg
     18bc4e2966954f5ec2d45c242ba257deef  ./samba_conf.pkg
    1919ca70f70bd0e82246686e746c7bf20e21  ./samba_conf.SlackBuild
    20 532c2fda6e086cbf8df8d7c52370cae0  ./samba_conf.SlackBuild.log.gz
     202519e2349414cbf68a9c9b47050f6d32  ./samba_conf.SlackBuild.log.gz
Note: See TracChangeset for help on using the changeset viewer.