1 | #include <nversion.h>
|
---|
2 | Samba Client Plugin for <$OS>
|
---|
3 | Version <$NDPSMB_VERSION>
|
---|
4 | Build <$NDPSMB_BUILD>
|
---|
5 | __________________________________
|
---|
6 |
|
---|
7 | CONTENTS
|
---|
8 | ________
|
---|
9 |
|
---|
10 | 1. Introduction
|
---|
11 | 2. License
|
---|
12 | 3. Installation
|
---|
13 | 3.1 <$ND>
|
---|
14 | 3.2 EVFS
|
---|
15 | 4. NDPSMB.DLL usage
|
---|
16 | 4.1 <$ND>
|
---|
17 | 4.2 EVFS
|
---|
18 | 5. Debugging
|
---|
19 | 6. Changelog
|
---|
20 |
|
---|
21 |
|
---|
22 | 1. Introduction
|
---|
23 | _______________
|
---|
24 |
|
---|
25 | Samba is a SMB/CIFS protocols file and print sharing server/client suite
|
---|
26 | originally made for the UNIX world to cooperate with corresponding Windows and
|
---|
27 | <$OS> servers or clients. <$OS> has a native implementation of SMB/CIFS
|
---|
28 | server/client set - IBM LAN Manager and IBM Peer. These products haven't been
|
---|
29 | updated for a long time and have some compatibility problems with modern
|
---|
30 | Windows SMB/CIFS implementations.
|
---|
31 |
|
---|
32 | This package is the <$OS> port of Samba client made as the plugin for
|
---|
33 |
|
---|
34 | - <$ND> for <$OS> - a well known virtual file system for <$OS> or
|
---|
35 | - EVFS - the eComStation Virtual Filesystem for SMB.
|
---|
36 |
|
---|
37 | <$OS> Samba client provides seamless access to SMB/CIFS file shares over
|
---|
38 | your network using TCP/IP as the underlying transport protocol.
|
---|
39 |
|
---|
40 | The <$OS> Samba client consists of one module:
|
---|
41 | ndpsmb.dll - the <$ND>/EVFS plugin itself.
|
---|
42 |
|
---|
43 | Releases prior to version 1.5.0 had a second module which is now deprecated:
|
---|
44 | smbcd.exe - the Samba client daemon, which actually processes the requests
|
---|
45 | from ndpsmb.dll
|
---|
46 |
|
---|
47 | 2. License
|
---|
48 | __________
|
---|
49 |
|
---|
50 | Samba is freely available under the GNU General Public License. You can get
|
---|
51 | the full sourcecode from our SVN repository, please refer to the Samba for
|
---|
52 | <$OS> Homepage for details about downloading the source.
|
---|
53 |
|
---|
54 | The <$ND> plugin is also available with full sourcecode.
|
---|
55 |
|
---|
56 | So if you are using our plugin we kindly ask you to support netlabs.org.
|
---|
57 | Please refer to the Samba for <$OS> Homepage to learn how you can do
|
---|
58 | that!
|
---|
59 |
|
---|
60 |
|
---|
61 | Links:
|
---|
62 |
|
---|
63 | Samba for <$OS> Homepage: http://samba.netlabs.org/
|
---|
64 | <$ND> Homepage: http://www.blueprintsoftwareworks.com/netdrive/
|
---|
65 | Samba Homepage: http://www.samba.org/
|
---|
66 |
|
---|
67 |
|
---|
68 | 3. Installation
|
---|
69 | _______________
|
---|
70 |
|
---|
71 | The plugin needs the klibc runtime named libc06*.dll (the innotek gcc runtime
|
---|
72 | DLL) somewhere in your LIBPATH, if it is not there already (It comes with any
|
---|
73 | recent eComStation release).
|
---|
74 | The plugin needs the 32 bit TCP/IP stack. This stack comes with all eComStation
|
---|
75 | releases. If you have still the 16 bit stack, please search the net for the 32 bit stack.
|
---|
76 |
|
---|
77 | 3.1 <$ND>
|
---|
78 | ____________
|
---|
79 |
|
---|
80 | You must have <$ND> 2.2.1 or newer installed prior to installation of this
|
---|
81 | package. If you want to use 64bit file API, you should install 2.3 or newer
|
---|
82 | version of <$ND>. The installation is semi-automatic and consists of the
|
---|
83 | following:
|
---|
84 |
|
---|
85 | - ndpsmb.dll installation :
|
---|
86 | Run instpl.cmd from this package. It will place all files to the <$ND>
|
---|
87 | plugin directory.
|
---|
88 |
|
---|
89 | 3.2 EVFS
|
---|
90 | ________
|
---|
91 |
|
---|
92 | - ndpsmb.dll installation :
|
---|
93 | Put ndpsmb.dll into x:\ecs\dll (where x: is your bootdrive)
|
---|
94 |
|
---|
95 |
|
---|
96 | 4. NDPSMB.DLL
|
---|
97 | _____________
|
---|
98 |
|
---|
99 |
|
---|
100 | 4.1. Usage with <$ND>
|
---|
101 | ______________________
|
---|
102 |
|
---|
103 | <$ND> Samba plugin is used according to general <$ND> usage rules. Read
|
---|
104 | the <$ND> documentation for more information. The SMB/CIFS resources could
|
---|
105 | be mounted either using command line nd.exe utility or WPS ndpm.exe utility of
|
---|
106 | <$ND>.
|
---|
107 |
|
---|
108 | The <$ND> Samba plugin parameters are:
|
---|
109 |
|
---|
110 | workgroup - the name of workgroup to connect to.
|
---|
111 | server - the name of server to connect to.
|
---|
112 | share - the name of server resource (share) to connect to.
|
---|
113 | user - the name of user to login under.
|
---|
114 | password - the password of selected user.
|
---|
115 | master - the name of 'master' server or workgroup, used to get the list
|
---|
116 | of workgroups when the concrete workgroup and server not
|
---|
117 | specified.
|
---|
118 | masterttype - 0 if 'master' is the name of master server, 1 if 'master' is
|
---|
119 | the name of master workgroup.
|
---|
120 | easupport - 1 to support <$OS> Extended Attributes, 0 to not support it
|
---|
121 | cache timeout - the time in seconds for which the cache is valid. If the time is
|
---|
122 | over the client rereads the directory again. For a directory with
|
---|
123 | many files it may be better to increase the timeout.
|
---|
124 | (rule of thumb: per 500-800 files 10 seconds). Default: 10 seconds
|
---|
125 | cache listings- the amount of directories the cache should hold. Be aware the higher
|
---|
126 | the value the more memory is used. Default: 32 listings
|
---|
127 |
|
---|
128 | To mount the exact server's share one need to specify both 'server' and
|
---|
129 | 'share' parameters, the other parameters are optional. The root path of
|
---|
130 | server's share will be mounted to the mounting path.
|
---|
131 |
|
---|
132 | If one want to access all server shares, then only the 'server', not the 'share'
|
---|
133 | parameter, should be specified,the other parameters are optional. The list of
|
---|
134 | server shares will be mounted to the mounting path.
|
---|
135 |
|
---|
136 | If one want to access all servers within the workgroup, then only the 'workgroup',
|
---|
137 | not the 'server' parameter, should be specified, the other parameters are
|
---|
138 | optional. The list of servers within the specified workgroup will be mounted to
|
---|
139 | the mounting path.
|
---|
140 |
|
---|
141 | If one want to access all available workgroups within one master browser
|
---|
142 | within the network, then only the 'master', not the 'workgroup' nor the 'server' parameter,
|
---|
143 | should be specified, the other parameters are optional. The list of workgroups
|
---|
144 | will be mounted to the mounting path. The 'master' workgroup can be any known
|
---|
145 | workgroup in the net. The 'master' server should be the master browser for
|
---|
146 | workgroup[s].
|
---|
147 |
|
---|
148 | By default the 'guest' user with blank password is used to access selected
|
---|
149 | resources. If you get access denied (5) errors, try to specify another user
|
---|
150 | and password combination.
|
---|
151 |
|
---|
152 | 4.2 Usage with EVFS
|
---|
153 | ___________________
|
---|
154 |
|
---|
155 | eComStation comes with a GUI program named EVFSGUI which is even more feature
|
---|
156 | rich than the <$ND> GUI. Refer to the documentaion that comes with eCS.
|
---|
157 |
|
---|
158 | 5. Debugging
|
---|
159 | ____________
|
---|
160 |
|
---|
161 | To produce a logfile please add an empty file called ndpsmb.dbg into the
|
---|
162 | root drive.
|
---|
163 |
|
---|
164 | The logfile is placed to your LOGFILES env path, if available. If the
|
---|
165 | LOGFILES environment variable is missing, the logfile is placed into the
|
---|
166 | <$ND> directory. The logfile is called log.ndpsmb for the <$ND> part
|
---|
167 | and log.smbc for the Samba part.
|
---|
168 |
|
---|
169 |
|
---|
170 | 6. Changelog
|
---|
171 | ____________
|
---|
172 |
|
---|
173 | v1.0 beta3:
|
---|
174 | - changelog created
|
---|
175 | - fixed a bug with several network interfaces on one system
|
---|
176 | - fixed a bug with broken cmd.exe builtin commands
|
---|
177 | - fixed a bug with wrong dates of new and modified files
|
---|
178 | - fixed a bunch of other bugs which are too small to remember ;)
|
---|
179 | - smbcd.exe compiled against old tcp/ip stack interface
|
---|
180 |
|
---|
181 | v1.0 beta4:
|
---|
182 | - fixed errors on write to eCs shares
|
---|
183 | - more fixes for wrong dates of files
|
---|
184 |
|
---|
185 | v1.0 beta5:
|
---|
186 | - added file locking
|
---|
187 | - added 64bit file IO (when working with NDFS 2.3+)
|
---|
188 | - moved to 3.0.9 samba code
|
---|
189 |
|
---|
190 | v1.0 beta6:
|
---|
191 | - fixed set attribute bug introduced in beta 5
|
---|
192 | - implemented setnewfilesize function. It may work not on all CIFS servers.
|
---|
193 | - added automatic smbcd.exe starting if not started when connecting to CIFS share
|
---|
194 | - added 'logfile' and 'loglevel' options to ndpsmb
|
---|
195 |
|
---|
196 | v1.0 beta7:
|
---|
197 | - moved to libc06b4.dll libc.
|
---|
198 |
|
---|
199 | v1.0 beta8:
|
---|
200 | - moved back to libc custom build.
|
---|
201 | - added EA support
|
---|
202 | - a bunch of bugs fixed
|
---|
203 |
|
---|
204 | v1.0 beta9:
|
---|
205 | - added EA support for DosOpen which was forgotten in beta8
|
---|
206 |
|
---|
207 | v1.0 beta10:
|
---|
208 | - caching of EA size after file find request
|
---|
209 | - moved to libc06b5.dll libc
|
---|
210 |
|
---|
211 | v1.0 beta11:
|
---|
212 | - moved to libc06r1.dll libc
|
---|
213 |
|
---|
214 | v1.0 beta12:
|
---|
215 | - NdpRsrcQueryFSAllocate rewritten
|
---|
216 | - moved to libc06.dll from GA2 release
|
---|
217 |
|
---|
218 | v1.0 beta13, the lucky one:
|
---|
219 | - moved to libc061.dll from CSD1 release
|
---|
220 |
|
---|
221 | v1.0 beta14:
|
---|
222 | - moved to libc custom build
|
---|
223 |
|
---|
224 | v1.0 GA:
|
---|
225 | - changelog was not updated
|
---|
226 |
|
---|
227 | v1.5.0 alpha1:
|
---|
228 | - smbdc.exe was implemented within ndpsmb.dll
|
---|
229 | - a lot of other changes
|
---|
230 |
|
---|
231 | v1.5.0 beta1:
|
---|
232 | - logging feature rewritten
|
---|
233 | - fixed free disk space
|
---|
234 | - added more return codes in the mount part (for evfsgui)
|
---|
235 |
|
---|
236 | v1.5.0 beta2:
|
---|
237 | - update to Samba 3.0.35 client code
|
---|
238 |
|
---|
239 | v1.5.0 beta3:
|
---|
240 | - update to Samba 3.0.36 client code
|
---|
241 | - codepage fix for system running
|
---|
242 | non IBM-850 codepages (Ticket #100)
|
---|
243 |
|
---|
244 | v1.5.0 beta4:
|
---|
245 | - update to Samba 3.0.37 client code
|
---|
246 | - codepage fix for Ticket #68
|
---|
247 |
|
---|
248 | v1.5.0:
|
---|
249 | - Fix memory leak in EA code
|
---|
250 | - Ticket #111
|
---|
251 | - Remove unused MEMLEN, LOGFILE and LOGLEVEL token
|
---|
252 | (Compatibility warning: These tokens must also be removed from older
|
---|
253 | *.ndc *.evp and volumes.cfg files in order to restore connections
|
---|
254 | with the new plugin properly)
|
---|
255 | - added logging feature for samba messages
|
---|
256 |
|
---|
257 | v1.5.1:
|
---|
258 | - Fix crashes on quadcore machines
|
---|
259 |
|
---|
260 | v1.5.2:
|
---|
261 | - Fix help files
|
---|
262 |
|
---|
263 | v1.5.3:
|
---|
264 | - Fix timestamp problem
|
---|
265 |
|
---|
266 | v2.0.0 beta1:
|
---|
267 | - added dir caching
|
---|
268 |
|
---|
269 | v2.0.0 beta2:
|
---|
270 | - read problem of small files fixed
|
---|
271 | - delete cache of changed files
|
---|
272 | - SIGPIPE crash fixed
|
---|
273 |
|
---|
274 | v2.0.0 beta3:
|
---|
275 | - changed instpl.cmd to work correct with nls
|
---|
276 | - added the possibility to adjust cache timeout and depth via GUI
|
---|
277 | - adjustments to helpfile and readme
|
---|
278 |
|
---|
279 | v2.0.0 beta4:
|
---|
280 | - possible SIGPIPE crashes redone (thanks to Vitali)
|
---|
281 | - touch did not delete the cache
|
---|
282 |
|
---|
283 | v2.0.0 GA:
|
---|
284 | - changed wpi package
|
---|
285 |
|
---|
286 | v2.1.0 alpha1:
|
---|
287 | - moved to samba 3.3 source base
|
---|
288 | - new merge of 2.0 code and 1.6 code
|
---|
289 | - enhanced the debug part
|
---|
290 |
|
---|