Howto smb » Historie » Version 3
Jeremias Keihsler, 20.04.2023 08:42
1 | 1 | Jeremias Keihsler | h1. Howto smb |
---|---|---|---|
2 | |||
3 | information is taken from: |
||
4 | * https://access.redhat.com/solutions/448263 |
||
5 | * https://www.ibm.com/docs/de/flashsystem-v7000u/1.5.2?topic=system-connecting-using-cifs-from-linux |
||
6 | |||
7 | 2 | Jeremias Keihsler | h2. install cifs-support |
8 | |||
9 | <pre><code ="bash">yum install cifs-utils |
||
10 | </code></pre> |
||
11 | |||
12 | 3 | Jeremias Keihsler | h2. test-connect smb |
13 | 2 | Jeremias Keihsler | |
14 | list available shares for a specific user |
||
15 | |||
16 | <pre><code ="bash">smbclient -L 192.168.2.11 -U validuser |
||
17 | </code></pre> |
||
18 | |||
19 | 3 | Jeremias Keihsler | h2. mount smb-shares |
20 | 1 | Jeremias Keihsler | |
21 | <pre><code ="bash">mount -t cifs -o username=validuser,password='supersecret!',dir_mode=0755,file_mode=0755 //192.168.2.11/backup /mnt/data.bak |
||
22 | </code></pre> |
||
23 | |||
24 | <pre><code ="bash">umount /mnt/data.bak |
||
25 | </code></pre> |