04 September 2019

Masalah mount windows share folder

semak senarai share folder windows dari linux

smbclient -L  -U  -d 256


ubuntu 16 default guna protokol smb 1

Manakala window tak support smb1, sebaliknya smb2.1 dan 3.

Maka tambah -m utk specify protokol

smbclient -L  -U  -d 256 -m smb2

Utk mount tambah vers=3 pada parameter -o

sudo mount -o vers=3.0,username=,uid=,gid=,forceuid,forcegid, //IP_Address/share_name /mnt/path/




Domain(Active Directory) user:
smbclient -L  -U _user_  -W _domain_name_ -d 256 -m smb2
sudo mount -o vers=3.0,username=_user_,domain=_domain_ //IP_Address/share_name /mnt/path/


Interactively:
smbclient //10.108.242.242/FSC -U _user_ -W _domain_



No comments:

Post a Comment

Terima kasih