1AFP_CLIENT(3 February 2008) AFP_CLIENT(3 February 2008)
2
3
4
6 afp_client- Mount, unmount and control Apple Filing Protocol (AFP) ses‐
7 sions using the FUSE infrastructure.
8
10 afp_client mount|status|unmount|suspend|resume|exit [options]
11
13 afp_client command allows you to perform some basic functions to access
14 AFP volumes, such as mount, unmount, get status, suspend and resume.
15
16 Do not confuse this with afpcmd; afp_client is to be used only for the
17 FUSE client, in conjunction with afpfsd(1). afpcmd is a batch-mode
18 file transferring client. Both of them use the afpfs-ng libraries.
19
20 afp_mount(1) is normally a symlink to afp_client. It only handles
21 mounting commands with a fully formed AFP URL.
22
23
25 mount The name of the interface. This is usually a driver name fol‐
26 lowed by a unit number, for example eth0 for the first Ethernet
27 interface.
28
29 mount [mount options] node
30 Using the authentication and server information provided with
31 the mount options, mount the remove filesystem on node. For
32 more information, see the "mount options" later in this man
33 page. If you would prefer to use the AFP URL syntax, see
34 mount_afp(1) for more information.
35
36 unmount node
37 Remove the AFP mount that is currently connected to node
38
39 status Show status information of all connected servers. This will
40 provide information on connected servers' IP address, server
41 descriptions (machine type, machine name, signature, login mes‐
42 sage) and available volumes. It also provides statistics and
43 other details. This is crtical for debugging.
44
45 suspend
46 Suspends but does not unmount the current connections to all
47 currently connected server. Currently unsupported.
48
49 resume Resumes all suspended server connections. Currently unsup‐
50 ported. Enable or disable the promiscuous mode of the inter‐
51 face. If selected, all packets on the network will be received
52 by the interface.
53
55 -u, --user <username>
56 Log in using <username>
57
58 -p, --pass <password>
59 If you specify a '-' as the password, you will be prompted for
60 it. This allows you to use a password without having to expose
61 it on the command line.
62
63 -o, --port <portnum>
64 Use TCP portnum instead of the default, 548.
65
66 -V, --volumepassword <volumepassword>
67 Use this if the volume you're accessing uses a volume password
68 (a very weak form of protection as it is transferred as clear
69 text). If you specify a '-' as the password, you will be
70 prompted for it. This allows you to use a password without hav‐
71 ing to expose it on the command line.
72
73 If you specify a '-' as the password, you will be prompted for
74 it. This allows you to use a password without having to expose
75 it on the command line.
76
77 -v, --version <afp version>
78 Specify the AFP version that will be used for a mount. For AFP
79 2.2, use '22', for 3.2, use '32', etc. By default afpfs-ng will
80 choose the highest AFP version shared between the client and
81 server. afpfs-ng supports AFP 2.0 up to 3.2. -a, --uam <uam>
82 Set the authentication method, to one of:
83
84 No User Authent
85
86 Cleartxt Passwrd
87
88 Randnum Exchange
89
90 2-Way Randnum Exchange
91
92 DHCAST128
93
94 Client Krb v2
95
96 DHX2
97
98 If you do not specify a UAM, the most secure one common to both the
99 server and client (afpfs-ng) will be chosen.
100
101 -m, --map <uam>
102 Set the method used to map local to server UID and GIDs. Posi‐
103 ble values are:
104
105 Common user directory This should be used in an environment
106 where the UID and GID of the client and server are expected to
107 match perfectly. An example of this is where there is an NIS or
108 open directory server.
109
110 Login ids Use this when you want all files to appear to be owned
111 by the uid and gid of the userid that you used for your authen‐
112 tication information.
113
114
115 HISTORY
116 afp_client is part of the FUSE implementation of afpfs-ng.
117
118
120 afpfsd(1), mount_afp(1)
121
123 Alex deVries, alexthepuffin@gmail.com
124
125
126
127 afpfs-ng AFP_CLIENT(3 February 2008)