Howto smb » Historie » Revision 2
Revision 1 (Jeremias Keihsler, 20.04.2023 08:38) → Revision 2/3 (Jeremias Keihsler, 20.04.2023 08:42)
h1. Howto smb
information is taken from:
* https://access.redhat.com/solutions/448263
* https://www.ibm.com/docs/de/flashsystem-v7000u/1.5.2?topic=system-connecting-using-cifs-from-linux
h2. install cifs-support
<pre><code ="bash">yum install cifs-utils
</code></pre>
h1. test-connect smb
list available shares for a specific user
<pre><code ="bash">smbclient -L 192.168.2.11 -U validuser
</code></pre>
h1. mount smb-shares
<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
</code></pre>
<pre><code ="bash">umount /mnt/data.bak
</code></pre>