Client Debian
, mpizara Windows 2019
.
Na dia nivaha aza ny DNS ok, nanampy aho eagleeye amin'ny / etc / host, nanova ihany koa /etc/samba.smb.conf nanampy hoe:
client min protocol = SMB2
client max protocol = SMB3
Azoko jerena amin'ny smbclient:
#> smbclient -V
Version 4.2.14-Debian
#> smbclient -L eagleeye -Uuuu%ppp -Wdom
Domain=[DOM] OS=[] Server=[]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
IPC$ IPC Remote IPC
...
Repo Disk
#> smbclient //eagleeye/repo -Uusername%admin -Wdom
Domain=[DOM] OS=[] Server=[]
smb: \> ls
. D 0 Thu Aug 1 17:56:27 2019
.. D 0 Thu Aug 1 17:56:27 2019
Autodiscover D 0 Fri Apr 20 13:30:00 2018
gitupdate D 0 Tue Aug 6 22:45:33 2019
SharedModules D 0 Tue Aug 6 22:47:17 2019
...
...
26085631 blocks of size 4096. 8936156 blocks available
smb: \>
anefa, I tsy afaka mizara toy ny
mount -t cifs //eagleeye/repo ~/share
mount: wrong fs type, bad option, bad superblock on //eagleeye/repo,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so.
#> lsmod | grep cifs
cifs 546304 0
dns_resolver 12641 1 cifs
fscache 45304 2 nfs,cifs
# adding vers=2.0
#> mount -t cifs -o vers=2.0 //eagleeye/repo ~/share
mount: wrong fs type, bad option, bad superblock on //eagleeye/repo,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so.
#> dmesg | tail -n10
...
[226622.680227] Key type dns_resolver registered
[226622.733361] FS-Cache: Netfs 'cifs' registered for caching
[226622.781716] Key type cifs.spnego registered
[226622.828384] Key type cifs.idmap registered
[226622.872472] Unable to determine destination address.
ડેબિયન વિશે ડનનો, પરંતુ સેન્ટોસ પર Mount.cifs
એ મૂળભૂત રીતે એસએમબી 1 નો ઉપયોગ કરે છે, તેથી તમારે એસએમબી 2/3 ને દબાણ કરવા માટે વિરુદ્ધ
વિકલ્પનો ઉપયોગ કરવો જ જોઇએ: [१२3333] માઉન્ટ-ટી સીઆઇએફએસ-વિ વર્સેટ = 2.0 // ઇગલી / રેપો ~ / શેર
સેન્ટોએસ પરના અન્ય સંભવિત મૂલ્યો: 2.1
, 3.0
.