-
Notifications
You must be signed in to change notification settings - Fork 6
/
README-AROS
62 lines (39 loc) · 1.87 KB
/
README-AROS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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:
- filesysbox.library 54.3 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,READONLY/S,NOPASSWORDREQ/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>).
READONLY sets the filesystem to read only mode.
NOPASSWORDREQ stops a password requester from being opened if no password is
specified.
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.