Ignore:
Timestamp:
Dec 9, 2016, 10:06:20 AM (4 years ago)
Author:
Herwig Bauernfeind
Message:

GUITools: All changes that have built over time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/evfsgui/evfsgui.vrx

    r925 r990  
    15581558    /* however it is not desirable to always have a complete copy normally */
    15591559    ok = SysFileDelete(samba.!shadowsmbconf)
    1560     say     '  'samba.!testparmexe' -v -s 1>'samba.!shadowsmbconf' 2>'TempDir'testparm.stderr'
    1561     address cmd samba.!testparmexe' -v -s 1>'samba.!shadowsmbconf' 2>'TempDir'testparm.stderr'
     1560    if datatype(log_level) <> "NUM" then log_level = 2
     1561    say     '  'samba.!testparmexe' -v -s -d='log_level' 1>'samba.!shadowsmbconf' 2>'TempDir'testparm.stderr'
     1562    address cmd samba.!testparmexe' -v -s -d='log_level' 1>'samba.!shadowsmbconf' 2>'TempDir'testparm.stderr'
    15621563    if options.!debug == 1 then say time()' _SmbConfCreateShadowCopy done'
    15631564return
     
    43934394*/
    43944395PB_SETTINGS_APPLY_Click:
    4395     advanced.!loglevel    = VRGet("SPIN_LOGLEVEL", "Value" )
     4396    advanced.!loglevel    = VRGet("SPIN_LOG_LEVEL", "Value" )
    43964397    advanced.!logfile     = VRGet("EF_LOGFILE",    "Value" )
    43974398    advanced.!browseauth  = VRGet("CB_BROWSEAUTH", "Set" )
     
    44474448        if \_IsValidIPAddress(VRGet("EF_WINS_SERVER","Value")) then ok = VRSet("EF_WINS_SERVER","Value","")
    44484449        call IniSet 'wins server', VRGet("EF_WINS_SERVER","Value"), handle
     4450        call IniSet 'log level', VRGet("SPIN_LOG_LEVEL","Value"), handle
    44494451        call IniSave handle
    44504452        call IniClose handle
     
    47934795*/
    47944796SPIN_client_signing_Change:
     4797    advanced.!smbconfchanged = 1
     4798return
     4799
     4800/*:VRX         SPIN_LOG_LEVEL_Change
     4801*/
     4802SPIN_LOG_LEVEL_Change:
    47954803    advanced.!smbconfchanged = 1
    47964804return
     
    53825390    if advanced.!miniicons   \= ""  then ok = VRSet("CB_MINIICONS",  "Set",   advanced.!miniicons)
    53835391
    5384     /* Obsolete */
    5385     if advanced.!logfile     \= ""  then ok = VRSet("EF_LOGFILE",    "Value", advanced.!logfile)
    5386     if advanced.!loglevel    \= "0" then ok = VRSet("SPIN_LOGLEVEL", "Value", advanced.!loglevel)
    5387 
     5392/*  if advanced.!logfile     \= ""  then ok = VRSet("EF_LOGFILE",    "Value", advanced.!logfile)     /* Obsolete */
     5393    if advanced.!loglevel    \= "0" then ok = VRSet("SPIN_LOG_LEVEL", "Value", advanced.!loglevel) */
     5394
     5395    log_level = IniGet('log level', 'global', samba.!smbconf)
    53885396    call _SmbConfCreateShadowCopy
     5397
     5398
     5399say "log level ="log_level
     5400    if log_level = "" then log_level = 2
     5401say "log level ="log_level
     5402    ok = VRSet("SPIN_LOG_LEVEL","Value",log_level)
    53895403
    53905404    wins_support = translate(IniGet('wins support', 'global', samba.!shadowsmbconf))
     
    54655479    client_max_protocol         = IniGet('client max protocol', 'global', samba.!shadowsmbconf)
    54665480    if client_max_protocol = "" then do
    5467        ok = VRSet("SPIN_client_max_protocol","Enabled", 0)
    5468         ok = VRSet("DT_client_max_protocol","Enabled", 0)
     5481     /* ok = VRSet("SPIN_client_max_protocol","Enabled", 0)
     5482        ok = VRSet("DT_client_max_protocol","Enabled", 0) */
    54695483    end
    54705484    else ok = VRSet("SPIN_client_max_protocol","Value",client_max_protocol)
     
    54725486    client_min_protocol         = IniGet('client min protocol', 'global', samba.!shadowsmbconf)
    54735487    if client_min_protocol = "" then do
    5474        ok = VRSet("SPIN_client_min_protocol","Enabled", 0)
    5475         ok = VRSet("DT_client_min_protocol","Enabled", 0)
     5488     /* ok = VRSet("SPIN_client_min_protocol","Enabled", 0)
     5489        ok = VRSet("DT_client_min_protocol","Enabled", 0) */
    54765490    end
    54775491    else ok = VRSet("SPIN_client_min_protocol","Value",client_min_protocol)
Note: See TracChangeset for help on using the changeset viewer.