OS4 DepotLogo by Liksmaskaren 
(anonymous IP: 10.2.205.71,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (204)
   o Development (607)
   o Document (24)
   o Driver (98)
   o Emulation (150)
   o Game (1023)
   o Graphics (509)
   o Library (119)
   o Network (237)
   o Office (67)
   o Utility (935)
   o Video (70)

Total files: 4437

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Network » Samba » smb2fs.lha

Smb2FS

Description: Filesystem for accessing files using SMB2/3
Download: smb2fs.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 163kb
Version: 53.10
Date: 20 Jun 25
Author: Fredrik Wikstrom
Submitter: Samir Hawamdeh
Homepage: https://github.com/salass00/smb2fs
Category: network/samba
Replaces: network/samba/smb2fs.lha
License: Other
Distribute: yes
Min OS Version: 4.1
FileID: 13407
 
Comments: 1
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
smb2-handler is a filesystem for accessing files remotely using the SMB2/3
protocols. The protocol implementation is based on the currently latest git
version of libsmb2 (https://github.com/sahlberg/libsmb2).

Requirements:

- newlib.library V53.40 or newer (or V53.30 as included in 4.1 FE).

- filesysbox.library 54.4 or newer.

Usage:

Create a DOSDriver with the contents:
Handler   = L:smb2-handler
StackSize = 65536
Priority  = 5
GlobVec   = -1
Startup   = "<args>"

Where <args> should follow the template:

URL/A,USER,PASSWORD,VOLUME,DOMAIN/K,READONLY/S,NOPASSWORDREQ/S,NOHANDLESRCV/S,
RECONNECTREQ/S

URL is the address of the samba share in the format:
smb://[<domain;][<username>[:<password>]()]<host>[:<port>]/<share>/<path>

USER and PASSWORD arguments if used override the username and password (if any)
specified in the URL argument.

VOLUME is the AmigaDOS volume name (if not specified it defaults to
<server>-<share>).

DOMAIN can be used to set the domain name (setting this via the URL argument
does not work ATM as c:mount treats anything after a semi-colon as a comment,
even if it's between double-quotes).

READONLY sets the filesystem to read only mode.

NOPASSWORDREQ stops a password requester from being opened if no password is
specified.

NOHANDLESRCV/S disables the automatic recovery of filehandles after a connection
fault is resolved. This should not be needed, but the SMB server might still
cause lock issue, reported by "..busy" "..in use" errors on Workbench. 
This can't be solved within this handler, unless libsmb2 supports durable
handles.

RECONNECTREQ/S requests the user if a reconnection should be attempted. 
This is part of an initial implementation of connection fault handling and might
not be needed, as the final implementation relies on OS "No disk - retry"
mechanism. Still, if you have issues, you might try this option. Depending on
user feedback this option will be removed in future releases.

To connect to the share myshare on server mypc using username "myuser" and
password "password123" use:

Startup = "smb://myuser:password123()mypc/myshare"

If the user name or password contains reserved characters (: ; ()) the USER and
PASSWORD arguments can be used instead:

Startup = "smb://mypc/myshare USER=myuser PASSWORD=password123"

If you prefer not to store the password as plain text, you can also use its NTLM
hash with the following syntax:

Startup = "smb://mypc/myshare USER=myuser PASSWORD=ntlm:HASHABCDEF"

To connect to the same share using a guest account you can use:

Startup = "smb://mypc/myshare NOPASSWORDREQ"

To give the mounted share a custom name the VOLUME argument can be used:

Startup = "smb://mypc/myshare VOLUME=MyShare"

If you want the handler to be started immediately on mount, rather than on the
first access, then make sure that ACTIVATE=1 is set in either in the icon
tooltypes or in the DOSDriver file itself.



Copyright (c) 2004-2025 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment