samba

Section: (pj)
Updated: 2021-10-19
Index Return to Main Contents
 

Show the CIFS shares available on a remote server:

smbclient -L //freenas -U paul  

Browse a remote CIFS share (sort of like ftp or ssh):

smbclient //freenas/nas -U paul  

Mount a remote CIFS share:

sudo apt-get install cifs-utils smbfs mount -t cifs //freenas/nas /mnt/freenas -o username=paul,password=foo,iocharset=utf8,rw,sec=ntlm,uid=paul,gid=paul,forceuid=paul,forcegid=paul  

or with a credentials file:

mount -t cifs //freenas/nas /mnt/freenas -o credentials=/home/paul/.smbcredentials,iocharset=utf8,rw,sec=ntlm,uid=paul,gid=paul,forceuid=paul,forcegid=paul  

AUTHORS

Paul A. Jungwirth.


 

Index

Show the CIFS shares available on a remote server:
Browse a remote CIFS share (sort of like ftp or ssh):
Mount a remote CIFS share:
or with a credentials file:
AUTHORS

This document was created by man2html, using the manual pages.
Time: 02:09:34 GMT, November 21, 2024