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

truename dch12 at yeah.net
Fri Dec 2 10:07:16 UTC 2016


I configure this as a standalone machine
On 12/02/2016 00:02, Gaiseric Vandal via samba wrote:
Did you configure this as a domain controller or a domain member ?  Or
this just a standalone machine.

From the command line  can you try the following

    smbclient -L \\127.0.0.1  -U test1

or maybe

    smbclient -d3 -L \\127.0.0.1  -U test1


You may also want to try 'MACHINENAME\test1' as the user name.





On 12/01/16 10:17, truename via samba wrote:
> 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



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


More information about the samba mailing list