Changeset 925 for trunk/guitools/evfsgui
- Timestamp:
- Jun 16, 2016, 4:43:52 PM (9 years ago)
- Location:
- trunk/guitools/evfsgui
- Files:
-
- 3 edited
-
evfsgui.vrp (modified) (1 diff)
-
evfsgui.vrx (modified) (4 diffs)
-
evfsgui.vry (modified) ( previous)
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/evfsgui/evfsgui.vrp
r924 r925 11 11 VRXWindow: __VREFileListWindow,1,711,14020,2665,3358 12 12 VRXWindow: __VRESectionListWindow,1,1072,11708,12238,6914 13 VRXWindow: __VREToolsWindow,1,2951,12479,547 7,165913 VRXWindow: __VREToolsWindow,1,2951,12479,5474,1665 14 14 VRXWindow: __VREWindListWindow,1,566,10262,4963,3150 15 15 UserFile: 1 -
trunk/guitools/evfsgui/evfsgui.vrx
r924 r925 1778 1778 return 1779 1779 1780 /*:VRX CB_client_NTLMv2_auth_Click 1781 */ 1782 CB_client_NTLMv2_auth_Click: 1783 advanced.!smbconfchanged = 1 1784 1785 if VRGet("CB_client_NTLMv2_auth","Set") = 0 then do 1786 ok = VRSet("CB_client_lanman_auth","Enabled", 1) 1787 ok = VRSet("CB_client_plaintext_auth","Enabled", 1) 1788 end 1789 else do 1790 ok = VRSet("CB_client_lanman_auth","Enabled", 0) 1791 ok = VRSet("CB_client_lanman_auth","Set", 0) 1792 ok = VRSet("CB_client_plaintext_auth","Enabled", 0) 1793 ok = VRSet("CB_client_plaintext_auth","Set", 0) 1794 end 1795 return 1796 1780 1797 /*:VRX CB_client_plaintext_auth_Click 1781 1798 */ … … 4454 4471 PB_SMBCONF_APPLY_Click: 4455 4472 if advanced.!smbconfchanged = 1 then do 4473 client_NTLMv2_auth = VRGet("CB_client_NTLMv2_auth","Set") 4456 4474 client_lanman_auth = VRGet("CB_client_lanman_auth","Set") 4457 4475 client_plaintext_auth = VRGet("CB_client_plaintext_auth","Set") 4458 4476 client_use_spnego = VRGet("CB_client_use_spnego","Set") 4459 4477 client_use_spnego_principal = VRGet("CB_client_use_spnego_principal","Set") 4478 client_signing = VRGet("SPIN_client_signing","Value") 4479 client_ipc_signing = VRGet("SPIN_client_ipc_signing","Value") 4480 4481 if VRGet("SPIN_client_max_protocol","Enabled") = 1 then do 4482 client_max_protocol = VRGet("SPIN_client_max_protocol","Value") 4483 client_min_protocol = VRGet("SPIN_client_min_protocol","Value") 4484 end 4485 4460 4486 4461 4487 handle = IniOpen('global', samba.!smbconf) 4488 call IniSet 'client NTLMv2 auth', YesNo(client_NTLMv2_auth), handle 4462 4489 call IniSet 'client lanman auth', YesNo(client_lanman_auth), handle 4463 4490 call IniSet 'client plaintext auth', YesNo(client_plaintext_auth), handle 4464 4491 call IniSet 'client use spnego', YesNo(client_use_spnego), handle 4465 4492 call IniSet 'client use spnego principal', YesNo(client_use_spnego_principal), handle 4493 call IniSet 'client signing', client_signing, handle 4494 call IniSet 'client ipc signing', client_ipc_signing, handle 4495 4496 if VRGet("SPIN_client_max_protocol","Enabled") = 1 then do 4497 call IniSet 'client max protocol', client_max_protocol, handle 4498 call IniSet 'client min protocol', client_min_protocol, handle 4499 end 4466 4500 4467 4501 call IniSave handle … … 4737 4771 if options.!debug == 1 then say time()' '||"Refresh done" 4738 4772 RETURN 0 4773 4774 /*:VRX SPIN_client_ipc_signing_Change 4775 */ 4776 SPIN_client_ipc_signing_Change: 4777 advanced.!smbconfchanged = 1 4778 return 4779 4780 /*:VRX SPIN_client_max_protocol_Change 4781 */ 4782 SPIN_client_max_protocol_Change: 4783 advanced.!smbconfchanged = 1 4784 return 4785 4786 /*:VRX SPIN_client_min_protocol_Change 4787 */ 4788 SPIN_client_min_protocol_Change: 4789 advanced.!smbconfchanged = 1 4790 return 4791 4792 /*:VRX SPIN_client_signing_Change 4793 */ 4794 SPIN_client_signing_Change: 4795 advanced.!smbconfchanged = 1 4796 return 4739 4797 4740 4798 /*:VRX SPIN_NRO1_Change … … 5386 5444 call _SmbConfCreateShadowCopy 5387 5445 5388 client_lanman_auth = ZeroOne(IniGet('client lanman auth', 'global', samba.!shadowsmbconf)) 5389 client_plaintext_auth = ZeroOne(IniGet('client plaintext auth', 'global', samba.!shadowsmbconf)) 5446 client_NTLMv2_auth = ZeroOne(IniGet('client NTLMv2 auth', 'global', samba.!shadowsmbconf)) 5447 if client_NTLMv2_auth = 1 then do 5448 ok = VRSet("CB_client_NTLMv2_auth","Set",client_NTLMv2_auth) 5449 ok = VRSet("CB_client_lanman_auth","Enabled", 0) 5450 ok = VRSet("CB_client_plaintext_auth","Enabled", 0) 5451 end 5452 else do 5453 client_lanman_auth = ZeroOne(IniGet('client lanman auth', 'global', samba.!shadowsmbconf)) 5454 client_plaintext_auth = ZeroOne(IniGet('client plaintext auth', 'global', samba.!shadowsmbconf)) 5455 ok = VRSet("CB_client_lanman_auth","Set",client_lanman_auth) 5456 ok = VRSet("CB_client_plaintext_auth","Set",client_plaintext_auth) 5457 end 5458 5390 5459 client_use_spnego = ZeroOne(IniGet('client use spnego', 'global', samba.!shadowsmbconf)) 5460 ok = VRSet("CB_client_use_spnego","Set",client_use_spnego) 5461 5391 5462 client_use_spnego_principal = ZeroOne(IniGet('client use spnego principal', 'global', samba.!shadowsmbconf)) 5392 5393 ok = VRSet("CB_client_lanman_auth","Set",client_lanman_auth)5394 ok = VRSet("CB_client_plaintext_auth","Set",client_plaintext_auth)5395 ok = VRSet("CB_client_use_spnego","Set",client_use_spnego)5396 5463 ok = VRSet("CB_client_use_spnego_principal","Set",client_use_spnego_principal) 5464 5465 client_max_protocol = IniGet('client max protocol', 'global', samba.!shadowsmbconf) 5466 if client_max_protocol = "" then do 5467 ok = VRSet("SPIN_client_max_protocol","Enabled", 0) 5468 ok = VRSet("DT_client_max_protocol","Enabled", 0) 5469 end 5470 else ok = VRSet("SPIN_client_max_protocol","Value",client_max_protocol) 5471 5472 client_min_protocol = IniGet('client min protocol', 'global', samba.!shadowsmbconf) 5473 if client_min_protocol = "" then do 5474 ok = VRSet("SPIN_client_min_protocol","Enabled", 0) 5475 ok = VRSet("DT_client_min_protocol","Enabled", 0) 5476 end 5477 else ok = VRSet("SPIN_client_min_protocol","Value",client_min_protocol) 5478 5479 client_signing = IniGet('client signing', 'global', samba.!shadowsmbconf) 5480 client_ipc_signing = IniGet('client ipc signing', 'global', samba.!shadowsmbconf) 5481 say "client_signing ="client_signing 5482 ok = VRSet("SPIN_client_signing","Value",client_signing) 5483 ok = VRSet("SPIN_client_ipc_signing","Value",client_signing) 5397 5484 5398 5485 advanced.!smbconfchanged = 0
Note:
See TracChangeset
for help on using the changeset viewer.
