Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
storage:smb [2017/01/12 16:02] eServices Greece |
storage:smb [2018/01/09 12:28] (current) eServices Greece |
||
---|---|---|---|
Line 23: | Line 23: | ||
<WRAP group> | <WRAP group> | ||
<WRAP half column> | <WRAP half column> | ||
- | {{ : | + | {{ : |
{{ : | {{ : | ||
</ | </ | ||
Line 31: | Line 31: | ||
</ | </ | ||
- | ==== Command Line ==== | + | ==== Disconnect Network Drive ==== |
+ | In order to disconnect your network drive: | ||
+ | * Open a **File Explorer** | ||
+ | * Find the Network Drive in the list and right click on it | ||
+ | * Click on **Disconnect** | ||
+ | {{ : | ||
+ | |||
+ | ===== Command Line ===== | ||
In a console that has administrative permissions: | In a console that has administrative permissions: | ||
- | * mklink /D C: | + | |
+ | ==== Mount as Network Drive ==== | ||
+ | < | ||
+ | This will mount the cloud storage on Drive Letter Q: | ||
+ | |||
+ | ==== Mount under UNC Path ==== | ||
+ | <sxh>mklink /D C: | ||
This will mount the cloud storage in a folder called // | This will mount the cloud storage in a folder called // | ||
+ | |||
+ | ===== Linux ===== | ||
+ | |||
+ | ==== Required Packages ==== | ||
+ | <sxh bash> | ||
+ | yum install samba-client samba-common cifs-utils | ||
+ | </ | ||
+ | |||
+ | ==== fstab ==== | ||
+ | We will assume your user in the system is **myuser** \\ | ||
+ | Add an entry in your fstab like this: | ||
+ | < | ||
+ | |||
+ | === Protecting the Username & Password === | ||
+ | In order to avoid the leaking of username & password you can do the following: | ||
+ | |||
+ | Create the file ~/ | ||
+ | < | ||
+ | |||
+ | Add the following inside the smbcredentials file: | ||
+ | < | ||
+ | password=WMacuuvnnxaKuiwBTrn2</ | ||
+ | |||
+ | Change the permissions of the file to be readable only from your id: | ||
+ | < | ||
+ | |||
+ | Change the fstab entry to be like this: | ||
+ | < | ||