What is the problem of the error in the network path when samba, is mounted with mount in centos7?

using

1. yum-y install samba samba-client samba service is installed in centos7,

2. Then go to / etc/samba/smb.conf to configure, as follows:

[global]        
        workgroup = WORKGROUP
        server string = Samba Server Version %v
        netbios name = MYSERVER
        security = user
        passdb backend = tdbsam

[smbshare]
        path = /root/smbshare  -sharp /root smbshare
        public = yes
        valid user = root
        writeable = yes
        printable = no
        create mask = 0644
        directory mask = 0755

3. Then I install
[root@linuxidc.com ~]-sharp yum-y install cifs-utils

and then I want to mount the file with the network path of / / 10.99.1.X/Digital to / root/smbshare

4. So enter the command

[root@linuxidc.com ~] mount -t cifs //10.99.1.X/Digital  /root/smbshare
Password for root@//10.99.1.X/Digital:*****    -sharp(Linuxroot)

and report an error!
Tip:

mount error(13):Permission denied 
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

how to solve this problem? online practices are not effective

Sep.29,2021

if files are shared between Linux systems, it is recommended to use NFS instead of samba, NFS to configure it more easily.
if you are sharing Windows file sharing, the username and password you need to enter is not native, but an account on the Windows server.


isn't that the problem of password format
Menu