smbconnect 0.1 - SMB2 and SMB3 file system for AmigaOS 3.2
=============================================================
smbconnect mounts a share of a Windows computer, a Samba server or a NAS
as an AmigaDOS device. Workbench, Shell and every program then read and
write its files like those of a local disk.
It speaks the protocol versions SMB 2.0.2, 2.1, 3.0, 3.0.2 and 3.1.1,
which current Windows versions and NAS devices offer after switching
SMB1 off. The command line follows smbfs 1.74 and 2.x; an existing
smbfs line or icon starts smbconnect as well.
Features
--------
- Sign-in with NTLMv2; the password can be given as its NT hash
(PASSWORD=ntlm:..., made by the included tool smbhash).
- Signing (HMAC-SHA256, AES-CMAC, AES-GMAC) and encryption
(AES-128-GCM, AES-128-CCM), implemented in the program itself.
- Reading and writing, drawers, rename, delete, dates; Amiga
protection bits and file comments are kept as extended attributes
on the server.
- Connects again after a loss of the network or server; open files
continue at their position.
- File names beyond Latin-1 are shown as the currency sign (0xA4)
with four hex digits and go back to the server unchanged;
" * < > ? | \ in Amiga names are stored as Samba (catia) and macOS
store them.
- DOSDriver mode: mount with Mount or from DEVS:DOSDrivers at system
start (a template is included).
- PROBE, LIST and DRYRUN check server, sign-in and options.
- Messages in English, German, French and Italian (catalogs).
- smbconnectPrefs: a window that writes the DOSDriver, with a test of
the connection; options beyond 255 characters go into a FROM file.
Speed (WinUAE, 68020 at 14 MHz, cycle-exact, NAS with Samba): reading
3277 KB/s into RAM: (17476 KB/s to NIL:), writing 2383 KB/s; signed
96 KB/s, encrypted 35 KB/s.
Installation
------------
Double-click "Install-smbconnect" (English, Deutsch). It writes
C:smbconnect, C:smbhash, a drawer with the manuals (default
SYS:Utilities/smbconnect), the catalogs in LOCALE:Catalogs and on
request the DOSDriver template SYS:Storage/DOSDrivers/SMB0. The startup
files stay unchanged.
First step in a Shell:
smbconnect PROBE //server/share
Run >NIL: smbconnect USER=name PASSWORD=secret //server/share
The manuals smbconnect.guide (English) and smbconnect_deutsch.guide
describe all options.
Disclaimer
----------
No warranty. No support. Please make sure you backup your data before using smbconnect.
Limitations
-----------
- IPv4; sign-in with NTLMv2 (Kerberos is not supported).
- Files of 2 GB and more are reached up to 2 GB - 1 byte.
- Tested in WinUAE with AmigaOS 3.2 against Samba. A real Amiga with
Roadshow and samba (Linux) servers successfully tested (Pistorm32lite Amikit 12.8.3).
Licence
-------
GPL-2.0-or-later. The sources are included in the drawer Source of the
archive. smbconnect is a new implementation after the specifications
[MS-SMB2] and [MS-NLMP]; it was developed with the help of an AI
assistant (Claude by Anthropic).
Copyright (C) 2026 Virtual Dimension
|