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