Changeset 0be8a71


Ignore:
Timestamp:
08/27/18 14:04:44 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
55828be
Parents:
e013060
Message:

windows 10 doesnt support PDC anymore

Location:
npl
Files:
6 edited

Legend:

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

    re013060 r0be8a71  
    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
     61#samba 4.7+ chooses good defaults. Windows 10 doesnt support SMBv1 anymore since 10 april 2018.
    6262sed -i  /home/system/samba/smb.conf -e 's/.*max protocol.*//g'
    63  
     63
    6464chmod 1777 /home/shares/profiles
    6565chmod 1777 /home/shares/spool
  • npl/syn3/webint/src/samba/sambasettings.php

    re013060 r0be8a71  
    11<?
    2 /* 
     2/*
    33(C) 2004-2013 DatuX - info@datux.nl
    44
     
    7171        $restart_smbd=0; //if a value change requeres smbd to restart
    7272
    73         if($new_netlogon == "on") 
     73        if($new_netlogon == "on")
    7474                WriteSmbConfig("netlogon");
    75         else 
     75        else
    7676                DelShare("netlogon");
    77        
    78         if($new_homes == "on") 
     77
     78        if($new_homes == "on")
    7979                WriteSmbConfig("homes");
    80         else 
     80        else
    8181                DelShare("homes");
    82        
    83         if($new_profiles == "on") 
     82
     83        if($new_profiles == "on")
    8484        {
    8585                WriteSmbConfig("profiles");
    8686                SetGlobalSambaOption("logon path", "\\\\%L\\profiles\\%U");
    8787        }
    88         else 
     88        else
    8989        {
    9090                DelShare("profiles");
     
    9797                DelShare("printstring");
    9898
    99         if($new_root == "on") 
     99        if($new_root == "on")
    100100                WriteSmbConfig("root");
    101         else 
     101        else
    102102                DelShare("root");
    103                
    104         if(GetGlobalSambaOption("server string") != $new_smb_discription) 
     103
     104        if(GetGlobalSambaOption("server string") != $new_smb_discription)
    105105        {
    106106                SetGlobalSambaOption("server string", $new_smb_discription);
     
    118118        }
    119119
    120         if(GetGlobalSambaOption("netbios name") != $new_smb_netbiosname) 
     120        if(GetGlobalSambaOption("netbios name") != $new_smb_netbiosname)
    121121        {
    122122                SetGlobalSambaOption("netbios name", $new_smb_netbiosname);
     
    136136                $restart_nmbd=1;
    137137        }
    138        
    139         if($restart_nmbd || $restart_smbd) 
    140         {
    141                 SetLocalSID(); 
     138
     139        if($restart_nmbd || $restart_smbd)
     140        {
     141                SetLocalSID();
    142142                SvcRestart("nmbd");
    143143        }
    144        
     144
    145145        Wizard_Done();
    146146        //Redirect($URI);
    147        
     147
    148148}
    149149
     
    165165                echo "<td>";
    166166                $defaultsetting = "netlogon";
    167                 if($DefaultShares[$defaultsetting]) 
     167                if($DefaultShares[$defaultsetting])
    168168                {
    169169                        $varname="new_".$defaultsetting;
     
    178178                echo "<td>";
    179179                $defaultsetting = "profiles";
    180                 if($DefaultShares[$defaultsetting]) 
     180                if($DefaultShares[$defaultsetting])
    181181                {
    182182                        $varname="new_".$defaultsetting;
     
    190190                echo "<td>";
    191191                $defaultsetting = "root";
    192                
    193                 if($DefaultShares[$defaultsetting]) 
     192
     193                if($DefaultShares[$defaultsetting])
    194194                {
    195195                        $varname="new_".$defaultsetting;
     
    203203                echo "<td>";
    204204                $defaultsetting = "printstring";
    205                
    206                 if($DefaultShares[$defaultsetting]) 
     205
     206                if($DefaultShares[$defaultsetting])
    207207                {
    208208                        $varname="new_".$defaultsetting;
     
    216216        echo "</td>";
    217217        echo "<td> ";
    218         InputText("new_smb_discription", $errors ); 
     218        InputText("new_smb_discription", $errors );
    219219        echo "</td>";
    220220        echo "</tr>";
     
    224224        echo "</td>";
    225225        echo "<td> ";
    226         InputText("new_smb_netbiosname", $errors ); 
     226        InputText("new_smb_netbiosname", $errors );
    227227        echo "</td>";
    228228        echo "</tr>";
     
    250250                echo "<td>";
    251251                $defaultsetting = "homes";
    252                 if($DefaultShares[$defaultsetting]) 
     252                if($DefaultShares[$defaultsetting])
    253253                {
    254254                        $varname="new_".$defaultsetting;
     
    267267        echo _HomesShareTrashBinMaxFileSize();
    268268        echo "<td>";
    269         InputText("new_HomesShareTrashBinMaxFileSize",$errors,'',$enableShareTrashBinMaxFileSize); 
    270         echo "</tr>";   
     269        InputText("new_HomesShareTrashBinMaxFileSize",$errors,'',$enableShareTrashBinMaxFileSize);
     270        echo "</tr>";
    271271        echo "<tr>";
    272272        echo "<td>";
     
    283283echo "</table>";
    284284FormEnd();
    285 Foot();
    286 
     285
     286echo "<b>Windows 10 ondersteund geen Primary Domain Controller modus meer. U kunt SYN-3 wel als fileserver blijven gebruiken.</b>";
     287
     288Foot();
  • npl/syn3/webint/webint.build

    re013060 r0be8a71  
    1 6565
     16567
  • npl/syn3/webint/webint.md5

    re013060 r0be8a71  
    969969bd343fd609a6ab9b317d761f121da938  ./src/samba/samba_ldap.php
    9709700db72eb7078d63406eb979399ac92427  ./src/samba/samba.php
    971 50ebbd1fe351b296d3b72982513036b6  ./src/samba/sambasettings.php
     971be1e684f6122770638a7631ff925596c  ./src/samba/sambasettings.php
    972972ecb5ed6b27044b141fc9f9a31f56fd17  ./src/samba/svcman.php
    973973d6cf7233fe230456461ad0afcbb313af  ./src/samba/userman.php
     
    116011603d8b121024940b3004ca67bacb88b74e  ./updatelang.sh
    11611161e15c0d77cf349ff3f2c55bf1b48ea567  ./upload.sh
    1162 69a48aead4f50f1307377214ad1f6393  ./webint.pkg
     116242fbe1c601c88923318f610cb2319f58  ./webint.pkg
    1163116305d46c478b4e8c14eafeb686a5b8c064  ./webint.SlackBuild
    1164 afa6d1d42a98aba4adbd2e4da1252c38  ./webint.SlackBuild.log.gz
     11643db1ee2be91a49d10c7479486b5fb458  ./webint.SlackBuild.log.gz
    11651165693ffd7c59a1fe2b34276bec14f3ebfb  ./zones.conf
Note: See TracChangeset for help on using the changeset viewer.