Changeset 1062
- Timestamp:
- May 9, 2020, 11:26:24 PM (5 years ago)
- Location:
- branches/guitools-arcamap-2.5/evfsgui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/guitools-arcamap-2.5/evfsgui/evfsgui.vrp
r1056 r1062 8 8 EXEPath: 9 9 RunParameters: -NDFS 10 RunDirectory: G:\netlabs\svn\samba\ trunk\guitools\evfsgui10 RunDirectory: G:\netlabs\svn\samba\branches\guitools-arcamap-2.5\evfsgui 11 11 VRXWindow: __VREMainWindow,1,1831,2457,1012,7841 12 12 VRXWindow: __VREFileListWindow,1,711,14020,2665,3358 13 13 VRXWindow: __VRESectionListWindow,1,1421,15659,12238,6914 14 VRXWindow: __VREToolsWindow,1,2951,12479,54 74,166514 VRXWindow: __VREToolsWindow,1,2951,12479,5468,1665 15 15 VRXWindow: __VREWindListWindow,1,566,10262,4963,3150 16 16 UserFile: 1 … … 18 18 UserWindow: SW_ADVANCED,1 19 19 UserWindow: SW_PROGRESS,1 20 UserWindow: SW_MOUNTPOINT,1 21 UserWindow: SW_INFO,1 20 UserWindow: SW_SMBCONF,1 -
branches/guitools-arcamap-2.5/evfsgui/evfsgui.vrx
r1056 r1062 435 435 return 436 436 437 /*:VRX _CheckClientMinProtocol 438 */ 439 _CheckClientMinProtocol: PROCEDURE EXPOSE samba. settings. options. 440 441 tmpq = RXQueue('CREATE') 442 orgq = RXQUEUE('SET', tmpq ) 443 say samba.!testparmexe '--parameter-name="client min protocol" -s' samba.!smbconf '2>nul |rxqueue' tmpq 444 address cmd samba.!testparmexe '--parameter-name="client min protocol" -s' samba.!smbconf '2>nul |rxqueue' tmpq 445 min_proto = 'default' 446 DO QUEUED() 447 PARSE PULL line 448 min_proto = line 449 END 450 CALL RXQueue 'SET', orgq 451 CALL RXQueue 'DELETE', tmpq 452 say '->' min_proto 453 454 ok = 0 455 IF WORDPOS( min_proto, 'CORE COREPLUS LANMAN1 LANMAN2 NT1') == 0 THEN DO 456 stem.1 = NLVGetMessage( 150 ) 457 stem.2 = '' 458 stem.3 = NLVGetMessage( 151 ) 459 stem.4 = '' 460 stem.5 = NLVGetMessage( 152 ) 461 stem.6 = '' 462 stem.7 = NLVGetMessage( 153 ) 463 stem.0 = 7 464 btn.1 = NLVGetMessage( 6 ) 465 btn.2 = NLVGetMessage( 7 ) 466 btn.3 = NLVGetMessage( 154 ) 467 btn.0 = 3 468 ok = VRMessageStem( VRWindow(), 'stem.', NLVGetMessage( 155 ), 'Q', 'btn.', 1, 3 ) 469 IF ok == 1 THEN DO 470 handle = IniOpen('global', samba.!smbconf) 471 CALL IniSet 'client min protocol', 'NT1', handle 472 CALL IniSave handle 473 CALL IniClose handle 474 END 475 END 476 477 return ok 478 437 479 /*:VRX _ContainersInit 438 480 */ … … 904 946 say _ucChkObj() 905 947 948 /* This setting is in OS2.INI so we can clear it immediately without 949 * interfering with the usual INI read/write flow. 950 */ 951 IF VRGetIni('SmbConfFlags', 'CheckMinProto', 'User') <> '' THEN DO 952 ok = _CheckClientMinProtocol() 953 IF ok < 3 THEN 954 CALL VRDelIni 'SmbConfFlags', 'CheckMinProto', 'User' 955 END 956 906 957 IF STREAM( settings.!ini, 'C', 'QUERY EXISTS') == '' THEN DO 907 958 /* First start */ … … 935 986 ELSE DO 936 987 /* Subsequent start */ 988 937 989 /* Load window position settings */ 938 990 settings.!x = VRGetIni('Settings', 'X', settings.!ini, 'NoClose') … … 1719 1771 w = VRLoad( "TDL_1", VRWindowPath(), "SW_SETTINGS" ) 1720 1772 ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(47)" ") 1773 ok = VRMethod( "TDL_1", "SetStatusText", 5, NLVGetMessage(132,"1","2")) 1721 1774 w = VRLoad( "TDL_1", VRWindowPath(), "SW_SMBCONF" ) 1722 1775 ok = VRMethod( "TDL_1", "InsertPage", w,"- "NLVGetMessage(47)" ") 1776 ok = VRMethod( "TDL_1", "SetStatusText", 6, NLVGetMessage(132,"2","2")) 1723 1777 if options.!debug == 1 then say time()' _TabbedDialogSetup done' 1724 1778 return … … 5014 5068 CALL VRSet 'CB_TRAC', 'Set', options.!tracmark 5015 5069 5016 ok = VRSet("DT_About","Caption", Program' (c) 2007-20 18Alexander Taylor for Arca Noae '||'0D0A'x||'and Herwig Bauernfeind for bww bitwise works GmbH.')5070 ok = VRSet("DT_About","Caption", Program' (c) 2007-2020 Alexander Taylor for Arca Noae '||'0D0A'x||'and Herwig Bauernfeind for bww bitwise works GmbH.') 5017 5071 5018 5072 About.DscFH = VRMethod( "CN_ABOUT", "AddField", "String", "Component" ) … … 5205 5259 say ' Icon: "'SMBObj.icon'"' 5206 5260 end 5207 say "Vorher:"rpc.srvinfo.OS_VERSION 5261 /* say "Vorher:"rpc.srvinfo.OS_VERSION */ 5208 5262 drop rpc. 5209 say "Vorher:"rpc.srvinfo.OS_VERSION 5263 /* say "Vorher:"rpc.srvinfo.OS_VERSION */ 5210 5264 rpc_success = _rpcsrvinfo(SMBObj.resname,credentials.!username,credentials.!password) 5211 5265 … … 5532 5586 /* call VRSet "SW_ADVANCED", "HelpTag", NLVGetMessage(40) */ 5533 5587 5588 CALL SW_SETTINGS_Init_Content 5589 5534 5590 /* call VRMethod "SW_SETTINGS", "CenterWindow" */ 5535 5591 ok = VRSet("SW_SETTINGS", "Visible", 1) … … 5616 5672 call NLVSetText "PB_SMBCONF_HELP", "Caption", 4 5617 5673 5674 CALL SW_SMBCONF_Init_Content 5618 5675 return 5619 5676 … … 5622 5679 SW_SMBCONF_Init_Content: 5623 5680 call _SmbConfCreateShadowCopy 5624 5681 say 'Populating current smb.conf settings' 5625 5682 client_NTLMv2_auth = ZeroOne(IniGet('client NTLMv2 auth', 'global', samba.!shadowsmbconf)) 5626 5683 if client_NTLMv2_auth = 1 then do … … 5647 5704 ok = VRSet("DT_client_max_protocol","Enabled", 0) */ 5648 5705 end 5649 else ok = VRSet("SPIN_client_max_protocol","Value",client_max_protocol) 5706 else do 5707 parse var client_max_protocol main_proto'_'sub_proto 5708 ok = VRSet("SPIN_client_max_protocol","Value",main_proto) 5709 end 5650 5710 5651 5711 client_min_protocol = IniGet('client min protocol', 'global', samba.!shadowsmbconf) … … 5654 5714 ok = VRSet("DT_client_min_protocol","Enabled", 0) */ 5655 5715 end 5656 else ok = VRSet("SPIN_client_min_protocol","Value",client_min_protocol) 5716 else do 5717 parse var client_min_protocol main_proto'_'sub_proto 5718 ok = VRSet("SPIN_client_min_protocol","Value",main_proto) 5719 end 5657 5720 5658 5721 client_signing = IniGet('client signing', 'global', samba.!shadowsmbconf) -
branches/guitools-arcamap-2.5/evfsgui/rc/lang/evfsi_en.mkm
r1049 r1062 156 156 EVG0145I: Support Kerberos5 157 157 EVG0146I: Support encryption 158 EVG0147?: 159 EVG0148?: 160 EVG0149?: 161 EVG0150I: For security reasons, the latest Samba software does not enable the SMB1 protocol by default. 162 EVG0151I: This may cause some LAN devices and/or servers (especially those older than 2013) to no longer be visible. 163 EVG0152I: Do you want to enable the SMB1 protocol? This can allow more LAN devices to be usable, but is considered less secure. 164 EVG0153I: Note: You can configure this later by setting "client min protocol" to "NT1" (or lower) on the second page of Global settings. 165 EVG0154I: Ask ~Later 166 EVG0155I: Protocol Compatibility 167
Note:
See TracChangeset
for help on using the changeset viewer.