Changeset 660 for trunk/guitools/shared


Ignore:
Timestamp:
Nov 10, 2011, 9:32:23 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: EVFSGUI 2.5.x: Support WINS, store credentials

Location:
trunk/guitools/shared
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/shared/cltinit.vrs

    r638 r660  
    124124    IF options.!debug == 1 THEN say '  Samba smb.conf = "'samba.!smbconf'"'
    125125
     126    /* complete shadow copy of smb.conf in temporary directory - should always be created on the fly */
     127    /* before reading from it */
     128    samba.!shadowsmbconf = TempDir||'smb.conf'
     129
     130    /* lmhosts */
     131    samba.!lmhosts = ETC'\samba\lmhosts'
     132    if \VRFileExists(samba.!lmhosts) then call _ErrorDataFileNotFound samba.!lmhosts' is not present.'
     133    IF options.!debug == 1 THEN say '  Samba lmhosts  = "'samba.!lmhosts'"'
     134
     135    /* FIXME: Needs to be changed for Samba 3.3+ */
    126136    /* upcase table files - several utilities need these */
    127137    if (\VRFileExists(samba.!bin'\lib\upcase.dat')) |,
  • trunk/guitools/shared/smbtree.vrs

    r643 r660  
    172172        ok = VRSet("TM_RefreshTreeDisplay","Delay", 1000)
    173173        ok = VRSet("CN_smbtree","Enabled", 1)
     174        if DoLMHosts = 1 then do
     175            call _LMHostsRead
     176            call _LMHostsUpdate
     177        end
    174178        ok = VRSet("CN_smbtree", "Painting", 0 )
    175179        ok = VRSet("CN_smbtree", "Painting", 1 )
     
    510514return IPStr'|'MAC'|'Roles
    511515
     516
     517
    512518/*:VRX         file2stem
    513519*/
     
    515521    msgfile = arg(1)
    516522    msgstem = arg(2)
     523    delmsgfile = translate(arg(3))
    517524    if right(msgstem,1) <> '.' then msgstem = msgstem'.'
    518525    say '  file2stem("'msgfile'","'msgstem'")'
     
    533540    interpret dyn
    534541    ok = stream(msgfile,'c','close')
    535     ok = SysFileDelete(msgfile)
     542    if delMsgFile <> "NODEL" then ok = SysFileDelete(msgfile)
    536543    drop msgfile msgstem
    537544return stemcount
Note: See TracChangeset for help on using the changeset viewer.