Changeset 665
- Timestamp:
- Nov 19, 2011, 5:05:03 PM (14 years ago)
- Location:
- trunk/guitools
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/evfsgui/changes
r661 r665 16 16 17 17 Version 2.5.x 2011-??-?? 18 + Added: Error handler for missing REXX DLLs 19 + Added: Identify user using RPC library 18 20 + Added: Icon on login window depends upon connection type 19 21 + Added: Allow removing stored credentials from memory … … 30 32 + Added: Find domain master browser 31 33 + Added: Find local master browser 32 + Added: Enhanced info box (MAC, IP-Address, server role )34 + Added: Enhanced info box (MAC, IP-Address, server role, capabilities) 33 35 + Added: Optionally add TRAC Wiki markup to "About"-data for clipboard 34 36 * Changed: Use Rich Walsh's look4dll.exe to find the used ndpsmb.dll … … 37 39 convert global settings and advanced connection options 38 40 from windows into notebook pages 41 ! Fixed: Do not add a *-"server" to the networkneighbourhood if a workgroup 42 was mounted. 39 43 ! Fixed: Extended Help menu item was broken 40 44 ! Fixed: Refreshing a single machine added shares 2x for automatically -
trunk/guitools/evfsgui/evfsgui.vrp
r661 r665 12 12 VRXWindow: __VRESectionListWindow,1,3903,10744,8082,4505 13 13 VRXWindow: __VREToolsWindow,0,2987,8528,6486,1669 14 VRXWindow: __VREWindListWindow,1, 193,10841,3686,315014 VRXWindow: __VREWindListWindow,1,723,11708,3686,3150 15 15 UserFile: 1 16 16 UserWindow: Main,1 17 17 UserWindow: SW_LOGIN,1 18 UserWindow: SW_MOUNTPOINT,1 -
trunk/guitools/evfsgui/evfsgui.vrx
r662 r665 1096 1096 */ 1097 1097 _LoadOtherFuncs: 1098 SIGNAL ON SYNTAX NAME DLLMissing 1099 1098 1100 call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs' 1099 1101 call SysLoadFuncs … … 1105 1107 call PRLoadFuncs 1106 1108 1107 call RxFuncAdd 'RxuInit', 'Rxu','RxuInit'1109 call RxFuncAdd 'RxuInit', 'RXU', 'RxuInit' 1108 1110 call RxuInit 1109 return 1111 1112 SIGNAL OFF SYNTAX 1113 return 1114 1115 DLLMissing: 1116 Fatal = 1 1117 call VRMessage 'Main', 'REXX function library 'strip(translate(word(sourceline(SIGL-1),4),' ',"',"))'.DLL is missing!', "EVFSGUI fatal error", "E" 1118 signal Quit 1110 1119 1111 1120 /*:VRX _ParseCommandLine … … 2215 2224 end 2216 2225 2226 /* do nothing if a workgroup was mounted */ 2227 if VRGet("EF_SERVER","value") = "*" then return 2228 2217 2229 machine = VRGet("EF_SERVER","value") 2218 2230 rh = _GetMachineHandle(machine) … … 3727 3739 credentials.!entered = 1 3728 3740 3729 ok = _rpcqueryuser(p_server, VRGet("EF_USER1","Value"), VRGet("EF_PASSWORD1","Value"), VRGet("EF_USER1","Value"))3730 3731 LogonRetVal = word(ok,1) 3732 3733 if LogonRetVal = "1" then do3734 Msg.Type ="I"3735 ok = VRSet("DT_STATUSBAR","Caption", "Welcome "rpc.queryuser.FULL_NAME"!")3736 end3737 else do3738 Msg.Type ="E"3739 CALL VRMessage 'Main', Credentials.!username" at "p_server": "rpc.queryuser.LOGONSTATUS, "Login failure", Msg.Type3741 if p_server <> "" then do 3742 ok = _rpcqueryuser(p_server, VRGet("EF_USER1","Value"), VRGet("EF_PASSWORD1","Value"), VRGet("EF_USER1","Value")) 3743 3744 if word(ok,1) = "1" then do 3745 ok = VRSet("DT_STATUSBAR","Caption", NLVGetMessage(107, rpc.queryuser.FULL_NAME)) 3746 say 'rpc.queryuser.DIR_DRIVE = "'rpc.queryuser.DIR_DRIVE'"' 3747 say 'rpc.queryuser.LOGON_SCRIPT = "'rpc.queryuser.LOGON_SCRIPT'"' 3748 end 3749 else do 3750 CALL VRMessage 'Main', VRGet("EF_USER1","Value")" \\"p_server": "rpc.queryuser.LOGONSTATUS, NLVGetMessage(5), "E" 3751 end 3740 3752 end 3741 3753 … … 4474 4486 end 4475 4487 4476 Info.!comment= VRMethod( "CN_INFO", "AddRecord") 4477 Info.!domain = VRMethod( "CN_INFO", "AddRecord") 4478 Info.!DMBLMB = VRMethod( "CN_INFO", "AddRecord") 4479 Info.!os = VRMethod( "CN_INFO", "AddRecord") 4480 Info.!server = VRMethod( "CN_INFO", "AddRecord") 4481 Info.!status = VRMethod( "CN_INFO", "AddRecord") 4482 Info.!IP = VRMethod( "CN_INFO", "AddRecord") 4483 Info.!MAC = VRMethod( "CN_INFO", "AddRecord") 4484 4485 4486 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!domain, Info.TypeFH, strip(NLVGetMessage(21),'T',':'),Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, WorkGroupFH )) 4487 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!os, Info.TypeFH, strip(NLVGetMessage(93),'T',':'),Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, OSFH )) 4488 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!server, Info.TypeFH, strip(NLVGetMessage(19),'T',':'),Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, VersionFH )) 4488 ok = _rpcsrvinfo(SMBObj.resname,credentials.!username,credentials.!password) 4489 4490 Info.!nbname = VRMethod( "CN_INFO", "AddRecord") 4491 Info.!comment = VRMethod( "CN_INFO", "AddRecord") 4492 Info.!domain = VRMethod( "CN_INFO", "AddRecord") 4493 Info.!DMBLMB = VRMethod( "CN_INFO", "AddRecord") 4494 Info.!capabilities = VRMethod( "CN_INFO", "AddRecord") 4495 Info.!os = VRMethod( "CN_INFO", "AddRecord") 4496 Info.!server = VRMethod( "CN_INFO", "AddRecord") 4497 Info.!version = VRMethod( "CN_INFO", "AddRecord") 4498 Info.!status = VRMethod( "CN_INFO", "AddRecord") 4499 Info.!IP = VRMethod( "CN_INFO", "AddRecord") 4500 Info.!MAC = VRMethod( "CN_INFO", "AddRecord") 4501 4502 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!nbname, Info.TypeFH, strip(NLVGetMessage(137),'T',':'),Info.ValueFH, rpc.srvinfo.NETBIOSNAME) 4503 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!comment,Info.TypeFH, strip(NLVGetMessage(125),'T',':'),Info.ValueFH, rpc.srvinfo.SERVERSTRING) 4504 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!domain, Info.TypeFH, strip(NLVGetMessage(21), 'T',':'),Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, WorkGroupFH )) 4505 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!os, Info.TypeFH, strip(NLVGetMessage(93), 'T',':'),Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, OSFH )) 4506 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!server, Info.TypeFH, strip(NLVGetMessage(19), 'T',':'),Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, VersionFH )) 4507 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!version,Info.TypeFH, strip(NLVGetMessage(139),'T',':'),Info.ValueFH, rpc.srvinfo.OS_VERSION) 4508 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!capabilities, Info.TypeFH, strip(NLVGetMessage(138),'T',':'),Info.ValueFH, rpc.srvinfo.CAPABILITIES) 4489 4509 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!DMBLMB, Info.TypeFH, strip(NLVGetMessage(124),'T',':'),Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, MBFH )) 4490 4510 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!IP, Info.TypeFH, "IP" ,Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, IPFH )) 4491 4511 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!MAC, Info.TypeFH, "MAC" ,Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, MacFH )) 4492 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!comment,Info.TypeFH, strip(NLVGetMessage(125),'T',':'),Info.ValueFH, SMBObj.comment) 4493 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!status, Info.TypeFH, strip(NLVGetMessage(67),'T',':'),Info.ValueFH, SMBObj.udatamsg )4512 4513 ok = VRMethod( "CN_INFO", "SetFieldData", Info.!status, Info.TypeFH, strip(NLVGetMessage(67),'T',':'),Info.ValueFH, rpc.srvinfo.LOGONSTATUS ) /* SMBObj.udatamsg */ 4494 4514 IF options.!debug == 1 THEN SAY time()' SW_INFO_Create done' 4495 4515 return -
trunk/guitools/evfsgui/rc/lang/evfsi_de.mkm
r661 r665 106 106 EVG0098I: Einstell~ungen 107 107 EVG0099I: ~Geteilte Anzeige 108 ; Fatal error messages108 ; Messages 109 109 EVG0100I: Konnte EVFSCALL.DLL nicht laden - Fortsetzung nicht mglich. 110 110 EVG0101I: EVFS Steuerprogramm ist nicht gestartet - Fortsetzung nicht mglich. … … 114 114 EVG0105I: Keine SMB Anschlsse installiert. 115 115 EVG0106I: Der Anschluss ist installiert und konfiguriert, wird aber nicht benutzt. 116 EVG0107 ?:116 EVG0107I: Willkommen %1! 117 117 EVG0108?: 118 118 EVG0109?: … … 146 146 EVG0135I: Anmeldeinformationen speichern 147 147 EVG0136I: Anmelden bei 148 EVG0137I: NetBIOS Name 149 EVG0138I: Fhigkeiten 150 EVG0139I: Version -
trunk/guitools/evfsgui/rc/lang/evfsi_en.mkm
r661 r665 106 106 EVG0098I: ~Settings 107 107 EVG0099I: S~plit view 108 ; Fatal error messages108 ; Messages 109 109 EVG0100I: Failed to load EVFSCALL.DLL - cannot continue. 110 110 EVG0101I: EVFS Control Program is not running - cannot continue. … … 114 114 EVG0105I: No SMB ports installed. 115 115 EVG0106I: Port is installked an configured, but not used by any printer. 116 EVG0107 ?:116 EVG0107I: Welcome %1! 117 117 EVG0108?: 118 118 EVG0109?: … … 146 146 EVG0135I: Store credentials until next reboot 147 147 EVG0136I: Login 148 EVG0137I: NetBIOS name 149 EVG0138I: Capabilities 150 EVG0139I: Version -
trunk/guitools/evfsgui/rc/lang/evfsi_fr.mkm
r661 r665 111 111 EVG0098?: ~Paramtres 112 112 EVG0099?: Vue ~scinde 113 ; Fatal error messages113 ; Messages 114 114 EVG0100I: chec au chargement de EVFSCALL.DLL - poursuite impossible. 115 115 EVG0101I: Le programme de contrle de EVFS n'est pas en cours d'excution - poursuite impossible. … … 120 120 EVG0105I: Aucun port SMB install. 121 121 EVG0106I: La connexion est install mais pas utilis. 122 EVG0107 ?:122 EVG0107I: Bienvenue %1! 123 123 EVG0108?: 124 124 EVG0109?: … … 152 152 EVG0135I: Rfrences magasin jusqu'au prochain redmarrage 153 153 EVG0136I: Connexion 154 EVG0137I: Nom NetBIOS 155 EVG0138I: Competnces 156 EVG0139I: Version -
trunk/guitools/evfsgui/rc/lang/evfsi_it.mkm
r661 r665 110 110 EVG0098?: 111 111 EVG0099?: 112 ; Fatal error messages112 ; Messages 113 113 EVG0100I: Impossibile caricare EVFSCALL.DLL - impossibile continuare 114 114 EVG0101I: Il programma di controllo di EVFS non in esecuzione - impossibile continuare … … 118 118 EVG0105I: Porte SMB non installato. 119 119 EVG0106I: La connessione installata ma non utilizzata. 120 EVG0107 ?:120 EVG0107I: Benvenuto %1! 121 121 EVG0108?: 122 122 EVG0109?: … … 150 150 EVG0135I: Credenziali di memorizzare fino al riavvio successivo 151 151 EVG0136I: Accesso 152 EVG0137I: Nome NetBIOS 153 EVG0138I: Abilit 154 155 EVG0139I: Versione -
trunk/guitools/shared/rxrpclib.vrs
r662 r665 9 9 /* _rpcquerygroupmem(server,username,password,grouprid) */ 10 10 /* _rpcqueryuser(server,username,password,userrid) */ 11 /* _rpcsrvinfo(server,username,password) */ 11 12 12 13 /*:VRX _rpcenumdomgroups … … 126 127 password = arg(3) 127 128 128 say ' 'samba.!rpcclientexe' 'server' --user='username'%'password' --command="enumprinters" 'debuglevel' ' 129 address cmd samba.!rpcclientexe' 'server' --user='username'%'password' --command="enumprinters" 'debuglevel' >'samba.!msg 129 usercred = '--user='username'%'password 130 131 say ' 'samba.!rpcclientexe' 'server' 'usercred' --command="enumprinters" 'debuglevel' ' 132 address cmd samba.!rpcclientexe' 'server' 'usercred' --command="enumprinters" 'debuglevel' >'samba.!msg 130 133 131 134 rpc.enumprinters. = "" … … 381 384 password = arg(3) 382 385 383 say ' 'samba.!rpcclientexe' 'server' --user='username'%'password' --command="srvinfo" 'debuglevel' ' 384 address cmd samba.!rpcclientexe' 'server' --user='username'%'password' --command="srvinfo" 'debuglevel' >'samba.!msg 386 usercred = '--user='username'%'password 387 if UserCred = 'USERCRED' | UserCred = '' | UserCred = '--user=%' then UserCred = '-N' 388 389 say ' 'samba.!rpcclientexe' 'server' 'usercred' --command="srvinfo" 'debuglevel' >'samba.!msg 390 address cmd samba.!rpcclientexe' 'server' 'usercred' --command="srvinfo" 'debuglevel' >'samba.!msg 385 391 386 392 rpc.srvinfo. = "" … … 432 438 rpc.srvinfo.LOGONSTATUS=substr(rpcline,pos("NT_STATUS",rpcline),) 433 439 end 440 say ' rpc.srvinfo.LOGONSTATUS = "'rpc.srvinfo.LOGONSTATUS'"' 434 441 IF options.!debug == 1 THEN SAY time()" _rpcsrvinfo() done, "retval 435 442 return retval
Note:
See TracChangeset
for help on using the changeset viewer.