Changeset 1067 for branches


Ignore:
Timestamp:
May 23, 2020, 5:15:32 AM (5 years ago)
Author:
Alex Taylor
Message:

Don't disable encryption option when NTLMv1 is selected.
Don't show error if log file deletion returns rc=2 or less.
Hide client use spnego principal checkbox (option is deprecated in latest client).

Location:
branches/guitools-arcamap-2.5/evfsgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-arcamap-2.5/evfsgui/evfsgui.vrx

    r1066 r1067  
    19131913*/
    19141914CB_client_use_spnego_Click:
    1915     advanced.!smbconfchanged = 1
    1916 return
    1917 
    1918 /*:VRX         CB_client_use_spnego_principal_Click
    1919 */
    1920 CB_client_use_spnego_principal_Click:
    19211915    advanced.!smbconfchanged = 1
    19221916return
     
    20682062        ok = VRSet("CB_ENCRYPTION1","Set", 0)
    20692063        ok = VRSet("CB_KERBEROS51", "Enabled", 0)
    2070         ok = VRSet("CB_ENCRYPTION1","Enabled", 0)
     2064        /* ok = VRSet("CB_ENCRYPTION1","Enabled", 0) */
    20712065    end
    20722066    else do
    20732067        ok = VRSet("CB_KERBEROS51", "Enabled", 1)
    2074         ok = VRSet("CB_ENCRYPTION1","Enabled", 1)
     2068        /* ok = VRSet("CB_ENCRYPTION1","Enabled", 1) */
    20752069    end
    20762070return
     
    20832077        ok = VRSet("CB_ENCRYPTION","Set", 0)
    20842078        ok = VRSet("CB_KERBEROS5", "Enabled", 0)
    2085         ok = VRSet("CB_ENCRYPTION","Enabled", 0)
     2079        /* ok = VRSet("CB_ENCRYPTION","Enabled", 0) */
    20862080    end
    20872081    else do
    20882082        ok = VRSet("CB_KERBEROS5", "Enabled", 1)
    2089         ok = VRSet("CB_ENCRYPTION","Enabled", 1)
     2083        /* ok = VRSet("CB_ENCRYPTION","Enabled", 1) */
    20902084    end
    20912085return
     
    36233617            ok1 = SysFileDelete(Logfiles||'\log.smbc')
    36243618            ok2 = SysFileDelete(Logfiles||'\log.ndpsmb')
    3625             if ok1 <> 0 | ok2 <> 0 then do
     3619            if ok1 > 2 | ok2 > 2 then do
    36263620                ok = VRMessage('Main', NLVGetMessage(5)' 'Logfiles||'\log.smbc RC='ok1||'0D0A'x||NLVGetMessage(5)' 'Logfiles||'\log.ndpsmb RC='ok2, NLVGetMessage( 5 ), 'E')
    36273621            end
     
    47274721        client_plaintext_auth       = VRGet("CB_client_plaintext_auth","Set")
    47284722        client_use_spnego           = VRGet("CB_client_use_spnego","Set")
     4723
     4724        /* This option is deprecated now (ALT 20200522)
    47294725        client_use_spnego_principal = VRGet("CB_client_use_spnego_principal","Set")
     4726        */
    47304727
    47314728        client_signing              = ''
     
    47484745        call IniSet 'client plaintext auth',       YesNo(client_plaintext_auth), handle
    47494746        call IniSet 'client use spnego',           YesNo(client_use_spnego), handle
     4747
     4748        /* This option is deprecated now (ALT 20200522)
    47504749        call IniSet 'client use spnego principal', YesNo(client_use_spnego_principal), handle
     4750        */
    47514751
    47524752        if client_signing == '' then
     
    57765776    ok = VRSet("CB_client_use_spnego","Set",client_use_spnego)
    57775777
     5778    /* This option is deprecated now (ALT 20200522) */
     5779    client_use_spnego_principal = 0
     5780/*
    57785781    client_use_spnego_principal = ZeroOne(IniGet('client use spnego principal', 'global', samba.!shadowsmbconf))
    57795782    ok = VRSet("CB_client_use_spnego_principal","Set",client_use_spnego_principal)
     5783*/
    57805784
    57815785    client_max_protocol         = IniGet('client max protocol', 'global', samba.!shadowsmbconf)
Note: See TracChangeset for help on using the changeset viewer.