差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
samba [2023/06/11 00:57]
jz
samba [2023/06/11 00:58] (目前版本)
jz
行 58: 行 58:
 ====== mount ====== ====== mount ======
 <​code>​ <​code>​
-sudo mount -t cifs -o username=${USER},​password=${PASSWORD},​uid=$(id -u),​gid=$(id -g) //​server-address/​folder /​mount/​path/​on/​ubuntu +sudo mount -t cifs -o vers=3.0,username=${USER},​password=${PASSWORD},​uid=$(id -u),​gid=$(id -g) //​server-address/​folder /​mount/​path/​on/​ubuntu 
-sudo mount -t cifs -o username=${USER},​password=${PASSWORD},​uid=$(id -u),​gid=$(id -g),​forceuid,​forcegid,​ //​server-address/​folder /​mount/​path/​on/​ubuntu+sudo mount -t cifs -o vers=3.0,username=${USER},​password=${PASSWORD},​uid=$(id -u),​gid=$(id -g),​forceuid,​forcegid,​ //​server-address/​folder /​mount/​path/​on/​ubuntu
 </​code>​ </​code>​
 +
 +====== List shares ======
 +<​code>​
 +smbclient -L ip_of_net_interface -U your_user_name
 +</​code>​
 +