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.

  • You should provide more details than 'i cant connect'. – RalfFriedl Jan 26 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. – devman2002 Jan 26 at 15:12
  • Do you see any hints in the log files? – RalfFriedl Jan 26 at 15:14
  • what are you trying to connect with? another pi? a windows PC? a Mac? a mobile device? – Jaromanda X Jan 27 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" – devman2002 Jan 31 at 20:10
0

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, privacy policy and cookie policy

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