[Samba] Why I can not login my shared folder under samba + CentOS 7

truename dch12 at yeah.net
Thu Dec 1 15:17:46 UTC 2016


Hi,

I install samba by:

sudo yum install samba.x86_64

I edit /etc/samba/smb.conf by adding follows:

[data]
    comment = data
    path = /home/myname/data
    valid users = test1
    write list = test1
    create mask = 0754
    sync always = Yes
;    hide dot files = yes
;    writeable = no
;    browseable = yes

Then take effect my config:

service smb restart

I create shared folder:

cd ~
mkdir data

I create user:

useradd test1
smbpasswd -a test1
<then password>


Then I open my file manager and input:

smb://127.0.0.1

A login form popup, I enter username: test1 and the password, the login form returns again, I found I can not enter the shared folder by that account.

Thanks


More information about the samba mailing list