1 <?xml version=
"1.0" encoding=
"ISO-8859-1"?>
7 This defines two shares:
9 \\192.168.0.5\myshare on /tmp/smb authenticating as WORKGROUP\user
10 \\winbox\music on ${HOME}/music authenticating as mydomain\anotheruser
12 These can be mounted using
17 Mount options are comma-separated. Useful options:
19 hard_remove - immediate removal (don't hide files)
20 umask=M - set file permissions (octal)
21 uid=N - set file owner
22 gid=N - set file group
23 allow_other - allow access to other users
24 allow_root - allow access to root
25 nonempty - allow mount over non-empty directory
31 <credentials id=
"cred1">
32 <domain>WORKGROUP
</domain>
33 <username>user
</username>
34 <password>pass
</password>
37 <credentials id=
"cred2">
38 <domain>mydomain
</domain>
39 <username>anotheruser
</username>
40 <!-- No password element => prompt for password at runtime.
41 <password>secret</password>
45 <mount id=
"home" credentials=
"cred1">
46 <server>192.168.0.5</server>
47 <share>myshare
</share>
48 <mountpoint>/tmp/smb
</mountpoint>
51 <mount id=
"music" credentials=
"cred2">
52 <server>winbox
</server>
55 <!-- You can use ~/xyz or ~user/xyz for the mountpoint. -->
56 <mountpoint>~/music
</mountpoint>
57 <options>allow_root
</options>