Changeset 0be8a71
- Timestamp:
- 08/27/18 14:04:44 (7 years ago)
- Branches:
- master, perl-5.22
- Children:
- 55828be
- Parents:
- e013060
- Location:
- npl
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/fileserver/samba_conf/root/etc/postinst.d/post.samba
re013060 r0be8a71 59 59 sed -i /home/system/samba/smb.conf -e 's/.*socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192.*//' 60 60 61 #samba 4.7+ chooses good defaults 61 #samba 4.7+ chooses good defaults. Windows 10 doesnt support SMBv1 anymore since 10 april 2018. 62 62 sed -i /home/system/samba/smb.conf -e 's/.*max protocol.*//g' 63 63 64 64 chmod 1777 /home/shares/profiles 65 65 chmod 1777 /home/shares/spool -
npl/syn3/webint/src/samba/sambasettings.php
re013060 r0be8a71 1 1 <? 2 /* 2 /* 3 3 (C) 2004-2013 DatuX - info@datux.nl 4 4 … … 71 71 $restart_smbd=0; //if a value change requeres smbd to restart 72 72 73 if($new_netlogon == "on") 73 if($new_netlogon == "on") 74 74 WriteSmbConfig("netlogon"); 75 else 75 else 76 76 DelShare("netlogon"); 77 78 if($new_homes == "on") 77 78 if($new_homes == "on") 79 79 WriteSmbConfig("homes"); 80 else 80 else 81 81 DelShare("homes"); 82 83 if($new_profiles == "on") 82 83 if($new_profiles == "on") 84 84 { 85 85 WriteSmbConfig("profiles"); 86 86 SetGlobalSambaOption("logon path", "\\\\%L\\profiles\\%U"); 87 87 } 88 else 88 else 89 89 { 90 90 DelShare("profiles"); … … 97 97 DelShare("printstring"); 98 98 99 if($new_root == "on") 99 if($new_root == "on") 100 100 WriteSmbConfig("root"); 101 else 101 else 102 102 DelShare("root"); 103 104 if(GetGlobalSambaOption("server string") != $new_smb_discription) 103 104 if(GetGlobalSambaOption("server string") != $new_smb_discription) 105 105 { 106 106 SetGlobalSambaOption("server string", $new_smb_discription); … … 118 118 } 119 119 120 if(GetGlobalSambaOption("netbios name") != $new_smb_netbiosname) 120 if(GetGlobalSambaOption("netbios name") != $new_smb_netbiosname) 121 121 { 122 122 SetGlobalSambaOption("netbios name", $new_smb_netbiosname); … … 136 136 $restart_nmbd=1; 137 137 } 138 139 if($restart_nmbd || $restart_smbd) 140 { 141 SetLocalSID(); 138 139 if($restart_nmbd || $restart_smbd) 140 { 141 SetLocalSID(); 142 142 SvcRestart("nmbd"); 143 143 } 144 144 145 145 Wizard_Done(); 146 146 //Redirect($URI); 147 147 148 148 } 149 149 … … 165 165 echo "<td>"; 166 166 $defaultsetting = "netlogon"; 167 if($DefaultShares[$defaultsetting]) 167 if($DefaultShares[$defaultsetting]) 168 168 { 169 169 $varname="new_".$defaultsetting; … … 178 178 echo "<td>"; 179 179 $defaultsetting = "profiles"; 180 if($DefaultShares[$defaultsetting]) 180 if($DefaultShares[$defaultsetting]) 181 181 { 182 182 $varname="new_".$defaultsetting; … … 190 190 echo "<td>"; 191 191 $defaultsetting = "root"; 192 193 if($DefaultShares[$defaultsetting]) 192 193 if($DefaultShares[$defaultsetting]) 194 194 { 195 195 $varname="new_".$defaultsetting; … … 203 203 echo "<td>"; 204 204 $defaultsetting = "printstring"; 205 206 if($DefaultShares[$defaultsetting]) 205 206 if($DefaultShares[$defaultsetting]) 207 207 { 208 208 $varname="new_".$defaultsetting; … … 216 216 echo "</td>"; 217 217 echo "<td> "; 218 InputText("new_smb_discription", $errors ); 218 InputText("new_smb_discription", $errors ); 219 219 echo "</td>"; 220 220 echo "</tr>"; … … 224 224 echo "</td>"; 225 225 echo "<td> "; 226 InputText("new_smb_netbiosname", $errors ); 226 InputText("new_smb_netbiosname", $errors ); 227 227 echo "</td>"; 228 228 echo "</tr>"; … … 250 250 echo "<td>"; 251 251 $defaultsetting = "homes"; 252 if($DefaultShares[$defaultsetting]) 252 if($DefaultShares[$defaultsetting]) 253 253 { 254 254 $varname="new_".$defaultsetting; … … 267 267 echo _HomesShareTrashBinMaxFileSize(); 268 268 echo "<td>"; 269 InputText("new_HomesShareTrashBinMaxFileSize",$errors,'',$enableShareTrashBinMaxFileSize); 270 echo "</tr>"; 269 InputText("new_HomesShareTrashBinMaxFileSize",$errors,'',$enableShareTrashBinMaxFileSize); 270 echo "</tr>"; 271 271 echo "<tr>"; 272 272 echo "<td>"; … … 283 283 echo "</table>"; 284 284 FormEnd(); 285 Foot(); 286 285 286 echo "<b>Windows 10 ondersteund geen Primary Domain Controller modus meer. U kunt SYN-3 wel als fileserver blijven gebruiken.</b>"; 287 288 Foot(); -
npl/syn3/webint/webint.build
re013060 r0be8a71 1 656 51 6567 -
npl/syn3/webint/webint.md5
re013060 r0be8a71 969 969 bd343fd609a6ab9b317d761f121da938 ./src/samba/samba_ldap.php 970 970 0db72eb7078d63406eb979399ac92427 ./src/samba/samba.php 971 50ebbd1fe351b296d3b72982513036b6./src/samba/sambasettings.php971 be1e684f6122770638a7631ff925596c ./src/samba/sambasettings.php 972 972 ecb5ed6b27044b141fc9f9a31f56fd17 ./src/samba/svcman.php 973 973 d6cf7233fe230456461ad0afcbb313af ./src/samba/userman.php … … 1160 1160 3d8b121024940b3004ca67bacb88b74e ./updatelang.sh 1161 1161 e15c0d77cf349ff3f2c55bf1b48ea567 ./upload.sh 1162 69a48aead4f50f1307377214ad1f6393./webint.pkg1162 42fbe1c601c88923318f610cb2319f58 ./webint.pkg 1163 1163 05d46c478b4e8c14eafeb686a5b8c064 ./webint.SlackBuild 1164 afa6d1d42a98aba4adbd2e4da1252c38 ./webint.SlackBuild.log.gz1164 3db1ee2be91a49d10c7479486b5fb458 ./webint.SlackBuild.log.gz 1165 1165 693ffd7c59a1fe2b34276bec14f3ebfb ./zones.conf
Note: See TracChangeset
for help on using the changeset viewer.