Update ConnectingSMBShares.md
This commit is contained in:
1 parent
a1157c31ae
commit
2b252e0151
1 file changed
+1
-2
@@ -128,11 +128,10 @@ This tells autofs to mount the share in a subdirectory of /mnt
|
|||||||
|
|
||||||
In the key file we need to specify the name of the subdirectory, our config options, and thee smb server location
|
In the key file we need to specify the name of the subdirectory, our config options, and thee smb server location
|
||||||
`<server-name> -fstype=cfs,credentials=/home/**username**/.servercreds/<server-name>-creds,uid=<uid>,gid=<gid> :<server-location>`
|
`<server-name> -fstype=cfs,credentials=/home/**username**/.servercreds/<server-name>-creds,uid=<uid>,gid=<gid> :<server-location>`
|
||||||
as with systemd, replace `uid=<uid>,gid=<gid>` with your user and group id respectively.
|
As with systemd, replace `uid=<uid>,gid=<gid>` with your user and group id respectively.
|
||||||
They will probably both be 1000 (so `uid=1000,gid=1000`), but you can check with `id` or `id **username**`
|
They will probably both be 1000 (so `uid=1000,gid=1000`), but you can check with `id` or `id **username**`
|
||||||
If using an IP address, it needs to be put before `:<server-location`: `<ip>:<server-location>`
|
If using an IP address, it needs to be put before `:<server-location`: `<ip>:<server-location>`
|
||||||
|
|
||||||
|
|
||||||
## Direct Mapping
|
## Direct Mapping
|
||||||
Direct mapping requires the user to specify the entire mounting path in the key file
|
Direct mapping requires the user to specify the entire mounting path in the key file
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user