Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
483 views
in Technique[技术] by (71.8m points)

samba - Mount CIFS sharedir local /mnt/share

im trying to mount cifs from my other samba listening dir.

eg: when i smbclient 192.168.1.9 -L pht -D /mnt/share # it prompt dirshare config

Enter WORKGROUPpht's password: 

    Sharename       Type      Comment
    ---------       ----      -------
    print$          Disk      Printer Drivers
    sharedname      Disk      
    IPC$            IPC       IPC Service (Samba 4.9.5-Debian)
    pht             Disk      Home Directories
Reconnecting with SMB1 for workgroup listing.

    Server               Comment
    ---------            -------

    Workgroup            Master
    ---------            -------
    WORKGROUP            ANTIX

after this went with new cifs and got this error, noticed that its been opped with cifs already.

 mount -t cifs //192.168.1.9/sharename/  /mnt/share/ -o username=pht domain=antix

is there any missconfig to mount?

my journal log:

jan 26 13:41:17 n10-Latitude-D520 kernel: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to 
jan 26 13:41:17 n10-Latitude-D520 kernel: CIFS VFS: cifs_mount failed w/return code = -13

lsb_release: Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic

question from:https://stackoverflow.com/questions/65906224/mount-cifs-sharedir-local-mnt-share

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...