Changeset 1055 for trunk/guitools/shared/cltinit.vrs
- Timestamp:
- Jun 12, 2018, 5:01:06 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/shared/cltinit.vrs
r1027 r1055 111 111 end 112 112 113 if samba.!smbclientexe = "" then call _ErrorBinaryNotFound " could not findsmbclient.exe!"113 if samba.!smbclientexe = "" then call _ErrorBinaryNotFound "Could not find \smbclient.exe!" 114 114 115 115 samba.!bin = VRParseFileName(samba.!smbclientexe,'DP') … … 118 118 /* net.exe */ 119 119 samba.!netexe = samba.!bin'\net.exe' 120 if \VRFileExists(samba.!netexe) then call _ErrorBinaryNotFound " could not findnet.exe!"120 if \VRFileExists(samba.!netexe) then call _ErrorBinaryNotFound "Could not find \net.exe!" 121 121 IF options.!debug == 1 THEN say ' net.exe = "'samba.!netexe'"' 122 122 123 123 /* testparm.exe */ 124 124 samba.!testparmexe = samba.!bin'\testparm.exe' 125 if \VRFileExists(samba.!testparmexe) then call _ErrorBinaryNotFound " could not findtestparm.exe!"125 if \VRFileExists(samba.!testparmexe) then call _ErrorBinaryNotFound "Could not find \testparm.exe!" 126 126 IF options.!debug == 1 THEN say ' testparm.exe = "'samba.!testparmexe'"' 127 127 128 128 /* smbtree.exe */ 129 129 samba.!smbtreeexe = samba.!bin'\smbtree.exe' 130 if \VRFileExists(samba.!smbtreeexe) then call _ErrorBinaryNotFound " could not findsmbtree.exe!"130 if \VRFileExists(samba.!smbtreeexe) then call _ErrorBinaryNotFound "Could not find \smbtree.exe!" 131 131 IF options.!debug == 1 THEN say ' smbtree.exe = "'samba.!smbtreeexe'"' 132 132 133 133 /* nmblookup.exe */ 134 134 samba.!nmblookupexe = samba.!bin'\nmblookup.exe' 135 if \VRFileExists(samba.!nmblookupexe) then call _ErrorBinaryNotFound " could not findnmblookup.exe!"135 if \VRFileExists(samba.!nmblookupexe) then call _ErrorBinaryNotFound "Could not find \nmblookup.exe!" 136 136 IF options.!debug == 1 THEN say ' nmblookup.exe = "'samba.!nmblookupexe'"' 137 137 138 138 /* smbspool.exe */ 139 139 samba.!smbspoolexe = samba.!bin'\smbspool.exe' 140 if \VRFileExists(samba.!smbspoolexe) then call _ErrorBinaryNotFound " could not findsmbspool.exe!"140 if \VRFileExists(samba.!smbspoolexe) then call _ErrorBinaryNotFound "Could not find \smbspool.exe!" 141 141 IF options.!debug == 1 THEN say ' smbspool.exe = "'samba.!smbspoolexe'"' 142 142 143 143 /* rpcclient.exe */ 144 144 samba.!rpcclientexe = samba.!bin'\rpcclient.exe' 145 if \VRFileExists(samba.!rpcclientexe) then call _ErrorBinaryNotFound " could not findrpcclient.exe!"145 if \VRFileExists(samba.!rpcclientexe) then call _ErrorBinaryNotFound "Could not find \rpcclient.exe!" 146 146 IF options.!debug == 1 THEN say ' rpcclient.exe = "'samba.!rpcclientexe'"' 147 147 148 148 /* smbcacls.exe */ 149 149 samba.!smbcaclsexe = samba.!bin'\smbcacls.exe' 150 if \VRFileExists(samba.!smbcaclsexe) then call _ErrorBinaryNotFound " could not findsmbcacls.exe!"150 if \VRFileExists(samba.!smbcaclsexe) then call _ErrorBinaryNotFound "Could not find \smbcacls.exe!" 151 151 IF options.!debug == 1 THEN say ' smbcacls.exe = "'samba.!smbcaclsexe'"' 152 152
Note:
See TracChangeset
for help on using the changeset viewer.