Ignore:
Timestamp:
Mar 30, 2011, 11:41:45 AM (15 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: SMBUSERS: master.passwd password support

Location:
branches/guitools-1.0/install
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-1.0/install/changes

    r451 r569  
     1Version 1.x.x xx-xx-2011
     2                         *Changed: Internal names of objects
    13Version 1.0.0 13-03-2010
    24                         +Added: Use a more wizard-like style instead of
  • branches/guitools-1.0/install/sscc.vrp

    r490 r569  
    66RunDirectory: E:\Dev\REXX\VXREXX\Projects\Samba\install
    77VRXWindow: __VREMainWindow,1,1987,5059,891,7263
    8 VRXWindow: __VRESectionListWindow,1,2819,12671,8974,4890
    9 VRXWindow: __VREToolsWindow,1,2674,4481,6483,1659
     8VRXWindow: __VRESectionListWindow,1,2048,9877,8974,4890
     9VRXWindow: __VREToolsWindow,1,2674,4481,6480,1665
    1010VRXWindow: __VREWindListWindow,1,193,14406,2650,3150
    1111UserFile: 1
    1212UserWindow: Main,1
    13 UserWindow: GB_Global_1,1
    14 UserWindow: Installer,1
    15 UserWindow: RemoveConfig,1
  • branches/guitools-1.0/install/sscc.vrx

    r490 r569  
    320320    CALL NLVSetText 'PB_Reload',        'Caption',   11
    321321    CALL NLVSetText 'PB_Reload',        'Hinttext', 111
    322     CALL NLVSetText 'PB_Create',        'Caption',   12
    323     CALL NLVSetText 'PB_Create',        'Hinttext', 112
     322    CALL NLVSetText 'PB_Save',        'Caption',   12
     323    CALL NLVSetText 'PB_Save',        'Hinttext', 112
    324324    CALL NLVSetText 'PB_Undo',          'Caption',    9
    325325    CALL NLVSetText 'PB_Undo',          'Hinttext', 109
     
    938938    ValueChanged = 1
    939939    if pos(VRGet(VRInfo("OBject"),"Name"), ChangeList) = 0 then Changelist = ChangeList' 'VRGet(VRInfo("OBject"),"Name")
    940     ok = VRSet("PB_Create", "Enabled", 1)
     940    ok = VRSet("PB_Save", "Enabled", 1)
    941941    say "  ValueChanged = "ValueChanged
    942942    say Changelist
     
    988988    do until lines(src) = 0
    989989        smbline = linein(src)
     990        if pos("idmap uid",smbline) > 0 then iterate
     991        if pos("idmap gid",smbline) > 0 then iterate
    990992        if pos("winbind separator",smbline) > 0 then iterate
     993        if pos("copy ",smbline) > 0 then iterate
    991994        call lineout trg, smbline
    992995        lct = lct + 1
     
    23422345    MButton.bTop   = VRGet("GB_SmbConfTree","height")+FWidth*2
    23432346    MButton.bLeft  = VRGet("GB_Shares","Left")
    2344     MButton.bWidth = VRGet("PB_Create","Width")
     2347    MButton.bWidth = VRGet("PB_Save","Width")
    23452348
    23462349    if MButton.bTop < 1300 & MButton.bLeft < 1300 then do
     
    23552358    ok = VRSet("PB_Reload", "Width",  MButton.bWidth)
    23562359
    2357     ok = VRSet("PB_Create", "Top",    MButton.bTop)
    2358     ok = VRSet("PB_Create", "Left",   MButton.bLeft+1*FWidth+MButton.bWidth)
     2360    ok = VRSet("PB_Save", "Top",    MButton.bTop)
     2361    ok = VRSet("PB_Save", "Left",   MButton.bLeft+1*FWidth+MButton.bWidth)
    23592362    ok = VRSet("PB_Reload", "Width",  MButton.bWidth)
    23602363
     
    25742577Menu_Options_SimpleMode_Click:
    25752578    say 'SimpleMode_Click started'
     2579
     2580    /* Workaround for testparm bugs */
     2581    say 'VRCopyFile('smbconf', 'TempDir'smb.conf )'
     2582    ok = VRCopyFile( smbconf, TempDir'smb.conf')
     2583    call _SmbConfCommitChanges
     2584
    25762585    say samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
    25772586    address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
     
    27172726*/
    27182727PB_Cancel_Click:
    2719     call PB_Create_Click
     2728    call PB_Save_Click
    27202729    call Quit
    2721 return
    2722 
    2723 /*:VRX         PB_Create_Click
    2724 */
    2725 PB_Create_Click:
    2726     if ValueChanged then do
    2727         if CurSection <> "" then do
    2728             call _SaveChanges
    2729             ok = VRSet("PB_Create", "Enabled", 0)
    2730             call CN_smbconf_Click
    2731         end
    2732     end
    27332730return
    27342731
     
    28152812*/
    28162813PB_Reload_Click:
    2817     call PB_Create_Click   
     2814    call PB_Save_Click   
    28182815    call beep 960, 1
    28192816    address CMD samba.!smbcmd' reload'
     
    28492846return
    28502847
     2848/*:VRX         PB_Save_Click
     2849*/
     2850PB_Save_Click:
     2851    if ValueChanged then do
     2852        if CurSection <> "" then do
     2853            call _SaveChanges
     2854            ok = VRSet("PB_Save", "Enabled", 0)
     2855            call CN_smbconf_Click
     2856        end
     2857    end
     2858return
     2859
    28512860/*:VRX         PB_Undo_Click
    28522861*/
     
    29082917       VRGet("Main","WindowState") = "Minimized" then ok = VRMethod("Main", "Restore")
    29092918
    2910 /*  if samba.!testparmexe <> "" then do
     2919    if samba.!testparmexe <> "" then do
    29112920        address cmd samba.!testparmexe' -s 1>'TempDir'smb.conf 2>'TempDir'sscc.testparm'
    29122921        call _SmbConfCommitChanges
    2913     end */
     2922    end
    29142923
    29152924    call _INIWrite
     
    30033012    say "TM_Value_Trigger started"
    30043013    ValueChanged = 0
    3005     ok = VRSet("PB_Create", "Enabled", 0)
     3014    ok = VRSet("PB_Save", "Enabled", 0)
    30063015    ChangeList = ""
    30073016    ok = VRSet("TM_Value", "Enabled", 0)
Note: See TracChangeset for help on using the changeset viewer.