Changeset 490 for branches


Ignore:
Timestamp:
Sep 5, 2010, 10:28:01 AM (15 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: SSCC debuggingg code, SMBUsers 0.9.9 several fixes, rest

Location:
branches/guitools-1.0
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-1.0/install/readme.sscc

    r409 r490  
    1 SSCC Simple Samba Configuration Center Version 0.9.5
     1SSCC Simple Samba Configuration Center Version 1.0.0
    22====================================================
    33
  • branches/guitools-1.0/install/sscc.vrp

    r451 r490  
    33MacroPath: VRM:U:\Develop\Samba\guitools-1.0\install
    44EXEPath:
    5 RunParameters: /install
     5RunParameters: /Install
    66RunDirectory: E:\Dev\REXX\VXREXX\Projects\Samba\install
    7 VRXWindow: __VREMainWindow,1,2180,4481,891,7263
    8 VRXWindow: __VRESectionListWindow,1,3011,10551,8974,4890
    9 VRXWindow: __VREToolsWindow,1,2867,2361,6992,1665
    10 VRXWindow: __VREWindListWindow,1,385,12286,2650,3150
     7VRXWindow: __VREMainWindow,1,1987,5059,891,7263
     8VRXWindow: __VRESectionListWindow,1,2819,12671,8974,4890
     9VRXWindow: __VREToolsWindow,1,2674,4481,6483,1659
     10VRXWindow: __VREWindListWindow,1,193,14406,2650,3150
    1111UserFile: 1
    1212UserWindow: Main,1
  • branches/guitools-1.0/install/sscc.vrx

    r451 r490  
    985985    call lineout trg, '# from 'value("USER",,'OS2ENVIRONMENT')'@'value("HOSTNAME",,'OS2ENVIRONMENT')
    986986    call lineout trg, '# Date: 'date()' 'time()
     987    lct = 0
    987988    do until lines(src) = 0
    988989        smbline = linein(src)
    989990        if pos("winbind separator",smbline) > 0 then iterate
    990991        call lineout trg, smbline
    991     end
     992        lct = lct + 1
     993    end
     994    say "Lines saved "lct
    992995    ok = stream(trg,'c','close')
    993996    ok = stream(src,'c','close')
     
    25462549*/
    25472550Menu_Options_ExportMode_Click:
    2548 say 'ExpertMode_Click started'
    2549 say samba.!testparmexe' -v -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
     2551    say 'ExpertMode_Click started'
     2552    say        samba.!testparmexe' -v -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
    25502553    address cmd samba.!testparmexe' -v -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
    2551 say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )'
     2554    say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )'
     2555    say "  smb.conf Gr”áe: "stream(smbconf,'c','QUERY SIZE')
    25522556    ok = VRCopyFile( TempDir'smb.conf', smbconf )
    2553 say 'Copy ok ='ok' (1 = success, 0 = failure)'
     2557    say "  smb.conf Gr”áe: "stream(smbconf,'c','QUERY SIZE')
     2558    say 'Copy ok ='ok' (1 = success, 0 = failure)'
    25542559    call _SmbConfTreeReset
    25552560    call Main_Resize
    2556 say 'ExpertMode_Click done'
     2561    say 'ExpertMode_Click done'
    25572562return
    25582563
     
    25682573*/
    25692574Menu_Options_SimpleMode_Click:
    2570 
    2571 say 'SimpleMode_Click started'
    2572 say samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
     2575    say 'SimpleMode_Click started'
     2576    say samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
    25732577    address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
    2574 say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )'
     2578    NewSize = stream(TempDir"smb.conf",'c','QUERY SIZE')
     2579    say "  "TempDir"smb.conf Gr”áe: "NewSize
     2580    if NewSize = 0 then 'pause'
     2581    say "  smb.conf Gr”áe: "stream(smbconf,'c','QUERY SIZE')
     2582    say 'VRCopyFile('TempDir'smb.conf, 'smbconf' )'
    25752583    ok = VRCopyFile( TempDir'smb.conf' , smbconf )
    2576 say 'Copy ok ='ok' (1 = success, 0 = failure)'
     2584    say "  smb.conf Gr”áe: "stream(smbconf,'c','QUERY SIZE')
     2585    say 'Copy ok ='ok' (1 = success, 0 = failure)'
    25772586    call _SmbConfTreeReset
    25782587    do I = Page to 3 by -1
     
    27082717*/
    27092718PB_Cancel_Click:
     2719    call PB_Create_Click
    27102720    call Quit
    27112721return
     
    28972907    if VRGet("Main","WindowState") = "Maximized"|,
    28982908       VRGet("Main","WindowState") = "Minimized" then ok = VRMethod("Main", "Restore")
    2899     ok = VRRedirectStdio('OFF')
    2900     if samba.!testparmexe <> "" then do
     2909
     2910/*  if samba.!testparmexe <> "" then do
    29012911        address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
    29022912        call _SmbConfCommitChanges
    2903     end
     2913    end */
    29042914
    29052915    call _INIWrite
     
    29082918    ok = SysFileDelete(smboutput)
    29092919
     2920    /* ok = VRRedirectStdio('OFF') */
    29102921    window = VRWindow()
    29112922    call VRSet window, "Shutdown", 1
  • branches/guitools-1.0/smbusers/changes

    r451 r490  
     1Version 0.9.9 01-05-2010
     2                         !Fixed: Minor buglet.
    13Version 0.9.8 14-03-2010
    24                         !Fixed: Bug in NLV.VRS 2.0
  • branches/guitools-1.0/smbusers/readme.smbusers

    r333 r490  
    1 Local Samba users and groups 0.9.3
     1Local Samba users and groups 0.9.9
    22==================================
    33
  • branches/guitools-1.0/smbusers/smbusers.VRP

    r451 r490  
    77VRXWindow: __VREMainWindow,1,2180,3710,891,8000
    88VRXWindow: __VRESectionListWindow,1,2951,9299,8949,5167
    9 VRXWindow: __VREToolsWindow,1,2457,1012,6992,1669
     9VRXWindow: __VREToolsWindow,1,2457,1012,6489,1659
    1010VRXWindow: __VREWindListWindow,1,446,11130,2650,3150
    1111UserFile: 1
Note: See TracChangeset for help on using the changeset viewer.