0

I want make two Samba share for two users. I use this way but i cant connect to the share. I set password too for pi with "smbpasswd -a ". I enter username as 'pi' and password but it is not connect.

edit:

I followed the steps in the link. But when I try to connect, it returns to the password entry screen again. It is not logging in. I didn't do anything other than that.

5
  • You should provide more details than 'i cant connect'.
    – RalfFriedl
    Commented Jan 26, 2019 at 14:59
  • I followed the steps in the link. But when I try to connect, it returns to the password entry screen again. He's not logging in. I didn't do anything other than that. Commented Jan 26, 2019 at 15:12
  • Do you see any hints in the log files?
    – RalfFriedl
    Commented Jan 26, 2019 at 15:14
  • what are you trying to connect with? another pi? a windows PC? a Mac? a mobile device? Commented Jan 27, 2019 at 0:05
  • Sorry for late response. @JaromandaX: I connect from Ubuntu pc. RalfFriedl I cant see anything in /var/log/samba/ log files. I try with Nautilus but it says "There is file Cannot connect Windows share" Commented Jan 31, 2019 at 20:10

1 Answer 1

1

From your description, it seems you've set up the smbpasswd incorrectly. Enter the command exactly as shown below:

smbpasswd -a pi

You should then be prompted to enter a password for user pi. Type in this password at the prompt, and hit the Enter key.

I would use the same password you currently use to log in to your RPi (contrary to the advice given in the tutorial). Also, sometimes it helps to read another tutorial; you could try this one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.